[MPlayer-users] Video recode problem and memory leakage mencoder (SOLVED)

Boris Borisov lz1bgb at gmail.com
Sun Sep 18 11:09:43 CEST 2011


На 18.09.2011 02:32, Krzysztof Duchnowski написа:
> On 18.09.2011 00:41, Boris Borisov wrote:
>
>> If I change the vbitrate=8000 to 32000 the movie pass smoothly but
>> quality are very poor.
>> Can anybody to recommend me how to change the options to achieve the
>> best results?
>
> Try this:
>
> HDVideo
> #:$ /usr/bin/mencoder infile.mkv -vf-add harddup -noskip -ovc lavc -oac
> lavc -lavcopts
> vcodec=mpeg2video:vbitrate=16000:keyint=15:vrc_maxrate=20000:vrc_buf_size=1835:vstrict=0:abitrate=256
> -af-add lavcresample=44100 -srate 44100 -sub input.sub -font
> /etc/mediatomb/DejaVuSans.ttf -subfont-autoscale 0 -subfont-text-scale
> 20 -subpos 100 -of mpeg -mpegopts muxrate=40000:format=mpeg2:tsaf -o
> outfile.mpg
>
Thanks a lot - this options are solved all problems. Quality is very
good, speed are acceptable 19fps. The video run smoothly. No memory
leakage and overflow.

And one not important question: What are options setting for maximum as
possible quality, and for '2 times' less quality of picture?  
> SDVideo panoramic PAL
> #:$ /usr/bin/mencoder infile.mkv -vf-add harddup,scale=::::::pal -noskip
> -ovc lavc -oac lavc -lavcopts
> vcodec=mpeg2video:vbitrate=8000:keyint=15:vrc_maxrate=9000:vrc_buf_size=1835:vstrict=0:abitrate=256
> -af-add lavcresample=44100 -srate 44100 -sub input.sub -font
> /etc/mediatomb/DejaVuSans.ttf -subfont-autoscale 0 -subfont-text-scale
> 20 -subpos 100 -of mpeg -mpegopts
> muxrate=10000:format=dvd:tsaf:vaspect=16/9 -o outfile.mpg
>
>
> If no subtitle is needed try:
> #:$ ffmpeg -i infile.mkv -target pal-dvd -acodec mp2 -ar 44100 -ab 256
> outfile.mpg
>



More information about the MPlayer-users mailing list