[MPlayer-dev-eng] [PATCH] Ogg seeking fixed

Piotr Krukowiecki piotr at pingu.ii.uj.edu.pl
Mon Dec 30 23:55:34 CET 2002


On Mon, Dec 30, 2002 at 03:03:45PM +0100, Moritz Bunkus wrote:
> Hi.
> 
> > That's great! Can you fix ogg softubs by the way? :)
> 
> Sure, I can fix anything in any time if I just drink enough tea! :)

Be carefull not to drink too much. Your 

> Seriously - do you have some pointers (e.g. to the mailing list
> archives) with the problem's description?

It's in archives somewhere, unfortunaltely i'm unable to get
url/topic/whatever now. But the problem is very easy (iirc it was you 
who explained to me what's wrong :)) - some encodes with
softsubs in them do not put " " line when the text should disappear.
They only set duration of previous text.
Normally subs should look like that:

timestamp | "text"  | duration (or maybe start-stop timestamps)
---------------------------
X         | "blah"  | Y
X + Y     | " "     | Z
X + Y + Z | "blah2" | A

In this broken encodes there is no " " sub.
mplayer should use duration but it does't - so the "blah" sub 
is displayed till next sub ("blah2") "occurs". 
In case of valid not-broken encodes mplayer displays " " sub which
erases previos sub and everything is ok.


Sorry for probably not precise explanation.


-- 
Piotrek  (@ ~)
Mors Drosophilis melanogastribus!



More information about the MPlayer-dev-eng mailing list