[gstreamer-bugs] [Bug 601236] [flvmux] script tag with index gets written at end of file, contains all tags

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Nov 9 02:56:26 PST 2009


https://bugzilla.gnome.org/show_bug.cgi?id=601236
  GStreamer | gst-plugins-good | git

Edward Hervey <bilboed> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |bilboed at gmail.com
     Ever Confirmed|0                           |1

--- Comment #1 from Edward Hervey <bilboed at gmail.com> 2009-11-09 10:56:20 UTC ---
If the flv container format allows for padding/void blobs, then the muxer could
be modified to write such a blob at the beginning, then on EOS seek back to
that location and write the proper information.

One problem though... is that you're not sure how much size you'll need to
write the index. One could do a smart guess-timate based on incoming framerate
and duration and then when writing, try to put as much information as possible.

There's a reason why those indexes are written using separate tools, it's
because you need to allocate enough (or better exactly) the amount of bytes
needed to write that index.

It's a problem similar to creating "fast-start" qt/mov/iso files where the
header atom is located at the beginning.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list