[MEncoder-users] reencoding from a mkv with subtitles

Marc Cousin marc at mco.mine.nu
Wed Dec 29 17:28:37 CET 2004


On Wednesday 29 December 2004 17:24, Phil Ehrens wrote:
> 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!

unfortunately, here, it's S_VOBSUB (track 4), not text ...




More information about the MEncoder-users mailing list