#yuv — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #yuv, aggregated by home.social.
-
Сегодняшний вечер был посвящён кодированию видео.
1. Конвертируем H264 .mp4 в ,yuv
2. Кодируем .yuv в AV1 .mkv
Итог:
Было - Danmachi_1080p_30s.mp4 - 193.7 MiB
Получил - Danmachi_1080p_30s.yuv - 4.2 GiB
Результат - Danmachi_1080p_30s.mkv - 4.2 MiB
Затрата времени на ролик длиной 30 секунд - 4-5 минут.
Считаю это победой.
#H264 #MP4 #YUV #AV1 #MKV -
is the #multimedia field so small or why can’t you find anything/much about #V4L2 #YUV and related topics?
-
I also tried turning the comparison function around, such that it looks for the furthest colour instead of the closest one, which also resulted in some interesting patterns.
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I also tried turning the comparison function around, such that it looks for the furthest colour instead of the closest one, which also resulted in some interesting patterns.
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I also tried turning the comparison function around, such that it looks for the furthest colour instead of the closest one, which also resulted in some interesting patterns.
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I also tried turning the comparison function around, such that it looks for the furthest colour instead of the closest one, which also resulted in some interesting patterns.
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I also tried turning the comparison function around, such that it looks for the furthest colour instead of the closest one, which also resulted in some interesting patterns.
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
1. Fill the canvas with random colours.
2. Set the first pixel (top left) to red.
3. For all pixels, find the most similar pixel and move it next to the current pixel.To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
(I recommend zooming in!)
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
1. Fill the canvas with random colours.
2. Set the first pixel (top left) to red.
3. For all pixels, find the most similar pixel and move it next to the current pixel.To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
(I recommend zooming in!)
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
1. Fill the canvas with random colours.
2. Set the first pixel (top left) to red.
3. For all pixels, find the most similar pixel and move it next to the current pixel.To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
(I recommend zooming in!)
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
1. Fill the canvas with random colours.
2. Set the first pixel (top left) to red.
3. For all pixels, find the most similar pixel and move it next to the current pixel.To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
(I recommend zooming in!)
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
I was experimenting with colour distances at work today. I need to find out how similar two colours are, so I wrote a little test program and it was surprisingly pretty.
The algorithm is simple:
1. Fill the canvas with random colours.
2. Set the first pixel (top left) to red.
3. For all pixels, find the most similar pixel and move it next to the current pixel.To determine the similarity, I calculated the 3D distance in the RGB, HSV and YUV color spaces, which brought very different results. Now, it's quite possible that my HSV and YUV conversion functions were just broken, but that's okay.
(I recommend zooming in!)
#programming #development #cplusplus #cpp #cpp20 #immediate2d #rgb #hsv #yuv #art #pixelart #rainbow #noise #gamedev #opengl #math #mathematics
-
"What idiot designed this?"
A history of video standards, from its origin to now, as told from a US point of view.