[FFmpeg-user] yuv420p format

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 8 10:02:09 CET 2016

Ran Shalit <ranshalit <at> gmail.com> writes:

> I have captured video with V4L2_PIX_FMT_YUV420 format

How did you capture the video?

> But the captured video is not played correctly with

What does "not correctly" mean?
Please provide a sample.

> ffplay -f rawvideo -pixel_format yuv420p 
> -video_size 1920x1080 -i cap_yuv420p.yuv
> Is V4L2_PIX_FMT_YUV420 (v4l2)  and yuv420p (ffmpeg) the same ?

Yes, see:

Carl Eugen

More information about the ffmpeg-user mailing list