[FFmpeg-trac] #4930(avformat:open): FFmpeg fails to detect video stream on Encrypted HLS
FFmpeg
trac at avcodec.org
Thu Jul 21 13:53:06 EEST 2016
#4930: FFmpeg fails to detect video stream on Encrypted HLS
-------------------------------------+-------------------------------------
Reporter: | Owner:
gorilla.maguila | Status: open
Type: defect | Component: avformat
Priority: normal | Resolution:
Version: git-master | Blocked By:
Keywords: hls | Reproduced by developer: 1
Blocking: |
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by mobdro):
This issue is still reproducible with 3.1.1:
{{{
ffplay -user-agent "Mozilla" http://cdn.rasset.ie/hls-
live/_definst_/rte2/rte2-270.m3u8 -loglevel debug
ffplay version 3.1.1 Copyright (c) 2003-2016 the FFmpeg developers
built with gcc 6.1.1 (GCC) 20160602
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-avisynth --enable-avresample --enable-fontconfig
--enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libass
--enable-libbluray --enable-libfreetype --enable-libfribidi --enable-
libgsm --enable-libiec61883 --enable-libmodplug --enable-libmp3lame
--enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg
--enable-libopus --enable-libpulse --enable-libschroedinger --enable-
libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-
libv4l2 --enable-libvidstab --enable-libvorbis --enable-libvpx --enable-
libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-netcdf
--enable-shared --enable-version3 --enable-x11grab
libavutil 55. 28.100 / 55. 28.100
libavcodec 57. 48.101 / 57. 48.101
libavformat 57. 41.100 / 57. 41.100
libavdevice 57. 0.101 / 57. 0.101
libavfilter 6. 47.100 / 6. 47.100
libavresample 3. 0. 0 / 3. 0. 0
libswscale 4. 1.100 / 4. 1.100
libswresample 2. 1.100 / 2. 1.100
libpostproc 54. 0.100 / 54. 0.100
[http @ 0x7f1ccc007980] Setting default whitelist
'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0x7f1ccc007980] request: GET /hls-
live/_definst_/rte2/rte2-270.m3u8 HTTP/1.1
User-Agent: Mozilla
Accept: */*
Range: bytes=0-
Connection: close
Host: cdn.rasset.ie
Icy-MetaData: 1
[hls,applehttp @ 0x7f1ccc009240] Format hls,applehttp probed with
size=2048 and score=100
[hls,applehttp @ 0x7f1ccc009240] HLS request for url 'http://cdn.rasset.ie
/hls-live/streams/events/_definst_/rte2/rte2-270Num2041.ts', offset 0,
playlist 0
[https @ 0x7f1ccc00fce0] request: GET /hls-key/rte2.bin HTTP/1.10
User-Agent: Mozilla
Accept: */*
Connection: close
Host: www.rte.ie
Icy-MetaData: 1
[AVIOContext @ 0x7f1ccc596780] Statistics: 16 bytes read, 0 seeks
[http @ 0x7f1ccc56fc00] request: GET /hls-
live/streams/events/_definst_/rte2/rte2-270Num2041.ts HTTP/1.1
User-Agent: Mozilla
Accept: */*
Connection: close
Host: cdn.rasset.ie
Icy-MetaData: 1
Format mpegts probed with size=2048 and score=50B sq= 0B f=0/0
[mpegts @ 0x7f1ccc00edc0] stream=0 stream_type=f pid=102 prog_reg_desc=
[mpegts @ 0x7f1ccc00edc0] Before avformat_find_stream_info() pos: 0 bytes
read:32768 seeks:0 nb_streams:1
[mpegts @ 0x7f1ccc00edc0] All info found
[mpegts @ 0x7f1ccc00edc0] After avformat_find_stream_info() pos: 752 bytes
read:32768 seeks:0 frames:1
[hls,applehttp @ 0x7f1ccc009240] Before avformat_find_stream_info() pos:
642 bytes read:642 seeks:0 nb_streams:1
[hls,applehttp @ 0x7f1ccc009240] All info found
[hls,applehttp @ 0x7f1ccc009240] After avformat_find_stream_info() pos:
642 bytes read:642 seeks:0 frames:1
Input #0, hls,applehttp, from 'http://cdn.rasset.ie/hls-
live/_definst_/rte2/rte2-270.m3u8':
Duration: N/A, start: 16328.700000, bitrate: 82 kb/s
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0, 1, 1/90000: Audio: aac (LC) ([15][0][0][0] / 0x000F),
48000 Hz, stereo, fltp, 82 kb/s
detected 12 logical cores
[ffplay_abuffer @ 0x7f1ccc10b3e0] Setting 'sample_rate' to value '48000'
[ffplay_abuffer @ 0x7f1ccc10b3e0] Setting 'sample_fmt' to value 'fltp'
[ffplay_abuffer @ 0x7f1ccc10b3e0] Setting 'channels' to value '2'
[ffplay_abuffer @ 0x7f1ccc10b3e0] Setting 'time_base' to value '1/48000'
[ffplay_abuffer @ 0x7f1ccc10b3e0] Setting 'channel_layout' to value '0x3'
[ffplay_abuffer @ 0x7f1ccc10b3e0] tb:1/48000 samplefmt:fltp
samplerate:48000 chlayout:0x3
[ffplay_abuffersink @ 0x7f1ccc659900] auto-inserting filter 'auto-inserted
resampler 0' between the filter 'ffplay_abuffer' and the filter
'ffplay_abuffersink'
[AVFilterGraph @ 0x7f1ccc123b00] query_formats: 2 queried, 0 merged, 3
already done, 0 delayed
[auto-inserted resampler 0 @ 0x7f1ccc5878c0] [SWR @ 0x7f1ccc8dbae0] Using
fltp internally between filters
[auto-inserted resampler 0 @ 0x7f1ccc5878c0] ch:2 chl:stereo fmt:fltp
r:48000Hz -> ch:2 chl:stereo fmt:s16 r:48000Hz
[mpegts @ 0x7f1ccc00edc0] stream=1 stream_type=1b pid=101 prog_reg_desc=
Audio frame changed from rate:48000 ch:2 fmt:fltp layout:stereo serial:-1
to rate:48000 ch:2 fmt:fltp layout:stereo serial:1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
[NULL @ 0x7f1ccc3c1280] SPS unavailable in decode_picture_timing
[NULL @ 0x7f1ccc3c1280] non-existing PPS 0 referenced
[hls,applehttp @ 0x7f1ccc009240] Invalid stream index 1
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4930#comment:8>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list