[FFmpeg-trac] #3814(undetermined:new): Apple HTTP / HLS audio stream sometimes glitches or stops playing altogether
FFmpeg
trac at avcodec.org
Tue Jul 29 22:30:57 CEST 2014
#3814: Apple HTTP / HLS audio stream sometimes glitches or stops playing
altogether
-------------------------------------+-------------------------------------
Reporter: iceman12c | Type: defect
Status: new | Priority: normal
Component: | Version: git-
undetermined | master
Keywords: Apple HTTP | Blocked By:
HLS m3u8 | Reproduced by developer: 0
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
With http://radio_ckis-lh.akamaihd.net/i/TOR925_1@176956/master.m3u8, and
running ffplay, in about 50% of the runs it glitches (seems to be because
it doesn't properly detect the embedded mjpeg stream #0:1). In other
instances, it properly detects the mjpeg stream but the audio queue runs
down to 0 and audio stops playing.
Happens on both 2.3 release and master.
How to reproduce:
{{{
GLITCH INSTANCE (notice no mjpeg #0:1 stream):
$ ./ffplay "http://radio_ckis-
lh.akamaihd.net/i/TOR925_1 at 176956/master.m3u8"
ffplay version N-65064-gd554d00 Copyright (c) 2003-2014 the FFmpeg
developers
built on Jul 28 2014 09:51:23 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
configuration:
libavutil 52. 92.101 / 52. 92.101
libavcodec 55. 71.100 / 55. 71.100
libavformat 55. 49.100 / 55. 49.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
[hls,applehttp @ 0x7fa73901ee00] Estimating duration from bitrate, this
may be inaccurate
Input #0, hls,applehttp, from 'http://radio_ckis-
lh.akamaihd.net/i/TOR925_1 at 176956/master.m3u8':
Duration: 00:00:00.03, start: 16048.711433, bitrate: 88 kb/s
Program 0
Metadata:
variant_bitrate : 48000
Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 40 kb/s
Metadata:
variant_bitrate : 48000
Program 1
Metadata:
variant_bitrate : 48000
Stream #0:1: Audio: aac, 44100 Hz, stereo, fltp, 47 kb/s
Metadata:
variant_bitrate : 48000
[hls,applehttp @ 0x7fa73901ee00] No longer receiving playlist 0
16052.44 M-A: 0.000 fd= 0 aq= 2KB vq= 0KB sq= 0B f=0/0
====
STOPS PLAYING INSTANCE (notice mjpeg detected but aq size is much higher
than previous instance and eventually runs down to 0):
$ ./ffplay "http://radio_ckis-
lh.akamaihd.net/i/TOR925_1 at 176956/master.m3u8"
ffplay version N-65064-gd554d00 Copyright (c) 2003-2014 the FFmpeg
developers
built on Jul 28 2014 09:51:23 with Apple LLVM version 5.1
(clang-503.0.40) (based on LLVM 3.4svn)
configuration:
libavutil 52. 92.101 / 52. 92.101
libavcodec 55. 71.100 / 55. 71.100
libavformat 55. 49.100 / 55. 49.100
libavdevice 55. 13.102 / 55. 13.102
libavfilter 4. 11.102 / 4. 11.102
libswscale 2. 6.100 / 2. 6.100
libswresample 0. 19.100 / 0. 19.100
[hls,applehttp @ 0x7f89b8814400] Estimating duration from bitrate, this
may be inaccurate
Input #0, hls,applehttp, from 'http://radio_ckis-
lh.akamaihd.net/i/TOR925_1 at 176956/master.m3u8':
Duration: 00:00:00.02, start: 16098.704433, bitrate: 106 kb/s
Program 0
Metadata:
variant_bitrate : 48000
Stream #0:0: Audio: aac, 44100 Hz, stereo, fltp, 47 kb/s
Metadata:
variant_bitrate : 48000
Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg), 25x25 [SAR 1:1 DAR
1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
variant_bitrate : 48000
Program 1
Metadata:
variant_bitrate : 48000
Stream #0:2: Audio: aac, 44100 Hz, stereo, fltp, 59 kb/s
Metadata:
variant_bitrate : 48000
Stream #0:3: Video: mjpeg, yuvj420p(pc, bt470bg), 25x25 [SAR 1:1 DAR
1:1], 90k tbr, 90k tbn, 90k tbc
Metadata:
variant_bitrate : 48000
[hls,applehttp @ 0x7f89b8814400] No longer receiving playlist 1
[swscaler @ 0x7f89ba044a00] deprecated pixel format used, make sure you
did set range correctly
16107.53 A-V: nan fd= 0 aq= 176KB vq= 0KB sq= 0B f=0/0
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/3814>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list