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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Sat Jul 25 16:18:23 PDT 2015


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

--- Comment #11 from Steinar H. Gunderson <steinar+gnomebugs at gunderson.no> ---
OK, so a few observations:

- The issue with sample offsets being behind the demux offsets is because
samples are supposed to be relative to moof_offset (the standard says they are
relative to the “file” and not any given chunk, but in a fragmented stream,
“file” really is defined by the moof box). However, moof_offset isn't always
properly set; it is set if moof is encountered in
gst_qtdemux_loop_state_header(), but not in  gst_qtdemux_process_adapter().

- In the case marked “data atom emptied; resuming atom scan” it seems it just
forgets to actually drop the excess data. demux->todrop and demux->neededbytes
is reduced, but demux->offset isn't increased and gst_adapter_flush isn't
called.

This together with the previously mentioned TF_BASE_DATA_OFFSET support makes
gst-play-1.0 actually play my live streams from HTTP, although it still doesn't
fix the Firefox case.

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