[FFmpeg-user] yuv420p format

Ran Shalit ranshalit at gmail.com
Fri Jan 8 08:36:48 CET 2016


Hello,

I would like to ask what is the actual color format of yuv420p as used
with ffmpeg in pixel_format option.

I have captured video with V4L2_PIX_FMT_YUV420  format (described in
https://linuxtv.org/downloads/v4l-dvb-apis/re25.html )
But the captured video is not played correctly with
ffplay -f rawvideo -pixel_format yuv420p -video_size 1920x1080 -i
cap_yuv420p.yuv

Is V4L2_PIX_FMT_YUV420 (v4l2)  and yuv420p (ffmpeg) the same ?

Thank you,
Ran


More information about the ffmpeg-user mailing list