[MEncoder-users] lavc options

Rich Felker dalias at aerifal.cx
Thu Nov 10 16:20:41 CET 2005


On Thu, Nov 10, 2005 at 11:23:56AM +0100, José Antonio Castelbón Fernández wrote:
> Hi to everyone
> 
> I'm trying to develope a mobile video stream application, and i'm using 
> mencoder to encode the videos. The video format is mpeg4, 6-8fps, qcif 
> and 40kbs maximun bitrate. My mencoder options are:
> 
> -vf scale=176:144 -ofps 8 -nosound -ovc lavc -of rawvideo -lavcopts 
> vcodec=mpeg4:vbitrate=40:mbd=1:vrc_eq=1:vstrict=1:trell:dia=-3:cbp:qns=1:v4mv:keyint=250:turbo:vpass=1
> 
> -vf scale=176:144 -ofps 8 -nosound -ovc lavc -of rawvideo -lavcopts 
> vcodec=mpeg4:vbitrate=40:mbd=1:vrc_eq=1:vstrict=1:trell:dia=-3:cbp:qns=1:v4mv:keyint=250:turbo:vpass=2
> 
> With this configuration the final video has a lot of ghosting, i try to 

ghosting is not the right word.. i assume you mean codec artifacts?

> encode it with less keyint but the motion gets worse. I'm not an expert 

lower keyint == lower quality (assuming same bitrate).

> and i guess if you could help me to find the appropiate mencoder options 
> to see a decent and well motioned video on the mobile with the streaming.

try using some strong denoising in the filter chain, and/or the nr
option to lavc (nr=400 or so). also mbd=2 is better than 1.

rich




More information about the MEncoder-users mailing list