From: GStreamer (bugzilla.gnome.org) <bug...@bu...> - 2007-06-01 21:04:13
|
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 #3 from np...@ch... 2007-06-01 21:04 UTC ------- Thanks for the fast response and fix (I dint ask for more ;) ). Regarding parser, the GAB2 "datachunk" (there is only one, preferably interleaved before the data is needed - but the tool I use inserts them as last movi-chunk for no arguable reason) is nothing but the contents of whole .srt or .ssa File. AFAIK .srt is already supported by GStreamer, so this shouldnt be much work? Heres a simple description of the header, nothing really suprising. As said, theres also a single movi-chunk containing a whole subtitle in .srt/.ssa format. (Dont see why supporting multiple chunks should be a problem though) --------------------------------------------------------- *Stream header chunk typedef struct { FOURCC fccType; // "txts" FOURCC fccHandler; // 00 00 00 00 DWORD dwFlags; WORD wPriority; WORD wLanguage; DWORD dwInitialFrames; DWORD dwScale; DWORD dwRate; // dwRate / dwScale == duration in seconds DWORD dwStart; DWORD dwLength; // In units above..., should be 1 DWORD dwSuggestedBufferSize; DWORD dwQuality; DWORD dwSampleSize; // = 0 -> treated as VBR RECT rcFrame; // 0, 0, 0, 0 } AVIStreamHeader; *Stream format chunk This chunk has a size of 0. --------------------------------------------------------- Sorry if I said "simple stuff" a couple times, I`d do it myself but GStreamer is as alien to me as GObject. I guess its not much work if you are familar with those things ;) -- 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. |