[Bug 752603] qtdemux: Unable to play streaming MP4 (H264+AAC) file from VLC

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Apr 28 10:34:53 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=752603

--- Comment #40 from A Ashley <bugzilla at ashley-family.net> ---
Review of attachment 326858:
 --> (https://bugzilla.gnome.org/review?bug=752603&attachment=326858)

::: gst/isomp4/qtdemux.c
@@ +5890,3 @@
+    QtDemuxStream *stream = demux->streams[n];
+    if (stream->n_samples)
+      res = MIN (QTSAMPLE_PTS (stream, &stream->samples[0]), res);

Is it safe to assume that the first sample has the smallest PTS? What about a
MOOF that starts (in display order) with a B frame? For example BBIBBP (display
order) will appear in the stream as IBBPBB (decode order) with the PTS of the I
greater than the PTS of the B.

This is not an issue for DASH:
Each Media Segment shall contain one or more whole self-contained movie
fragments. A whole, self-contained movie fragment is a movie fragment (‘moof’)
box and a media data (‘mdat’) box that contains all the media samples that do
not use external data references referenced by the track runs in the movie
fragment box

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