[MPlayer-users] merging subtitles with video

wim delvaux wim.delvaux at adaptiveplanet.com
Fri Dec 5 01:25:47 CET 2003


On Friday 05 December 2003 01:14, rcooley wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> On Fri, 5 Dec 2003 01:02:54 +0100
>
> "Stephen D. Leedle" <LeedleSt at gmx.de> wrote:
> > So, my solution is following:
> > MEncoder doesn't SEEM to support adding the subs into the video (hard
> > encoding I think this is called).
> > So, the solution is to use MPlayer with following options:
> > # mplayer -vo png -z 9 -nosound blabla.file.avi -vobsub subtitle
> > So, I wouldn't put my hand into fire to prove this idea, but I use
> > this method in similar way.
>
> This is a terrible idea!  If he wanted the subtitles to be hard-coded
> into the movie, he certainly doesn't need to dump everything to PNGs,
> then re-encode (wasting loads of disk space, unimaginable ammounts of
> CPU time, and lowering quality significantly).
>
> Assuming he was encoding from a DVD (or something else with
> built-in subtitles), he could just have passed '-slang' or '-sid' to
> mencoder in the first place.
>
> Or, after the fact, he could use mplayer similar to the way you
> described, but output to mpegpes or yuv4mpeg, which would allow him to
> use a fifo to re-encode on-the-fly (not wasting any disk space at
> all). Not to mention the major fact that encoding to PNGs is a *very*
> slow process.

	This sounds like a good solutions.

	The problem was that I tried to use the sequence in the documentation
	(3 pass encoding) but was unable to merge the two examples (extracting
	subtitles on the fly with 3 pass encoding and simple 3 pass encoding) 
together (I could not understand the logic of it)

	Hence i used dvd::rip which (i think) uses transcode. (and also
	allowed me to verify if I ripped the proper content)

	Then I used the rip subtitle mencoder statement of the docs (the one with
	frameno.avi in it)

	So would you be so kind to describe me the mplayer fifo thing, assuming
	the input file is XXX.avi and the subtitle file YYY.idx and YYY.sub ?

	Thanx

>
> _______________________________________________
> RTFM!!!  http://www.MPlayerHQ.hu/DOCS
> Search:  http://www.MPlayerHQ.hu/cgi-bin/htsearch
> http://mplayerhq.hu/mailman/listinfo/mplayer-users



More information about the MPlayer-users mailing list