[FFmpeg-user] yuv420p format

Carl Eugen Hoyos cehoyos at ag.or.at
Fri Jan 8 16:57:41 CET 2016

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

> But It seems that the captured video is always the same:  422 YUYV.

Did you try to record with FFmpeg?

$ ffmpeg -i /dev/video0 -vcodec copy -t 10 out1.yuv

$ ffmpeg -pix_fmt yuv420p -i /dev/video0 -t 10 out2.yuv

The console output will tell you the used colour space, 
I suspect that not every v4l2 hardware supports yuv420p.

Carl Eugen

More information about the ffmpeg-user mailing list