[MEncoder-users] reencoding from a mkv with subtitles

Phil Ehrens phil at slug.org
Wed Dec 29 17:24:04 CET 2004


Marc Cousin wrote:
> On Wednesday 29 December 2004 15:25, Marc Cousin wrote:
> > On Wednesday 29 December 2004 15:21, Phil Ehrens wrote:
> > > Marc Cousin wrote:
> > > > Hi,
> > > >
> > > > I'm trying to convert a mkv with subtitles, to a simple xvid avi, with
> > > > the subtitles directly displayed in the movie.
> > > >
> > > > To do this, I've tried :
> > > > mencoder -slang fre movie.mkv -oac mp3lame -lameopts cbr:br=128 -ovc
> > > > xvid -xvidencopts vhq=1:chroma_me:hq_ac:bitrate=1500 -o movie.avi
> > >
> > > I do this all the time, but like this:
> > >
> > > mencoder -oac mp3lame \
> > >          -ovc lavc \
> > >          -lavcopts vcodec=mpeg4:vqscale=2:vhq:v4mv:trell:vbitrate=1500 \
> > >          -aid 1 \
> > >          -sid 0 \
> > >          -o $file.avi $file.mkv
> > >
> > > For encoding, ffmpeg (lavc) rules, IMHO.
> >
> > it's not an encoding problem, I think, but a subtitle problem. But I'll
> > give it a try anyway
> 
> Same problem. It's not codec related, I'm pretty sure it comes from the wrong 
> size of the subtitles in the mkv stream

Hmm, I'm not an expert on subtitle formats, but the subtitles
in all the .mkv files I've ever seen were in text format,
so the size is controlled by the subtitle font you have
installed for mplayer. In any case, if it looks distorted
I think it is happening in the encoding. Good luck!

-- 
Phil Ehrens <phil at slug.org>      | Fun stuff:
The SilverLake Linux Users Group | http://www.ralphmag.org
3428 Winslow Drive               | http://www.yellow5.com
Silverlake, CA 90026             | http://www.slug.org




More information about the MEncoder-users mailing list