[MPlayer-users] Video recode problem and memory leakage mencoder (SOLVED)
Krzysztof Duchnowski
amidk75 at gmail.com
Sun Sep 18 08:24:36 CEST 2011
On 18.09.2011 11:09, Boris Borisov wrote:
> На 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?
VBITRATE - it's average bitrate which is set for codec for entire stream
(it depends at image complexity and bitrate control over stream by
codec, whatever it will be reached in the end - 2 pass encodings helps a
lot for managing that perfectly)
VRC_MAXRATE - it's maximum which could be reached in a single frame
(can't be higher than that and some frames could easily exceed that -
whereas some hardware decoder have problem if it's too high)
MUXRATE - it's maximum which can be stored in a container altogether:
video, audio, subtitles, other streams
--
Krzysztof 'DK75' Duchnowski
GetFirefox - http://www.getfirefox.net/
Konfiguracja UTF-8 dla czytników - http://evil.pl/pip/utf/
More information about the MPlayer-users
mailing list