[gstreamer-bugs] [Bug 530962] [subparse] parses only every second line of TMPlayer subtitle

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat May 3 09:16:17 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=530962

  GStreamer | gst-plugins-base | Ver: 0.10.19




------- Comment #3 from Tomasz Sałaciński  2008-05-03 16:16 UTC -------
Eh, I think I'll give up.

There's an issue when parsing line:

00:14:40:SUB1 long

00:14:46:SUB2 short
00:14:48:SUB3 normal

TMPlayer subtitle decoder needs to have the second line (to check the duration
of subtitle). For example, duration is 5 seconds. So, first sub starts, lasts
to 00:14:45, one second break and it shows SUB2. But, if the duration is set to
5, it will show SUB3 after five seconds, not two, so instead of doing 00:14:48,
sub3 will be displayed at 00:14:53.

Original engine is checking for this (but displaying every second line), my
engine is displaying every line with italic support, but breaks timing if the
duration is set to 6. If it's set to for example 2, it works ok, but subtitles
are disappearing after 2 seconds.

Sorry for spamming bugzilla, I'm trying to get this to work.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=530962.




More information about the Gstreamer-bugs mailing list