Questions tagged [yuv]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
309 views

Colors from PS5 - WebM files are washed out after uploading on YouTube, can ffmpeg fix it?

Can I repair or change the color command via "ffmepg" without re-encoding the file? There seems to be a communication problem between the created *.webm file from the PlayStation 5 and ...
Mannitu's user avatar
1 vote
2 answers
514 views

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 ...
Jason C's user avatar
  • 10.6k
0 votes
0 answers
746 views

Upscaling and downscaling in ffmpeg using Lanczos and bicubic filters

I'm supposed to upscale and downscale a video sequence by a factor of 2 and 3 using Lanczos and Bicubic filter in ffmpeg. I want to know that what does it mean when it says factor 2 or 3? As I was ...
Masoumeh's user avatar
1 vote
1 answer
4k views

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 ...
Shani Gamrian's user avatar
1 vote
1 answer
3k views

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 ...
Han's user avatar
  • 11
0 votes
0 answers
325 views

FFMEG Adjust Brightness Runtime

I use the following command to display yuv video; ffmpeg -v debug -re -probesize 32 -buffer_size 500000 -protocol_whitelist file,rtp,udp -strict -2 -i test.106.sdp -pix_fmt yuv420p -f sdl "CH1" test....
Han's user avatar
  • 11
1 vote
0 answers
932 views

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 ...
Cr4sh's user avatar
  • 11
1 vote
0 answers
2k views

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 ...
and his dog's user avatar
1 vote
1 answer
8k views

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 ...
IvanIvanovich's user avatar
0 votes
1 answer
1k views

How open Gstreamer raw file?

I want to capture RAW picture from webcam, But I do not want to use JPG, Because it makes the picture bad and full of noise. I can shoot a RAW video using this code, and also can open the file ...
Mah Abo's user avatar
0 votes
1 answer
2k views

Set an excat GoP-length open and no-open in ffmpeg

ffmpeg -f rawvideo -vcodec rawvideo -s 1280x720 -r 50 -pix_fmt uyvy422 -i Test.yuv -c:v libx265 -x265-params keyint:150:open-gop -b:v 10M Test_open_150_10M.hevc As you can see, I'm trying to ...
nm82's user avatar
  • 11
2 votes
1 answer
864 views

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 definition: http://dicom.nema.org/medical/dicom/current/output/chtml/part03/sect_C....
malat's user avatar
  • 1,253
0 votes
1 answer
1k views

FFMPEG shift chroma plane horizontally

I'm trying to process the video I recorded from my capture card and that involves storing the videoframes as PNG images at some point. The problem is, FFmpeg shifts the chroma planes ~2px to the right ...
Seedmanc's user avatar
  • 103
1 vote
1 answer
13k views

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 ...
Pradheep Elango's user avatar
0 votes
2 answers
2k views

Fraps -> Huffyuv -> x264 encoding: The colors looks washed out

I recorded a game using fraps. The recorded video looked great. Then I edited the video and encoded it with Huffyuv lossless codec. The video looked great. Finally, I encoded the video with x264 in ...
ClearSky's user avatar
0 votes
1 answer
1k views

ViewSonic VX2453 series monitor looks pink on RGB mode

I am using two ViewSonic VX2453s for my PC. One of them is fine on RGB (which I am looking to have both monitors be on), but the other is pink when seitched from YUV to RGB mode. It resets back to YUV ...
Mr McClean's user avatar
0 votes
1 answer
1k views

Making pair of two YUV videos (side by side) using FFmpeg

I am trying to make a pair of 2 videos (side by side) with a 10px white border seperator. I used the following FFmpeg command, ffmpeg -i left.yuv -i right.yuv -filter_complex "[0:v:0]pad=iw*2:ih:...
mrana's user avatar
  • 131
1 vote
0 answers
755 views

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 ...
Collin Price's user avatar
1 vote
1 answer
2k views

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: ...
Sourabh's user avatar
  • 133
5 votes
1 answer
12k views

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

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 ...
michael's user avatar
  • 5,835
0 votes
2 answers
2k views

Why do color printers, cameras and monitors/tvs use different color models? [duplicate]

Many printers use CMY or CMYK whereas most computer monitors and TVs use RGB. Many cameras, film cameras, image and movie formats use YUV. Why don't they use the same color representation?
tomsv's user avatar
  • 403
1 vote
1 answer
168 views

How are pixels actually shown on display [closed]

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 ...
Fredrik Pihl's user avatar
1 vote
1 answer
1k views

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, ...
JCCyC's user avatar
  • 2,635
1 vote
2 answers
2k views

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?
user avatar
1 vote
0 answers
2k views

Where can I get YUV444 & YUV422 raw Video sequences?

I need some YUV422 and YUV444 raw video sequences for testing ffmpeg encoding to these formats. I have 420 sequences. Is there any site where I can download some test sequences(Any Resolution QCIF,...
goldenmean's user avatar
  • 2,467