[MPlayer-users] save into divx?

Nicolas George nicolas.george at normalesup.org
Sun Feb 17 09:35:38 CET 2008

Le nonidi 29 pluviôse, an CCXVI, Zé a écrit :
> I have some .avi files with the subtitles .srt files and i was told how to 
> save into a new .avi file with the subtitles attached, the command i was told 
> was this:
> mencoder foo.avi -oac copy -ovc lavc -sub foo.srt -subcp 
> iso-8859-15 -font /usr/share/fonts/TTF/dejavu/DejaVuSans.ttf -subfont-text-scale 
> 3 -o foo_new.avi
> but like this isnt saving with the same video format as the original since the 
> original was XVID and now the new ones are FMP4.
> The problem is that i need to save into a new file with the subtiles but to a 
> format that my dvd player can support, and that can be divx or mpeg4.

The command you have just posted will not "save" the file with the
subtitles, it will transcode the video: decode it, hardcode the subtitles
into it, and encode it in a new codec (possibly the same as the original
one, that is you to decode).

Transcoding implies a huge loss of quality and/or bitrate.

Furthermore, you are not tuning the codec options at all, which means even
more loss of quality.


  Nicolas George

More information about the MPlayer-users mailing list