[Libav-user] xbmc: streaming m3u8 "playlists" causes stuttering video (How to debug trace/ffmpeg libs?)

Lars Hammarstrand lars.hammarstrand at gmail.com
Sun Feb 3 00:04:20 CET 2013


Hello folks!

We are having some problems with the ffmpeg libraries in xbmc. Streaming *
HLS M3U8* urls often causes stuttering video. For example, when testing the
m3u8 url below, BANDWIDTH "984000" and "2793000" streams are stuttering,
the rest works as normal. If you download the streams (ffmpeg -c copy) and
play them locally they all work.  All streams also works fine
using mplayer2.  Please have look at the xbmc forum link:  "BUG No
cache/buffer is used for m3u8 playlists, causes stuttering
video"<http://forum.xbmc.org/showthread.php?tid=154016>.
 Also, check this recorded example of a stuttering video (same as in forum
post #8): "SVT.Play.Screen.Recording.mp4"<http://dl.dropbox.com/u/21767340/XBMC/SVT.Play.Screen.Recording.mp4>
.

Some questions:

 1. Could this be it's buffering problem, i.e do we need to enable some
sort of caching for m3u8 streams?
 2. Are there any smart tricks we can use to debug/trace m3u8 streams with
the ffmpeg libs? Any pointers, suggestions and ideas are appreciated!
 3. Anyone seen a simular problem in the past?
--

Thanks in advance!
Regards, Lars.


http://svtplay7m-f.akamaihd.net/i/se//open/20130129/1230799-001A/DIVING_WITH_CRO-001A-23b378251ee65366_,900,348,564,1680,2800,.mp4.csmil/master.m3u8
========================================================================================================================
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=*984000*,RESOLUTION=768x432,CODECS="avc1.77.30,
mp4a.40.5"
http://svtplay7m-f.akamaihd.net/i/se/open/20130129/1230799-001A/DIVING_WITH_CRO-001A-23b378251ee65366_,900,348,564,1680,2800,.mp4.csmil/index_0_av.m3u8?null=&e=b2a7ace1bf661c32&id=
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=*345000*,RESOLUTION=512x288,CODECS="avc1.66.30,
mp4a.40.5"
http://svtplay7m-f.akamaihd.net/i/se/open/20130129/1230799-001A/DIVING_WITH_CRO-001A-23b378251ee65366_,900,348,564,1680,2800,.mp4.csmil/index_1_av.m3u8?null=&e=b2a7ace1bf661c32&id=
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=*561000*,RESOLUTION=512x288,CODECS="avc1.66.30,
mp4a.40.5"
http://svtplay7m-f.akamaihd.net/i/se/open/20130129/1230799-001A/DIVING_WITH_CRO-001A-23b378251ee65366_,900,348,564,1680,2800,.mp4.csmil/index_2_av.m3u8?null=&e=b2a7ace1bf661c32&id=
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=*1677000*,RESOLUTION=1024x576,CODECS="avc1.77.30,
mp4a.40.5"
http://svtplay7m-f.akamaihd.net/i/se/open/20130129/1230799-001A/DIVING_WITH_CRO-001A-23b378251ee65366_,900,348,564,1680,2800,.mp4.csmil/index_3_av.m3u8?null=&e=b2a7ace1bf661c32&id=
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=*2793000*,RESOLUTION=1280x720,CODECS="avc1.77.30,
mp4a.40.5"
http://svtplay7m-f.akamaihd.net/i/se/open/20130129/1230799-001A/DIVING_WITH_CRO-001A-23b378251ee65366_,900,348,564,1680,2800,.mp4.csmil/index_4_av.m3u8?null=&e=b2a7ace1bf661c32&id
=======================================================================================================================
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130203/b070a864/attachment.html>


More information about the Libav-user mailing list