Questions tagged [yuv]

27 questions
6
votes
1 answer

How do I obtain, generate or convert a YUV image file?

I'm trying to obtain an YUV image file. The answers on this question refer only to video files. I have found some YUV images on this page, but it doesn't specify the image depth. Alternatively, how do I convert a .jpg image to YUV?
michael
  • 6,215
2
votes
1 answer

Lossless convertion of a set of png images into an H.264 mp4 video with FFmpeg for future editing

I have an animation rendered as a series of png images, and I want to convert it losslessly into an H.264 mp4 video. The images are in the RGB color space. I tried these options: ffmpeg -framerate 24 -i "animation.%04d.png" -c:v libx264 -preset…
2
votes
1 answer

ffmpeg yuv420p to yuv422p and back

So I have a raw video in yuv420p format - input.yuv, and I know its frame size. I execute 2 commands: ffmpeg -pix_fmt yuv420p -s 352x288 -i input.yuv -pix_fmt yuv422p input_yuv422p.yuv and then ffmpeg -pix_fmt yuv422p -s 352x288 -i…
2
votes
1 answer

Using ffmpeg to decode YBR_FULL_422 DICOM image

I am trying to use ffmpeg to decode an image buffer from a DICOM image using YBR_FULL_422 encoding. According to the…
malat
  • 1,374
1
vote
0 answers

Converting RAW Blackmagic Intensity Card frames

I am trying to convert raw video frames that I have captured using a Blackmagic Design Intensity card. The output frames are of the format: YCbCr 4:2:2 packed 8 Bit UYVY Abekas How can I convert this to a more usable format? My goals are to extract…
1
vote
1 answer

Using ffmpeg to convert mxf to yuv

I am trying to convert mxf file to yuv using ffmpeg. I gave the following command: ffmpeg.exe -i eldorado_really_cutdown.mxf output.yuv But I am getting some errors. This is the output I am getting: ffmpeg version N-63366-gf932e5f Copyright (c)…
Sourabh
  • 133
1
vote
1 answer

How are pixels actually shown on display

I spend a lot of time looking at raw-video in YCbCr-format. Started thinking about what is really shown on the display and how the pixels end up there. No display can handle YCbCr-data so I guess everything gets converted to RGB somewhere.…
1
vote
1 answer

Having trouble reading a YUV video with mplayer/mencoder

I'm making some experiences with the YUV raw video format. This YUV video I created (with ppmtoy4m from mjpegtools, from a series of screenshots taken at 24 fps) plays OK with Totem, correct rate, correct colors, everything. Plus, ffmpeg can convert…
JCCyC
  • 2,883
1
vote
0 answers

FFmpeg decoding h265 yuv422p10 returns Failed setup for format Vulkan: hwaccel initialisation errorer

I try to test h265 10-bit yuv422p10le decoding according to test command at https://trac.ffmpeg.org/wiki/HWAccelIntro#Vulkan ffmpeg -init_hw_device "vulkan=vk:0" -hwaccel vulkan -hwaccel_output_format vulkan -i INPUT -f null - -benchmark but get the…
Terje
  • 11
1
vote
2 answers

Why is deshake background green and how do I make it black?

FFmpeg version: 4.3.2-2021-02-27-full_build-www.gyan.dev, Windows When I apply the deshake filter to a video, e.g.: ffmpeg -i input.mp4 -vf "deshake=rx=64:ry=64:edge=blank" -c:v h264_qsv output.mp4 Even though I specify edge=blank, the background…
Jason C
  • 11,385
1
vote
1 answer

ffmpeg can't convert JPG to YUV (nv12)

I have ffmpeg=4.1.3 and I want to convert a regular jpg file to nv12 (yuv). I used the command: ffmpeg -y -i image.jpg -vf -pix_fmt nv12 out.yuv and got: Unable to find a suitable output format for 'nv12' I made sure the format exists with: …
1
vote
1 answer

FFMPEG Raw Video Restreaming

I captured raw video (yuv 4:2:0) from network and now trying to resend it. ffmpeg -f rawvideo -v info -pixel_format yuv420p -video_size 1240x1024 -framerate 25 -i out.raw udp://225.0.1.115:5000 but the output is; [NULL @ 0x3cc5fc0] Unable to find…
Han
  • 11
1
vote
0 answers

How to capture raw video output from 12-bit RCCB / YUV camera

I have worked this problem for some days now, checked multiple programs and libraries, to no avail. I work on a Windows 10 x64 PC. Heads up: this problem seems to have been solved by someone on a Linux distro, and my colleague is looking into that,…
Cr4sh
  • 11
1
vote
2 answers

How can I convert yuv file to h264?

I have cif and qcif yuv image files. I want to convert them to h264 file. Could you advise me any application or program that encode h264?
yalcin
1
vote
1 answer

Extract yuv frames from yuv video

What is the best way to extract individual yuv frames from a yuv video? Can we use ffmpeg? I'm able to extract individual jpg frames but am struggling to extract individual yuv frames. I know that I can write my own script in python to extract this…
1
2