[MPlayer-users] mencoder and -sub option

tarass at club-internet.fr tarass at club-internet.fr
Sat Mar 13 16:37:15 CET 2004


Hello,

Here is the command line I use to harcode subtitles in MPsub format :

#!/bin/bash

#fichier='/mnt/mp3/film1.vdr'
fichier='../vdr2dvd/film.vdr'
vcodec='mpeg4' #mpeg4:gray NB sauf s'il y a sous titre en couleur
bitrate='1200'
VF='-vf pp=lb' #,crop=720:576:0:0' #,scale=720:576' #'crop=708:576:10:0'
audio='mp3lame -lameopts cbr:br=320'
temps=''

mencoder $fichier -ovc lavc \
     -lavcopts 
vcodec=$vcodec:vbitrate=$bitrate:vhq:vqmin=2:vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01:autoaspect:vpass=1\
     -oac copy -o /dev/null $VF $temps -sub subtitles -noautoexpand

mencoder $fichier -ovc lavc \
     -lavcopts 
vcodec=$vcodec:vbitrate=$bitrate:vhq:vqmin=2:vlelim=-4:vcelim=9:lumi_mask=0.05:dark_mask=0.01:autoaspect:vpass=2\
     -oac $audio\
     -o film1.avi $VF $temps -sub subtitles -noautoexpand

subtitles file contains the subtitles in MPsub format.

Is something missing ?

Why the subtitles don't appear when I watch the produced avi file ?
Is there a special option to put on the command line to see this subtitles.

Thanks for any help.

Nicolas.

-- 
    Powered           .~.
    by Linux          /V\
     ------          // \\
  solutions for     /(   )\
  smart penguins     ^`~'^




More information about the MPlayer-users mailing list