[FFmpeg-trac] #6125(undetermined:new): some servers refuse to responde for requests with Range header(header set by ffmpeg)
FFmpeg
trac at avcodec.org
Sat Feb 4 11:55:03 EET 2017
#6125: some servers refuse to responde for requests with Range header(header set
by ffmpeg)
-------------------------------------+-------------------------------------
Reporter: remitamine | Owner:
Type: defect | Status: new
Priority: normal | Component:
Version: unspecified | undetermined
Keywords: | Resolution:
Blocking: | Blocked By:
Analyzed by developer: 0 | Reproduced by developer: 0
-------------------------------------+-------------------------------------
Comment (by remitamine):
full log of ffmpeg:
{{{
ffmpeg -y -v 9 -loglevel 99 -headers 'User-Agent: Mozilla/5.0 (X11; Linux
x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
Cookie:
hdnea2=expires=1486288368~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=8ad65515a7d22a1bd4aeb252398dc27d
' -i http://androidhls-
secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8
-c copy -f mp4 'file:TTG 129-882899.mp4.part'
ffmpeg version 3.2.2 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 6.2.1 (GCC) 20160830
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. 34.100 / 55. 34.100
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.100 / 57. 56.100
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Splitting the commandline.
Reading option '-y' ... matched as option 'y' (overwrite output files)
with argument '1'.
Reading option '-v' ... matched as option 'v' (set logging level) with
argument '9'.
Reading option '-loglevel' ... matched as option 'loglevel' (set logging
level) with argument '99'.
Reading option '-headers' ... matched as AVOption 'headers' with argument
'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101
Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
Cookie:
hdnea2=expires=1486288368~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=8ad65515a7d22a1bd4aeb252398dc27d
'.
Reading option '-i' ... matched as input url with argument 'http
://androidhls-
secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8'.
Reading option '-c' ... matched as option 'c' (codec name) with argument
'copy'.
Reading option '-f' ... matched as option 'f' (force format) with argument
'mp4'.
Reading option 'file:TTG 129-882899.mp4.part' ... matched as output url.
Finished splitting the commandline.
Parsing a group of options: global .
Applying option y (overwrite output files) with argument 1.
Applying option v (set logging level) with argument 9.
Successfully parsed a group of options.
Parsing a group of options: input url http://androidhls-
secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8.
Successfully parsed a group of options.
Opening an input file: http://androidhls-
secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8.
[http @ 0x55b9f9194240] Setting default whitelist
'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
[http @ 0x55b9f9194240] request: GET http://androidhls-
secure.cdn.turner.com:80/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8
HTTP/1.1
Range: bytes=0-
Connection: close
Host: androidhls-secure.cdn.turner.com
Icy-MetaData: 1
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101
Firefox/47.0 (Chrome)
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding: gzip, deflate
Accept-Language: en-us,en;q=0.5
Cookie:
hdnea2=expires=1486288368~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=8ad65515a7d22a1bd4aeb252398dc27d
[http @ 0x55b9f9194240] header='HTTP/1.1 403 Forbidden'
[http @ 0x55b9f9194240] http_code=403
[http @ 0x55b9f9194240] HTTP error 403 Forbidden
http://androidhls-
secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8:
Server returned 403 Forbidden (access denied)
}}}
--
Ticket URL: <https://trac.ffmpeg.org/ticket/6125#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list