[MPlayer-users] transform .mkv in divx and add sub in an .avi

Alexander Strange astrange at ithinksw.com
Fri Jul 8 15:44:31 CEST 2005


On Jul 8, 2005, at 9:32 AM, octane wrote:

> Hello
>
> two questions.
>
> 1.
> I got a mkv file which have 2 sound channel and 2 sub files.
> I can play nice the movie with mplayer.
> I want:
> change the video codec, use one sound channel, and 1 sub file
> in order to have a single divX file.
> How can I do that with mencoder?

Unless you want to reencode, you can't keep the sub file in the  
result, but you could do 'mencoder -ovc copy -oac copy'. I would use  
mkvtoolnix instead.
http://www.bunkus.org/videotools/mkvtoolnix/

> 2.
> I have a .avi file and a sub .srt file. I want to mix them in order
> to have the file _with_ the sub. Also, I need to intriduce a - 
> subdelay.
> How can I do that with mencoder?

This would also require reencoding, but mencoder's options are the  
same as mplayer's options for this.






More information about the MPlayer-users mailing list