[FFmpeg-user] yuv420p format
Ran Shalit
ranshalit at gmail.com
Sat Jan 9 10:47:16 CET 2016
On Fri, Jan 8, 2016 at 5:57 PM, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> 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
>
Thank you very much, You're Right.
The ffmpeg tool also showd that the format is 422 YUYV.
This v4l2 device (virtual device, vivid ) always output 422 YUYV,
although trying to change its format .
Probably it can't output this format.
Best Regards,
Ran
More information about the ffmpeg-user
mailing list