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 740461 - hlsdemux:GOPRO Cam Not streaming fine due to segment duration
hlsdemux:GOPRO Cam Not streaming fine due to segment duration
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-11-20 21:44 UTC by pgharios
Modified: 2018-11-03 13:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log of pipeline (231.44 KB, application/x-gzip)
2014-11-20 21:50 UTC, pgharios
Details

Description pgharios 2014-11-20 21:44:16 UTC
GST_DEBUG=2,*hls*:9,*mpegts*:9,*tsbase*:9  gst-launch-1.0 playbin uri=http://10.5.5.9:8080/live/amba.m3u8 video-sink=ximagesink

Problem: Lot of freeze and not a smooth video/audio streamed
avplay works fine but not gst

Thank you for having a look
Comment 1 pgharios 2014-11-20 21:50:05 UTC
Created attachment 291129 [details]
Log of pipeline
Comment 2 pgharios 2014-11-21 06:06:40 UTC
for your reference,  ffmpeg -i "http://10.5.5.9:8080/live/amba.m3u8" -an -vcodec libx264 -s 400x300 -strict experimental  -b:v 300k -b:a 4k -f flv "test.mp4" works fine
Comment 3 Thiago Sousa Santos 2014-11-21 20:47:04 UTC
Could be related to this:

ERROR             fragmented m3u8.c:1001:gst_m3u8_client_advance_fragment: Could not find current fragment

After this it starts pushing the fragments in a non-contiguous sequence:

gst_hls_demux_get_next_fragment:<hlsdemux0> Fetching next fragment http://10.5.5.9:8080/live/amba_hls-4.ts 0:00:18.000000000

gst_hls_demux_get_next_fragment:<hlsdemux0> Fetching next fragment http://10.5.5.9:8080/live/amba_hls-8.ts 0:00:18.000000000

gst_hls_demux_get_next_fragment:<hlsdemux0> Fetching next fragment http://10.5.5.9:8080/live/amba_hls-12.ts 0:00:18.00000000

...

The timestamps should be increasing by 1s for each fragment, and it seems to be skipping a few of them.
Comment 4 Thiago Sousa Santos 2014-12-24 03:49:12 UTC
It seems that the gopro hls files are much shorter than the advertised target duration.

Here I get 0.28s file and the target is 1s
Comment 5 Thiago Sousa Santos 2014-12-24 13:54:06 UTC

*** This bug has been marked as a duplicate of bug 731982 ***
Comment 6 Thiago Sousa Santos 2015-01-07 14:58:27 UTC
Reopening as it still isn't smooth because of the large difference of the real duration of the segments and the reported one. The sync is lost quickly and playback stops.
Comment 7 GStreamer system administrator 2018-11-03 13:28:52 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/193.