[MPlayer-users] Re: best encoder ?

Martin Hoffmann ma.hoff at t-online.de
Mon Jul 22 21:51:02 CEST 2002


I guess you should add "-vop pp" and "-npp lb" to deinterlace the source - 
since a lot VDR recordings are interlaced !
Otherwise you will get a lot of interlacing stripes !

btw: When using XVID with interlacing turned on, you do not need to 
deinterlace an the picture will look more sharp (no motion blurring) - 
However if you do not intend to playback on tv set then deinterlacing is the 
best method !

@Karsten Müller: You can also get my vdr2divx scripts for automatic conversion 
at http://ma.hoff.bei.t-online.de/2divx/ - 1.53 is the latest - new one will 
follow !

Martin.


> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
>
> On Mon, Jul 22, 2002 at 10:31:20AM +0200, Karsten Müller wrote:
> > [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> > Hi Folks,
> >
> > I have a (not so) simple question:
> > I want to convert my VDR recordings (MPEG PES streams) to divx.
> >
> > What's the best encoder to do that ?
>
> ff's libavcodec without any doubt.
>
> But it requires some tuning. Here's what I use for MPEG-2 -> DivX :
> [Note that I use libvcodec's internal 2-pass mode (vpass=x) instead of
> the old DivX4-inspired external 2-pass mode (-pass x)]
>
> INFILE="foo.mpg"
> OUTFILE="bar.avi"
>
> FILTERS="-vop scale=624:384,crop=654:572:33:2 -sws 9"
> VBITRATE="890"
> ABITRATE="96"
> MISC=""
>
> AUDIO0="-oac mp3lame -lameopts br=$ABITRATE:vbr=3:q=0"
> AUDIO1="-oac copy"
> AUDIO2="-oac copy"
> VIDEOCOMMON="-ovc lavc -lavcopts
> vcodec=mpeg4:vbitrate=$VBITRATE:vhq:vrc_strategy=1:vqmin=2:vlelim=4:vcelim=
>7:v4mv:vqcomp=0.7" VIDEO1="$VIDEOCOMMON:vqblur=0.3:vpass=1"
> VIDEO2="$VIDEOCOMMON:vpass=2"
>
> rm -f frameno.avi lavc_stats.txt
> $ENCODER -ovc frameno $AUDIO0 $FILTERS $MISC -o frameno.avi $INFILE
> $ENCODER $VIDEO1 $AUDIO1 $FILTERS $MISC -o /dev/null $INFILE
> $ENCODER $VIDEO2 $AUDIO2 $FILTERS $MISC -o $OUTFILE $INFILE




More information about the MPlayer-users mailing list