GNOME Bugzilla – Bug 786055
dashdemux: Fix-for-multiple-level-SIDX-box
Last modified: 2017-08-11 07:14:03 UTC
As per ISOBMFF spec, reference_type: when set to 1 indicates that the reference is to a segment index (‘sidx’) box; otherwise the reference is to media content This behavior is observed in the below MPD http://dash.akamaized.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd In the attached patch, second level of SIDX is parsed and table is formed which refers to MOOF box.
Created attachment 357270 [details] [review] patch
This is probably not enough yet. The other SIDX tables with reference_type==0 could be anywhere in the stream before the corresponding moof boxes, and we need to parse them correctly then and remember them all somehow. And when seeking we need to first go to the corresponding SIDX table somewhere in the file to then find the position of the moof from it.
This is also a duplicate of bug #781489, let's continue any discussions there. *** This bug has been marked as a duplicate of bug 781489 ***