[gstreamer-bugs] [Bug 442034] [avi] add support for subtitle streams (GAB2)

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Dec 14 05:58:31 PST 2007


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=442034

  GStreamer | gst-plugins-good | Ver: HEAD CVS




------- Comment #5 from Thijs Vermeir  2007-12-14 13:58 UTC -------
Created an attachment (id=100954)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=100954&action=view)
basic implementation of avi subtitle parsing

This patch allow you to view this avi file with subtitles.
gst-launch filesrc location=subtitle.avi ! avidemux name=demux ! queue !
avisubtitle ! subparse ! overlay.  demux. ! queue ! decodebin !
ffmpegcolorspace ! textoverlay name=overlay ! autovideosink

But some questions:
- What do we need to do with the name of the subtitle (UTF-16)?
- What do we need to do with the BOM of the srt file ? Now, the subparse
element does not accept this header. IMHO we peed to push it and subparse must
handle this. In this patch the BOM is fixed cut off on 3 bytes so it will only
work with UTF-8 and BOM provided...


-- 
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=442034.




More information about the Gstreamer-bugs mailing list