[MPlayer-dev-eng] Custom subtitle output

Gast mphq at ext.no-route.org
Mon Sep 28 14:20:17 CEST 2009


Reimar Döffinger schrieb:
> On Mon, Sep 28, 2009 at 01:07:56PM +0200, Gast wrote:
>> Reimar Döffinger schrieb:
>>> Ups. Yes, I forgot something. It will only work for embedded subs
>>> currently.
>> Hm, I've tryed it with embedded Subtitles. I've embedded the Subtitles
>> using:
>> [...]
>>
>> -vf harddup -sub /tmp/test.sub test.mpg -o test_with_subs.mp4
> 
> Uh, no, now those subtitles are encoded onto the video and it's almost
> impossible to get them out again. Certainly those aren't text subtitles
> anymore.

Uhm, I see.

> By embedded subs I mean the separate subtitle tracks but in the same
> container as the file, selectable via -sid.

Okay, I'll try it out later.

> (and I can't resist saying that "try" becomes "tried", not "tryed" :-) )

Sorry, I'm not a native english speaker and that was some kind of a typo ;-)

> 
>> set_osd_subtitle() is used. I'd check out the source code if mplayer wouldn't
>> be such a big project. It's pretty hard to find out what's actually going on
>> without having any idea what's going on internally in mplayer and how the
>> structure is.
> 
> While that is true, I'd expect the simplest source code couldn't help
> much if you aren't aware of the different subtitle formats and what it
> means what you can reasonably do with them and what not...
> Anyway, the code is really new and there are quite a few issues with it
> still (I just fixed a whole bunch), just try again with the external
> subtitle and tell me if there are still issues.

I'll do that.

Actually I've also been trying with OGG as container format but misunderstood
the -sub foo.sub -ovc.. functionality. I think I should read some of the
current man pages.

Thanks for all your help.



More information about the MPlayer-dev-eng mailing list