Results 1 to 3 of 3

Thread: Mencoder.

  1. #1

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    /dev/belgium
    Posts
    1,946

    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 (but this depends on the original resolution)

    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)

  3. #3

    Default Re: Mencoder.

    Quote Originally Posted by microchip8 View Post
    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.

Posting Permissions

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