Changes between Version 2 and Version 3 of Ticket #6125, comment 9


Ignore:
Timestamp:
Feb 4, 2017, 3:25:01 PM (3 years ago)
Author:
remitamine
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #6125, comment 9

    v2 v3  
    11yes, it works with empty Range(with a space).
     2{{{
     3ffmpeg -y -v 9 -loglevel 99 -headers 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
     4Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
     5Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     6Accept-Encoding: gzip, deflate
     7Accept-Language: en-us,en;q=0.5
     8Cookie: hdnea2=expires=1486300705~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=3d18f7195640f7fb2a24bac51c543e9b
     9Range: 
     10' -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'
     11ffmpeg version N-83410-gb1e2192007 Copyright (c) 2000-2017 the FFmpeg developers
     12  built with gcc 6.3.1 (GCC) 20170109
     13  configuration: --disable-static --enable-avisynth --enable-avresample --enable-fontconfig --enable-gnutls --enable-gpl --enable-ladspa --enable-libass --enable-libbluray --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-libfdk-aac --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-nonfree --enable-shared --enable-version3 --enable-x11grab
     14  WARNING: library configuration mismatch
     15  avutil      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
     16  avcodec     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
     17  avformat    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
     18  avdevice    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
     19  avfilter    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
     20  avresample  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
     21  swscale     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
     22  swresample  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
     23  postproc    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
     24  libavutil      55. 46.100 / 55. 34.100
     25  libavcodec     57. 75.100 / 57. 64.101
     26  libavformat    57. 66.101 / 57. 56.100
     27  libavdevice    57.  2.100 / 57.  1.100
     28  libavfilter     6. 72.100 /  6. 65.100
     29  libavresample   3.  2.  0 /  3.  1.  0
     30  libswscale      4.  3.101 /  4.  2.100
     31  libswresample   2.  4.100 /  2.  3.100
     32  libpostproc    54.  2.100 / 54.  1.100
     33Splitting the commandline.
     34Reading option '-y' ... matched as option 'y' (overwrite output files) with argument '1'.
     35Reading option '-v' ... matched as option 'v' (set logging level) with argument '9'.
     36Reading option '-loglevel' ... matched as option 'loglevel' (set logging level) with argument '99'.
     37Reading 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)
     38Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
     39Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     40Accept-Encoding: gzip, deflate
     41Accept-Language: en-us,en;q=0.5
     42Cookie: hdnea2=expires=1486300705~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=3d18f7195640f7fb2a24bac51c543e9b
     43Range: 
     44'.
     45Reading 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'.
     46Reading option '-c' ... matched as option 'c' (codec name) with argument 'copy'.
     47Reading option '-f' ... matched as option 'f' (force format) with argument 'mp4'.
     48Reading option 'file:TTG 129-882899.mp4.part' ... matched as output url.
     49Finished splitting the commandline.
     50Parsing a group of options: global .
     51Applying option y (overwrite output files) with argument 1.
     52Applying option v (set logging level) with argument 9.
     53Successfully parsed a group of options.
     54Parsing a group of options: input url http://androidhls-secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8.
     55Successfully parsed a group of options.
     56Opening an input file: http://androidhls-secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8.
     57[http @ 0x1fa3240] Setting default whitelist 'http,https,tls,rtp,tcp,udp,crypto,httpproxy'
     58[http @ 0x1fa3240] request: GET http://androidhls-secure.cdn.turner.com:80/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6_vod.m3u8 HTTP/1.1
     59Connection: close
     60Host: androidhls-secure.cdn.turner.com
     61Icy-MetaData: 1
     62User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
     63Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
     64Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     65Accept-Encoding: gzip, deflate
     66Accept-Language: en-us,en;q=0.5
     67Cookie: hdnea2=expires=1486300705~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=3d18f7195640f7fb2a24bac51c543e9b
     68Range: 
     69
     70
     71[http @ 0x1fa3240] header='HTTP/1.1 200 OK'
     72[http @ 0x1fa3240] http_code=200
     73[http @ 0x1fa3240] header='Server: ngx_openresty'
     74[http @ 0x1fa3240] header='Content-Type: application/x-mpegurl'
     75[http @ 0x1fa3240] header='Content-Length: 11789'
     76[http @ 0x1fa3240] header='Last-Modified: Mon, 30 Jan 2017 12:07:36 GMT'
     77[http @ 0x1fa3240] header='Accept-Ranges: bytes'
     78[http @ 0x1fa3240] header='Expires: Sat, 04 Feb 2017 13:18:26 GMT'
     79[http @ 0x1fa3240] header='Cache-Control: max-age=0, no-cache'
     80[http @ 0x1fa3240] header='Pragma: no-cache'
     81[http @ 0x1fa3240] header='Date: Sat, 04 Feb 2017 13:18:26 GMT'
     82[http @ 0x1fa3240] header='connection: keep-alive'
     83[http @ 0x1fa3240] header=''
     84Probing hls,applehttp score:100 size:2048
     85[hls,applehttp @ 0x1fa2700] Format hls,applehttp probed with size=2048 and score=100
     86[hls,applehttp @ 0x1fa2700] new_program: id=0x0000
     87[hls,applehttp @ 0x1fa2700] HLS request for url 'http://androidhls-secure.cdn.turner.com/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6/10984_Period1/segment0.ts', offset 0, playlist 0
     88[http @ 0x1fc35c0] request: GET http://androidhls-secure.cdn.turner.com:80/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/keyb2d2a4a2371745db81fb02d21c919cc0-0.key HTTP/1.1
     89Connection: close
     90Host: androidhls-secure.cdn.turner.com
     91Icy-MetaData: 1
     92User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
     93Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
     94Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     95Accept-Encoding: gzip, deflate
     96Accept-Language: en-us,en;q=0.5
     97Cookie: hdnea2=expires=1486300705~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=3d18f7195640f7fb2a24bac51c543e9b
     98Range: 
     99
     100
     101[http @ 0x1fc35c0] header='HTTP/1.1 200 OK'
     102[http @ 0x1fc35c0] http_code=200
     103[http @ 0x1fc35c0] header='Server: ngx_openresty'
     104[http @ 0x1fc35c0] header='Content-Type: text/html'
     105[http @ 0x1fc35c0] header='Last-Modified: Mon, 30 Jan 2017 12:07:46 GMT'
     106[http @ 0x1fc35c0] header='Accept-Ranges: bytes'
     107[http @ 0x1fc35c0] header='Vary: Accept-Encoding'
     108[http @ 0x1fc35c0] header='Content-Encoding: gzip'
     109[http @ 0x1fc35c0] header='Content-Length: 37'
     110[http @ 0x1fc35c0] header='Expires: Sat, 04 Feb 2017 13:18:26 GMT'
     111[http @ 0x1fc35c0] header='Cache-Control: max-age=0, no-cache'
     112[http @ 0x1fc35c0] header='Pragma: no-cache'
     113[http @ 0x1fc35c0] header='Date: Sat, 04 Feb 2017 13:18:26 GMT'
     114[http @ 0x1fc35c0] header='connection: keep-alive'
     115[http @ 0x1fc35c0] header=''
     116[AVIOContext @ 0x1fceda0] Statistics: 16 bytes read, 0 seeks
     117[http @ 0x1fc3d60] request: GET http://androidhls-secure.cdn.turner.com:80/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/CARE1001271700019032_Layer6/10984_Period1/segment0.ts HTTP/1.1
     118Connection: close
     119Host: androidhls-secure.cdn.turner.com
     120Icy-MetaData: 1
     121User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
     122Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
     123Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
     124Accept-Encoding: gzip, deflate
     125Accept-Language: en-us,en;q=0.5
     126Cookie: hdnea2=expires=1486300705~access=/toon/big/secure/tve/2017-01/CARE1001271700019032_HLS/*~md5=3d18f7195640f7fb2a24bac51c543e9b
     127Range: 
     128
     129
     130[http @ 0x1fc3d60] header='HTTP/1.1 200 OK'
     131[http @ 0x1fc3d60] http_code=200
     132[http @ 0x1fc3d60] header='Server: ngx_openresty'
     133[http @ 0x1fc3d60] header='Content-Type: video/mp2t'
     134[http @ 0x1fc3d60] header='Content-Length: 2261280'
     135[http @ 0x1fc3d60] header='Last-Modified: Mon, 30 Jan 2017 12:05:58 GMT'
     136[http @ 0x1fc3d60] header='Accept-Ranges: bytes'
     137[http @ 0x1fc3d60] header='Cache-Control: max-age=497'
     138[http @ 0x1fc3d60] header='Expires: Sat, 04 Feb 2017 13:26:44 GMT'
     139[http @ 0x1fc3d60] header='Date: Sat, 04 Feb 2017 13:18:27 GMT'
     140[http @ 0x1fc3d60] header='connection: keep-alive'
     141}}}