[MEncoder-users] How to transcode video clips to nv12(YUV420 semi-plannar) format?

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Aug 6 18:10:42 CEST 2009


On Thu, Aug 06, 2009 at 03:06:43PM +0000, Tuff Li wrote:
> 
> Hi Experts,
> 
> I met one problem of mencoder:
> 
> Now, I am testing a HW H.264 encoder, this encoder need YUV420
> semi-planner(nv12) as the input format, so I tried to convert some video clips
> to this format, but it seems mencoder can not do this...
> 
> when I tried to run "mencoder -vf format=nv12 -nosound -ovc raw -of rawvideo
> -ofps 30 -o vga_nv12_test.yuv ACM_1011_Traffic.avi", I always got below message:

-ovc raw uses the raw "encoder". It is not really an encoder but still
it has some associated code, and that code does not support nv12.
Look at libmpcodecs/ve_raw.c if you feel up to some simple coding, it
shouldn't be too hard to add support...


More information about the MEncoder-users mailing list