[FFmpeg-user] how to convert yuv420p to nv12 ?
ranshalit at gmail.com
Mon Nov 16 08:59:10 CET 2015
I am trying to convert yuv format to nv12 and to play it.
I used carphone qcif sample yuv format (yuv420p):
The original sampled is played OK with yuv player.
But on trying to play the converted sample
ffmpeg -pix_fmt yuv420p -s 176x144 -i carphone_qcif.yuv -pix_fmt nv12
the result seems wrong with any yuv player I've used (i remembered to
change the setting for qcif 176x144, and NV12 but it did not help).
Is there something wrong with ffmpeg convert ?
This is the ffmpeg version I'm using:
ubuntu at ubuntu-laptop:~$ ffmpeg
FFmpeg version SVN-r0.5.9-4:0.5.9-0ubuntu0.10.04.3, Copyright (c)
2000-2009 Fabrice Bellard, et al.
More information about the ffmpeg-user