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 787946 - gstdashdemux : Play a dash content from non-zero offset fails and always starts from beginning.
gstdashdemux : Play a dash content from non-zero offset fails and always star...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.8.0
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2017-09-20 14:22 UTC by Debdeep
Modified: 2018-11-03 14:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Debdeep 2017-09-20 14:22:50 UTC
Dear Members,

When try to play a dash content from a non-zero offset, playback fails to start from the requested offset and always start from 0 i.e. from beginning.

The issue is only seen with contents having "isoff-on-demand" profile. This is because, in this profile, the entire content is downloaded and parsed at the beginning of the playback. Since the downloading/parsing the entire content at one go takes time, the position change request reaches dashdemux before the entire parsing is completed and is ignored.

Works fine with all the contents having "isoff-live" profile.

Use case :
- Initiate a play request for dash content.
- During pipeline creation, on receiving GST_MESSAGE_ASYNC_DONE from sink, issue a seek request to the pipeline i.e. suppose the duration of the content is 4 mins, issue a seek request to start the the playback from 2 mins,from begin.
- The playback should start from the 2nd minute instead of beginning.

URL to reproduce the issue :
http://dash.edgesuite.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd

Can you please look into this ?


Thanks
Comment 1 Marcin Kolny (IRC: loganek) 2017-09-24 21:18:43 UTC
Assigning to GStreamer team
Comment 2 Debdeep 2017-09-27 05:23:00 UTC
Dear Members,
Can you please update on this ?

Thanks
Comment 3 Debdeep 2017-10-08 17:51:53 UTC
Hi All,
Did someone get a chance to look into this ?

Thanks
Comment 4 Jun Xie 2017-10-09 11:18:27 UTC
reported URL streaming contains reference type 1 in 'sidx' box.
It is not supported yet.
Comment 5 Debdeep 2017-10-10 03:51:54 UTC
Hi, 

Can you please specify on what is not supported ? The URL can be played fine.

Also, the use case mentioned in the bug works, if some debug traces are enabled in the logs. So, looks like a timing issue.

Thanks
Comment 6 Jun Xie 2017-10-11 06:36:10 UTC
yes, (In reply to Debdeep from comment #5)
> Hi, 
> 
> Can you please specify on what is not supported ? The URL can be played fine.
> 
> Also, the use case mentioned in the bug works, if some debug traces are
> enabled in the logs. So, looks like a timing issue.
> 
> Thanks

yes, "isoff-on-demand" profile with 'sidx' has some issue.
Please refer to https://bugzilla.gnome.org/show_bug.cgi?id=788763


However, for your reported URL http://dash.edgesuite.net/dash264/TestCases/1a/sony/SNE_DASH_SD_CASE1A_REVISED.mpd


the streaming content contains reference type 1 'sidx'.
It is kinda 'sidx' reference to other 'sidx's

sidx_0 (reference type 1)
├──> sidx_1  (reference type 0)
├──> sidx_2  (reference type 0)
└──> sidx_3  (reference type 0)

it is not supported yet currently.  
so the referenced segments can not be indexed.
and there is no way to jump into specific point while seeking
Comment 7 Debdeep 2018-01-04 07:02:17 UTC
Is there some recent commit related to this ?

Thanks
Comment 8 Jun Xie 2018-01-05 02:17:24 UTC
AFAIK, no.
Comment 9 GStreamer system administrator 2018-11-03 14:13:51 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/614.