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

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Fri Jun 1 14:10:44 PDT 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 #4 from npl at chello.at  2007-06-01 21:10 UTC -------
I was wrong as the movi-chunk contains a header before the actual .srt/.ssa
data. Heres the description:

-----------------------------------

One subtitle stream is stored in one single chunk. That chunk contains
header data, followed by an entire SRT or SSA file. If that file is using UTF-
8 encoding, the BOM should be included as well. The header is defined as
follows:

char[4]; // ’GAB2’
BYTE 0x00;
WORD 0x02; // unicode
DWORD dwSize_name; // length of stream name in bytes
char name[dwSize_name]; // zero-terminated subtitle stream
name encoded in UTF-16
WORD 0x04;
DWORD dwSize; // size of SRT/SSA text file
char data[dwSize]; // entire SRT/SSA file

-----------------------------


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