[MEncoder-users] RGB => YV12 conversion

Dominik 'Rathann' Mierzejewski dominik at rangers.eu.org
Wed Sep 21 00:14:28 CEST 2005


On Tuesday, 20 September 2005 at 19:51, Julien Lancien wrote:
> Hi all.
> 
> I'm trying to encode a movie in mpeg4, using lavc. I'ld like to
> convert it to  YV12. What ever I do, it never seems to work.
> 
> Typically I tried:
> 
> mencoder -oac copy -ovc lavc -lavcopts vbitrate=1000 input.avi -o
> output.avi -vf format=yv12,scale
> 
> mencoder -oac copy -ovc lavc -lavcopts vbitrate=1000 input.avi -o
> output.avi -vf format=yv12,scale=640:-11
> 
> mencoder -oac copy -ovc lavc -lavcopts format=yv12:vbitrate=1000
> input.avi -o output.avi -vf format=yv12,scale
> 
> Whatever I do, when I play output.avi with mplayer, I got:
> 
> VIDEO:  [FMP4]  640x320  24bpp  29.970 fps  737.7 kbps (90.0 kbyte/s)
> 
> The documentation says that lavc can encode in yv12.
> 
> What am I doing wrong ?

Thinking that you need to convert the colorspace. That output might
be a bit misleading, but the video really is in YV12.

R.

-- 
MPlayer RPMs maintainer: http://rpm.greysector.net/mplayer/
"I am Grey. I stand between the candle and the star. We are Grey.
 We stand between the darkness ... and the light."
        -- Delenn in Grey Council in Babylon 5:"Babylon Squared"




More information about the MEncoder-users mailing list