[MEncoder-users] subtitling

Corey Hickey bugfood-ml at fatooh.org
Mon Aug 21 20:12:19 CEST 2006


Alejandro Vargas wrote:
> 2006/8/21, Evgeniy Stepanov <eugeni.stepanov at gmail.com>:
> 
>> Hardcoded subtitles are evil, because they confuse codec's motion 
>> estimation.
> 
> I understand this... but I need to do it because my player does not
> support subtitles...
> 
>> Still, the problem is usualy not that big as you say. Are you sure 
>> that you
>> are using 2-pass encoding and bitrate is high enough ?
> 
> I'm using the same bitrate of the original avi (obtained by a script).
> The picture looks very very well, with the ONLY exception of the FIRST
> subtitle that appears on the screen. Sometimes I adds a dot (".") in
> the very start of the picture to trigger the problem at the beginning.
> Then some seconds later starts the real subtitles and this looks OK.

If you're using lavc to encode, try either or both of these options:
   qns=2
This will make encoding very slow but might help sharp edges.
   vrc_eq=(tex+10^8*mcVar)^0.6
This will make lavc more responsive to quick change. High-motion scenes 
will look much better; low-motion scenes may look a little worse.

>> Exact command line and mencoder output (with -v) will be helpful.
> 
> Now I'm not at home, where is the script that I use. In a few hours I
> will send tha exact mencoder command lines that I am using.

Once you send your command line I may be able to point out more.

-Corey



More information about the MEncoder-users mailing list