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 756851 - dashdemux: If downloading the last fragment fails, consider this as EOS and not ERROR
dashdemux: If downloading the last fragment fails, consider this as EOS and n...
Status: RESOLVED DUPLICATE of bug 752480
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-10-20 10:21 UTC by Rajat Verma
Modified: 2015-10-20 11:17 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rajat Verma 2015-10-20 10:21:54 UTC
I am playing below dash stream:

http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-bs-2s/dashevc-live-bs-2s.mpd

for this, number of audio fragments come to 
= mediaPresentationDuration / (duration / timescale)
= 151.85 seconds / (46707/24000)
= 78.02

This is converted to 79 fragments for audio.
But on server, last audio fragment is dashevc-live-bs-2s-a1n78.m4s

I get below error after playback starts (after 15-20 sec)

ERROR: gst-apps received GST_RESOURCE_ERROR error 3 (Not Found: ../../../ext/soup/gstsouphttpsrc.c(1587): gst_soup_http_src_parse_status (): /GstPlayBin:player/GstURIDecodeBin:uridecodebin0/GstDecodeBin:decodebin0/GstDashDemux:dashdemux0/GstSoupHTTPSrc:souphttpsrc0:
Not Found (404), URL: http://download.tsi.telecom-paristech.fr/gpac/dataset/dash/uhd/dashevc-live-bs-2s/dashevc-live-bs-2s-a1n79.m4s, Redirect to: (NULL)
), from Error on stream dashdemux0:audio_00

I have below commit there in gst-plugins-bad:

commit d010929fac09cd6ec4387240182ba9f940183e64
Author: Sebastian Dröge <sebastian@centricular.com>
Date:   Tue Jul 7 18:37:24 2015 +0300

    adaptivedemux: If downloading the last fragment fails, consider this as EOS and not ERROR
    
    Sometimes the last fragment does not exist because of rounding errors with the
    durations. Just finish the stream gracefully instead of erroring out instead.
Comment 1 Rajat Verma 2015-10-20 11:17:18 UTC

*** This bug has been marked as a duplicate of bug 752480 ***