[gstreamer-bugs] [Bug 357503] Problem with microdvd subtitles

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Jan 7 11:25:09 PST 2007


Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=357503

  GStreamer | gst-plugins-base | Ver: 0.10.10





------- Comment #3 from Sven Arvidsson  2007-01-07 19:23 UTC -------
Hi,

I think I have parts of it figured out. There is not a delay, but GStreamer
display the subtitles too early.

MPlayer displays the second subtitle (see above) at about 119 seconds, Totem at
about 78 seconds. It doesn't seem to be any delay between two subtitles, both
MPlayer and Totem have the same timings. 

The reason for GStreamer being off seems to be this line:

  state->start_time = (start_frame - 1000) / frames_per_sec * GST_SECOND; 

I don't know why 1000 frames are subtracted, but if I remove that, Totem
display the subtitles with correct timings. 

As for my inital guess about framerates being calculated wrong, GStreamer is
hardcoded to use 23.976 fps:

  const double frames_per_sec = 24000 / 1001.; 

This means one of my videos (25 fps) still doesn't display with microdvd
subtitles correctly, but I guess I will file that as a seperate request.



-- 
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email




More information about the Gstreamer-bugs mailing list