[MEncoder-users] Re: how to set dimensions for FLV?

Jon Drukman jsd at cluttered.com
Fri Dec 1 18:29:06 CET 2006


Nick Fedchik wrote:
> Can anybody help me to correct mencoder parameters?
> Mencoder build from Subversion code.
> I tried to convert MPEG to FLV and got an error:
> 
> Command line is:
> /usr/local/bin/mencoder testfeed.ts -o ./output-test.flv -of lavf -lavfopts 
> i_certify_that_my_video_stream_does_not_use_b_frames -ovc lavc -lavcopts 
> vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 -srate 
> 22050 -forceidx -demuxer lavf -oac faac -ac ffmp3
> 
> Output:
> CPLAYER: MEncoder dev-SVN-r21410-4.0.3 (C) 2000-2006 MPlayer Team
> CPUDETECT: CPU: Dual Core AMD Opteron(tm) Processor 285 (Family: 15, Model: 
> 33, Stepping: 2)
> CPLAYER: CPUflags: Type: 15 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 1                                                               
> ...
> MUXER: VIDEO CODEC ID: 22
> MUXER: AUDIO CODEC ID: 15002, TAG: 0
> MUXER: Writing header...
> [flv @ 0x86098e0]dimensions not set (width=0, height=0)
> 

try adding -vf scale=320:240 and see if that does anything for you.




More information about the MEncoder-users mailing list