Results 1 to 3 of 3

Thread: Mencoder.

  1. #1
    Teuniz NNTP User

    Default Mencoder.


    To create a dvd from an avi-file with aspectratio 2.23:1, I use the
    following cmd:

    mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
    -vf scale=720:432,expand=720:576,harddup -srate 48000 -af
    lavcresample=48000 \
    -lavcopts
    vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9
    \
    -ofps 25 -sub my_subtitles.srt -subpos 93 -subfont-text-scale 3 -font
    /usr/share/fonts/truetype/times.ttf -ffactor 5 \
    -o my_movie.mpg my_movie.avi

    This creates black bars on top and bottom of the screen, to keep a
    circle a circle when playing back on a 16:9 tv.

    This works all ok, except for the subtitles. It seems that the
    subtitles are beeing processed before the stretching,
    so the subtitles will be stretched as well. Ofcourse I don't want to
    stretch the subtitles.

    I tried experimenting with the options -ass and -vf-add ass without any
    luck.

    Who has the solution?

    I convert the resulting mpeg-file to vob-files with ManDVD. Then I use
    K3B to burn the dvd.


    --
    Teuniz
    ------------------------------------------------------------------------
    Teuniz's Profile: http://forums.opensuse.org/member.php?userid=9752
    View this thread: http://forums.opensuse.org/showthread.php?t=406595


  2. #2
    microchip8 NNTP User

    Default Re: Mencoder.


    have a look at the -subfont-autoscale option in mplayer's man page. You
    may also want to place the expand filter BEFORE the scale one


    Code:
    --------------------
    -subfont-autoscale
    Sets the autoscale mode.
    NOTE: 0 means that text scale and OSD scale are font heights in points.

    The mode can be:

    0 no autoscale
    1 proportional to movie height
    2 proportional to movie width
    3 proportional to movie diagonal (default)
    --------------------


    --
    *'Get h264enc' (http://h264enc.sourceforge.net)* - *'Get xvidenc'
    (http://xvidenc.sourceforge.net)* - *'Get divxenc'
    (http://divxenc.sourceforge.net)*
    ------------------------------------------------------------------------
    microchip8's Profile: http://forums.opensuse.org/member.php?userid=163
    View this thread: http://forums.opensuse.org/showthread.php?t=406595


  3. #3
    Teuniz NNTP User

    Default Re: Mencoder.


    microchip8;1937106 Wrote:
    > have a look at the -subfont-autoscale option in mplayer's man page. You
    > may also want to place the expand filter BEFORE the scale one (but this
    > depends on the original resolution)


    Tried that, no luck.


    --
    Teuniz
    ------------------------------------------------------------------------
    Teuniz's Profile: http://forums.opensuse.org/member.php?userid=9752
    View this thread: http://forums.opensuse.org/showthread.php?t=406595


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •