[gstreamer-bugs] [Bug 623821] qtmux produces brocken .mov files

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Fri Jul 9 03:53:07 PDT 2010


https://bugzilla.gnome.org/show_bug.cgi?id=623821
  GStreamer | gst-plugins-bad | 0.10.x

--- Comment #6 from Mark Nauwelaerts <mnauw at users.sourceforge.net> 2010-07-09 10:53:04 UTC ---
If the caps claim stream-format=avc, then codec-data should contain avc decoder
configuration (as in spec, iirc MPEG-4 part 15, see also elements x264enc and
h264parse for example) and the data buffers should *not* be in stream-format,
but in avc sample format (i.e. with size prefixes) (see also spec) [see also
bug #606662 for likely far more background on this than is healthy].

Of course, elements can go above and beyond this and have all sorts of
verification and automagic transformation code, e.g. it appears ffmux_mov may
do so, qtmux does not (which is not a bug).  Btw, ffmux_mov will have to do
more than some bitpicking of codec-data; the data itself should probably also
be transformed from byte-stream to avc-sample format for things to be really
spec-wise (which QT player might want).

Btw, h264parse can do some/most of the above transformation from byte-stream to
the other format, but at least the h264 encoder element should then not set
wrong caps.  And one would expect the encoder can be tweaked to produce real
stream-format=avc output (codec-data and actual data -wise).

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