After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786055 - dashdemux: Fix-for-multiple-level-SIDX-box
dashdemux: Fix-for-multiple-level-SIDX-box
Status: RESOLVED DUPLICATE of bug 781489
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-08-09 14:15 UTC by Nirmal Palanisamy
Modified: 2017-08-11 07:14 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (7.81 KB, patch)
2017-08-09 14:16 UTC, Nirmal Palanisamy
none Details | Review

Description Nirmal Palanisamy 2017-08-09 14:15:32 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.
Comment 1 Nirmal Palanisamy 2017-08-09 14:16:38 UTC
Created attachment 357270 [details] [review]
patch
Comment 2 Sebastian Dröge (slomo) 2017-08-09 14:58:31 UTC
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.
Comment 3 Sebastian Dröge (slomo) 2017-08-11 07:14:03 UTC
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 ***