ITV - ffmpeg exited with code 1 #12503

Closed
opened 2026-02-21 05:25:35 -05:00 by deekerman · 1 comment
Owner

Originally created by @jefro108 on GitHub (Dec 30, 2017).

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.12.31. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.12.31

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):

youtube-dl https://www.itv.com/hub/victoria/2a4229a0017 -v
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'https://www.itv.com/hub/victoria/2a4229a0017', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.12.31
[debug] Python version 2.7.10 - Darwin-16.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.4, ffprobe 3.4
[debug] Proxy map: {}
[debug] Using fake IP 25.201.44.47 (GB) as X-Forwarded-For.
[ITV] 2a4229a0017: Downloading webpage
[ITV] 2a4229a0017: Downloading XML
[ITV] 2a4229a0017: Downloading JSON metadata
[ITV] 2a4229a0017: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8'
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: Victoria - Comfort and Joy-2a4229a0017.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
X-Forwarded-For: 25.201.44.47
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
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
Cookie: test_cookie=allowed; hdntl=exp=1514714168~acl=%2f*~hmac=db010c1f4d5ac7eb7ccb2874f9ce60914ca96ef06ee352bcf33760129fcaea6b
' -i 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8' -c copy -f mp4 'file:Victoria - Comfort and Joy-2a4229a0017.mp4.part'
ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 9.0.0 (clang-900.0.39.2)
  configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-libfreetype --enable-libmp3lame --enable-librubberband --enable-libtesseract --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3
  libavutil      55. 78.100 / 55. 78.100
  libavcodec     57.107.100 / 57.107.100
  libavformat    57. 83.100 / 57. 83.100
  libavdevice    57. 10.100 / 57. 10.100
  libavfilter     6.107.100 /  6.107.100
  libavresample   3.  7.  0 /  3.  7.  0
  libswscale      4.  8.100 /  4.  8.100
  libswresample   2.  9.100 /  2.  9.100
  libpostproc    54.  7.100 / 54.  7.100
[hls,applehttp @ 0x7ffc64009a00] HLS request for url 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-1.ts', offset 0, playlist 0
[hls,applehttp @ 0x7ffc64009a00] Opening 'https://itvpnp.live.ott.irdeto.com/HLS/GetKey.aspx?CrmId=itvpnp&AccountId=itvpnp&ContentId=2-4229-0017-001_18' for reading
[hls,applehttp @ 0x7ffc64009a00] Opening 'crypto+https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-1.ts' for reading
[h264 @ 0x7ffc64026800] Reinit context to 896x512, pix_fmt: yuv420p
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=903600, dts=907200, size=617
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=907200, dts=910800, size=999
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=903600, dts=907200, size=617
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=910800, dts=914400, size=1297
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=907200, dts=910800, size=999
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=910800, dts=914400, size=1297
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=918000, dts=921600, size=1583
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=921600, dts=925200, size=1942
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=918000, dts=921600, size=1583
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=925200, dts=928800, size=4889
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=921600, dts=925200, size=1942
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=925200, dts=928800, size=4889
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=932400, dts=936000, size=8488
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=936000, dts=939600, size=11661
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=932400, dts=936000, size=8488
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=939600, dts=943200, size=11910
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=936000, dts=939600, size=11661
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=939600, dts=943200, size=11910
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=946800, dts=950400, size=11198
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=950400, dts=954000, size=7782
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=946800, dts=950400, size=11198
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=954000, dts=957600, size=6460
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=950400, dts=954000, size=7782
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=954000, dts=957600, size=6460
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=961200, dts=964800, size=2730
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=961200, dts=964800, size=2730
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=968400, dts=972000, size=4510
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=972000, dts=975600, size=2986
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=968400, dts=972000, size=4510
Input #0, hls,applehttp, from 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8':
  Duration: 01:29:36.12, start: 10.000000, bitrate: 0 kb/s
  Program 0 
    Metadata:
      variant_bitrate : 0
    Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 896x504 (896x512) [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc
    Metadata:
      variant_bitrate : 0
Output #0, mp4, to 'file:Victoria - Comfort and Joy-2a4229a0017.mp4.part':
  Metadata:
    encoder         : Lavf57.83.100
    Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 896x504 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc
    Metadata:
      variant_bitrate : 0
    Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp
    Metadata:
      variant_bitrate : 0
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
  Stream #0:0 -> #0:1 (copy)
Press [q] to stop, [?] for help
[mp4 @ 0x7ffc64801200] Invalid DTS: 7200 PTS: 3600 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 10800 PTS: 7200 in output stream 0:0, replacing by guess
Automatically inserted bitstream filter 'aac_adtstoasc'; args=''
[mp4 @ 0x7ffc64801200] Invalid DTS: 14400 PTS: 10800 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 21600 PTS: 18000 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 25200 PTS: 21600 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 28800 PTS: 25200 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 36000 PTS: 32400 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 39600 PTS: 36000 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 43200 PTS: 39600 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 50400 PTS: 46800 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 54000 PTS: 50400 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 57600 PTS: 54000 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 64800 PTS: 61200 in output stream 0:0, replacing by guess
[mp4 @ 0x7ffc64801200] Invalid DTS: 72000 PTS: 68400 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=972000, dts=975600, size=2986
[mp4 @ 0x7ffc64801200] Invalid DTS: 75600 PTS: 72000 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=979200, dts=982800, size=3733
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=982800, dts=986400, size=3011
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=979200, dts=982800, size=3733
[mp4 @ 0x7ffc64801200] Invalid DTS: 82800 PTS: 79200 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=986400, dts=990000, size=2022
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=982800, dts=986400, size=3011
[mp4 @ 0x7ffc64801200] Invalid DTS: 86400 PTS: 82800 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=986400, dts=990000, size=2022
[mp4 @ 0x7ffc64801200] Invalid DTS: 90000 PTS: 86400 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=993600, dts=997200, size=2136
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=997200, dts=1000800, size=5918
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=993600, dts=997200, size=2136
[mp4 @ 0x7ffc64801200] Invalid DTS: 97200 PTS: 93600 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1000800, dts=1004400, size=5439
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=997200, dts=1000800, size=5918
[mp4 @ 0x7ffc64801200] Invalid DTS: 100800 PTS: 97200 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=1000800, dts=1004400, size=5439
[mp4 @ 0x7ffc64801200] Invalid DTS: 104400 PTS: 100800 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1008000, dts=1011600, size=2184
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1011600, dts=1015200, size=2387
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=1008000, dts=1011600, size=2184
[mp4 @ 0x7ffc64801200] Invalid DTS: 111600 PTS: 108000 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=1011600, dts=1015200, size=2387
[mp4 @ 0x7ffc64801200] Invalid DTS: 115200 PTS: 111600 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1018800, dts=1022400, size=2282
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1022400, dts=1026000, size=2229
..................

[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104220000, dts=104223600, size=1318
[mp4 @ 0x7ffc64801200] Invalid DTS: 103323600 PTS: 103320000 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104227200, dts=104230800, size=1606
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104230800, dts=104234400, size=1782
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104227200, dts=104230800, size=1606
[mp4 @ 0x7ffc64801200] Invalid DTS: 103330800 PTS: 103327200 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104234400, dts=104238000, size=1352
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104230800, dts=104234400, size=1782
[mp4 @ 0x7ffc64801200] Invalid DTS: 103334400 PTS: 103330800 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104234400, dts=104238000, size=1352
[mp4 @ 0x7ffc64801200] Invalid DTS: 103338000 PTS: 103334400 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104241600, dts=104245200, size=1167
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104245200, dts=104248800, size=992
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104241600, dts=104245200, size=1167
[mp4 @ 0x7ffc64801200] Invalid DTS: 103345200 PTS: 103341600 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104245200, dts=104248800, size=992
[mp4 @ 0x7ffc64801200] Invalid DTS: 103348800 PTS: 103345200 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104252400, dts=104256000, size=952
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104256000, dts=104259600, size=1023
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104252400, dts=104256000, size=952
[mp4 @ 0x7ffc64801200] Invalid DTS: 103356000 PTS: 103352400 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104256000, dts=104259600, size=1023
[mp4 @ 0x7ffc64801200] Invalid DTS: 103359600 PTS: 103356000 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104263200, dts=104266800, size=1104
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104266800, dts=104270400, size=888
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104263200, dts=104266800, size=1104
[mp4 @ 0x7ffc64801200] Invalid DTS: 103366800 PTS: 103363200 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104266800, dts=104270400, size=888
[mp4 @ 0x7ffc64801200] Invalid DTS: 103370400 PTS: 103366800 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104274000, dts=104277600, size=1181
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104277600, dts=104281200, size=1393
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104274000, dts=104277600, size=1181
[mp4 @ 0x7ffc64801200] Invalid DTS: 103377600 PTS: 103374000 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104281200, dts=104284800, size=1064
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104277600, dts=104281200, size=1393
[mp4 @ 0x7ffc64801200] Invalid DTS: 103381200 PTS: 103377600 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104281200, dts=104284800, size=1064
[mp4 @ 0x7ffc64801200] Invalid DTS: 103384800 PTS: 103381200 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104288400, dts=104292000, size=1150
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104292000, dts=104295600, size=953
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104288400, dts=104292000, size=1150
[mp4 @ 0x7ffc64801200] Invalid DTS: 103392000 PTS: 103388400 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104292000, dts=104295600, size=953
[mp4 @ 0x7ffc64801200] Invalid DTS: 103395600 PTS: 103392000 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104299200, dts=104302800, size=1067
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104302800, dts=104306400, size=918
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104299200, dts=104302800, size=1067
[mp4 @ 0x7ffc64801200] Invalid DTS: 103402800 PTS: 103399200 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104302800, dts=104306400, size=918
[mp4 @ 0x7ffc64801200] Invalid DTS: 103406400 PTS: 103402800 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104310000, dts=104313600, size=1082
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104313600, dts=104317200, size=993
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104310000, dts=104313600, size=1082
[mp4 @ 0x7ffc64801200] Invalid DTS: 103413600 PTS: 103410000 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104313600, dts=104317200, size=993
[mp4 @ 0x7ffc64801200] Invalid DTS: 103417200 PTS: 103413600 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104320800, dts=104324400, size=1096
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104324400, dts=104328000, size=972
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104320800, dts=104324400, size=1096
[mp4 @ 0x7ffc64801200] Invalid DTS: 103424400 PTS: 103420800 in output stream 0:0, replacing by guess
[tls @ 0x7ffc63cb0d20] IO Error: -9845
[tls @ 0x7ffc63cb0d20] IO Error: -9806
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104324400, dts=104328000, size=972
[mp4 @ 0x7ffc64801200] Invalid DTS: 103428000 PTS: 103424400 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104331600, dts=104335200, size=1432
[tls @ 0x7ffc63cb0d20] IO Error: -9806
[hls,applehttp @ 0x7ffc64009a00] HLS request for url 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-97.ts', offset 0, playlist 0
[hls,applehttp @ 0x7ffc64009a00] Opening 'crypto+https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-97.ts' for reading
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104335200, dts=104338800, size=1077
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104331600, dts=104335200, size=1432
[mp4 @ 0x7ffc64801200] Invalid DTS: 103435200 PTS: 103431600 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] PES packet size mismatch
frame=28733 fps=197 q=-1.0 size=  204032kB time=00:19:09.24 bitrate=1454.4kbits/[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104335200, dts=104338800, size=1077
[mp4 @ 0x7ffc64801200] Invalid DTS: 103438800 PTS: 103435200 in output stream 0:0, replacing by guess
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104583600, dts=104587200, size=1133
[mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104587200, dts=104590800, size=1266
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104583600, dts=104587200, size=1133
[mp4 @ 0x7ffc64801200] Invalid DTS: 103687200 PTS: 103683600 in output stream 0:0, replacing by guess
[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104587200, dts=104590800, size=1266
[mp4 @ 0x7ffc64801200] Invalid DTS: 103690800 PTS: 103687200 in output stream 0:0, replacing by guess
[AVBSFContext @ 0x7ffc63cc4f80] Error parsing ADTS frame header!
[AVBSFContext @ 0x7ffc63cc4f80] Failed to send packet to filter aac_adtstoasc for stream 0
av_interleaved_write_frame(): Invalid data found when processing input
No more output streams to write to, finishing.
frame=28738 fps=197 q=-1.0 Lsize=  205581kB time=00:19:12.08 bitrate=1461.8kbits/s speed=7.89x    
video:190856kB audio:13851kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.427139%
Input file #0 (https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8):
  Input stream #0:0 (audio): 53877 packets read (14182925 bytes); 
  Input stream #0:1 (video): 28738 packets read (195436638 bytes); 
  Total: 82615 packets (209619563 bytes) demuxed
Output file #0 (file:Victoria - Comfort and Joy-2a4229a0017.mp4.part):
  Output stream #0:0 (video): 28738 packets muxed (195436638 bytes); 
  Output stream #0:1 (audio): 53877 packets muxed (14182925 bytes); 
  Total: 82615 packets (209619563 bytes) muxed
Conversion failed!


ERROR: ffmpeg exited with code 1
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1988, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 795, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 849, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1622, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1895, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1834, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 361, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/hls.py", line 76, in real_download
    return fd.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 57, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 163, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 612, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 574, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())




Description of your issue, suggested solution and other information

I am attempting to download the Xmas episode of Victoria from ITV which fails on get-iplayer-automator - see https://github.com/Ascoware/get-iplayer-automator/issues/95#issuecomment-354187413. I am a new user of youtube-dl as I was directed to this by https://github.com/Ascoware/get-iplayer-automator/issues/95#issuecomment-354389638

I apologise for truncating the log output even though the the instructions were very clear to paste the whole output of the command line with the -v option - Github gave me an error when I tried to input the whole of the log - There was an error creating your Issue: body is too long (maximum is 65536 characters).

See https://gist.github.com/jefro108/80ffe36027d0cdb17ee1f8493fb1135e#file-gistfile1-txt to see the whole output.

Originally created by @jefro108 on GitHub (Dec 30, 2017). ## Please follow the guide below - You will be asked some questions and requested to provide some information, please read them **carefully** and answer honestly - Put an `x` into all the boxes [ ] relevant to your *issue* (like this: `[x]`) - Use the *Preview* tab to see what your issue will actually look like --- ### Make sure you are using the *latest* version: run `youtube-dl --version` and ensure your version is *2017.12.31*. If it's not, read [this FAQ entry](https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl) and update. Issues with outdated version will be rejected. - [x] I've **verified** and **I assure** that I'm running youtube-dl **2017.12.31** ### Before submitting an *issue* make sure you have: - [x] At least skimmed through the [README](https://github.com/rg3/youtube-dl/blob/master/README.md), **most notably** the [FAQ](https://github.com/rg3/youtube-dl#faq) and [BUGS](https://github.com/rg3/youtube-dl#bugs) sections - [x] [Searched](https://github.com/rg3/youtube-dl/search?type=Issues) the bugtracker for similar issues including closed ones ### What is the purpose of your *issue*? - [x] Bug report (encountered problems with youtube-dl) - [ ] Site support request (request for adding support for a new site) - [ ] Feature request (request for a new functionality) - [ ] Question - [ ] Other --- ### The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your *issue* --- ### If the purpose of this *issue* is a *bug report*, *site support request* or you are not completely sure provide the full verbose output as follows: Add the `-v` flag to **your command line** you run youtube-dl with (`youtube-dl -v <your command line>`), copy the **whole** output and insert it here. It should look similar to one below (replace it with **your** log inserted between triple ```): ``` youtube-dl https://www.itv.com/hub/victoria/2a4229a0017 -v [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'https://www.itv.com/hub/victoria/2a4229a0017', u'-v'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2017.12.31 [debug] Python version 2.7.10 - Darwin-16.7.0-x86_64-i386-64bit [debug] exe versions: ffmpeg 3.4, ffprobe 3.4 [debug] Proxy map: {} [debug] Using fake IP 25.201.44.47 (GB) as X-Forwarded-For. [ITV] 2a4229a0017: Downloading webpage [ITV] 2a4229a0017: Downloading XML [ITV] 2a4229a0017: Downloading JSON metadata [ITV] 2a4229a0017: Downloading m3u8 information [debug] Default format spec: bestvideo+bestaudio/best [debug] Invoking downloader on u'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8' [hlsnative] Downloading m3u8 manifest WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg [download] Destination: Victoria - Comfort and Joy-2a4229a0017.mp4 [debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip, deflate X-Forwarded-For: 25.201.44.47 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8 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 Cookie: test_cookie=allowed; hdntl=exp=1514714168~acl=%2f*~hmac=db010c1f4d5ac7eb7ccb2874f9ce60914ca96ef06ee352bcf33760129fcaea6b ' -i 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8' -c copy -f mp4 'file:Victoria - Comfort and Joy-2a4229a0017.mp4.part' ffmpeg version 3.4 Copyright (c) 2000-2017 the FFmpeg developers built with Apple LLVM version 9.0.0 (clang-900.0.39.2) configuration: --prefix=/usr/local/Cellar/ffmpeg/3.4 --enable-shared --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-avresample --cc=clang --host-cflags= --host-ldflags= --enable-gpl --enable-ffplay --enable-libfreetype --enable-libmp3lame --enable-librubberband --enable-libtesseract --enable-libx264 --enable-libx265 --enable-libxvid --enable-opencl --enable-videotoolbox --disable-lzma --enable-libopenjpeg --disable-decoder=jpeg2000 --extra-cflags=-I/usr/local/Cellar/openjpeg/2.3.0/include/openjpeg-2.3 libavutil 55. 78.100 / 55. 78.100 libavcodec 57.107.100 / 57.107.100 libavformat 57. 83.100 / 57. 83.100 libavdevice 57. 10.100 / 57. 10.100 libavfilter 6.107.100 / 6.107.100 libavresample 3. 7. 0 / 3. 7. 0 libswscale 4. 8.100 / 4. 8.100 libswresample 2. 9.100 / 2. 9.100 libpostproc 54. 7.100 / 54. 7.100 [hls,applehttp @ 0x7ffc64009a00] HLS request for url 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-1.ts', offset 0, playlist 0 [hls,applehttp @ 0x7ffc64009a00] Opening 'https://itvpnp.live.ott.irdeto.com/HLS/GetKey.aspx?CrmId=itvpnp&AccountId=itvpnp&ContentId=2-4229-0017-001_18' for reading [hls,applehttp @ 0x7ffc64009a00] Opening 'crypto+https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-1.ts' for reading [h264 @ 0x7ffc64026800] Reinit context to 896x512, pix_fmt: yuv420p [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=903600, dts=907200, size=617 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=907200, dts=910800, size=999 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=903600, dts=907200, size=617 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=910800, dts=914400, size=1297 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=907200, dts=910800, size=999 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=910800, dts=914400, size=1297 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=918000, dts=921600, size=1583 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=921600, dts=925200, size=1942 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=918000, dts=921600, size=1583 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=925200, dts=928800, size=4889 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=921600, dts=925200, size=1942 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=925200, dts=928800, size=4889 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=932400, dts=936000, size=8488 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=936000, dts=939600, size=11661 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=932400, dts=936000, size=8488 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=939600, dts=943200, size=11910 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=936000, dts=939600, size=11661 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=939600, dts=943200, size=11910 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=946800, dts=950400, size=11198 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=950400, dts=954000, size=7782 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=946800, dts=950400, size=11198 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=954000, dts=957600, size=6460 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=950400, dts=954000, size=7782 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=954000, dts=957600, size=6460 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=961200, dts=964800, size=2730 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=961200, dts=964800, size=2730 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=968400, dts=972000, size=4510 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=972000, dts=975600, size=2986 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=968400, dts=972000, size=4510 Input #0, hls,applehttp, from 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8': Duration: 01:29:36.12, start: 10.000000, bitrate: 0 kb/s Program 0 Metadata: variant_bitrate : 0 Stream #0:0: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp Metadata: variant_bitrate : 0 Stream #0:1: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B), yuv420p(left), 896x504 (896x512) [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 90k tbn, 50 tbc Metadata: variant_bitrate : 0 Output #0, mp4, to 'file:Victoria - Comfort and Joy-2a4229a0017.mp4.part': Metadata: encoder : Lavf57.83.100 Stream #0:0: Video: h264 (High), 1 reference frame (avc1 / 0x31637661), yuv420p(left), 896x504 (0x0) [SAR 1:1 DAR 16:9], q=2-31, 25 fps, 25 tbr, 90k tbn, 90k tbc Metadata: variant_bitrate : 0 Stream #0:1: Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp Metadata: variant_bitrate : 0 Stream mapping: Stream #0:1 -> #0:0 (copy) Stream #0:0 -> #0:1 (copy) Press [q] to stop, [?] for help [mp4 @ 0x7ffc64801200] Invalid DTS: 7200 PTS: 3600 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 10800 PTS: 7200 in output stream 0:0, replacing by guess Automatically inserted bitstream filter 'aac_adtstoasc'; args='' [mp4 @ 0x7ffc64801200] Invalid DTS: 14400 PTS: 10800 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 21600 PTS: 18000 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 25200 PTS: 21600 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 28800 PTS: 25200 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 36000 PTS: 32400 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 39600 PTS: 36000 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 43200 PTS: 39600 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 50400 PTS: 46800 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 54000 PTS: 50400 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 57600 PTS: 54000 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 64800 PTS: 61200 in output stream 0:0, replacing by guess [mp4 @ 0x7ffc64801200] Invalid DTS: 72000 PTS: 68400 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=972000, dts=975600, size=2986 [mp4 @ 0x7ffc64801200] Invalid DTS: 75600 PTS: 72000 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=979200, dts=982800, size=3733 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=982800, dts=986400, size=3011 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=979200, dts=982800, size=3733 [mp4 @ 0x7ffc64801200] Invalid DTS: 82800 PTS: 79200 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=986400, dts=990000, size=2022 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=982800, dts=986400, size=3011 [mp4 @ 0x7ffc64801200] Invalid DTS: 86400 PTS: 82800 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=986400, dts=990000, size=2022 [mp4 @ 0x7ffc64801200] Invalid DTS: 90000 PTS: 86400 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=993600, dts=997200, size=2136 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=997200, dts=1000800, size=5918 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=993600, dts=997200, size=2136 [mp4 @ 0x7ffc64801200] Invalid DTS: 97200 PTS: 93600 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1000800, dts=1004400, size=5439 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=997200, dts=1000800, size=5918 [mp4 @ 0x7ffc64801200] Invalid DTS: 100800 PTS: 97200 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=1000800, dts=1004400, size=5439 [mp4 @ 0x7ffc64801200] Invalid DTS: 104400 PTS: 100800 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1008000, dts=1011600, size=2184 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1011600, dts=1015200, size=2387 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=1008000, dts=1011600, size=2184 [mp4 @ 0x7ffc64801200] Invalid DTS: 111600 PTS: 108000 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=1011600, dts=1015200, size=2387 [mp4 @ 0x7ffc64801200] Invalid DTS: 115200 PTS: 111600 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1018800, dts=1022400, size=2282 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=1022400, dts=1026000, size=2229 .................. [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104220000, dts=104223600, size=1318 [mp4 @ 0x7ffc64801200] Invalid DTS: 103323600 PTS: 103320000 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104227200, dts=104230800, size=1606 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104230800, dts=104234400, size=1782 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104227200, dts=104230800, size=1606 [mp4 @ 0x7ffc64801200] Invalid DTS: 103330800 PTS: 103327200 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104234400, dts=104238000, size=1352 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104230800, dts=104234400, size=1782 [mp4 @ 0x7ffc64801200] Invalid DTS: 103334400 PTS: 103330800 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104234400, dts=104238000, size=1352 [mp4 @ 0x7ffc64801200] Invalid DTS: 103338000 PTS: 103334400 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104241600, dts=104245200, size=1167 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104245200, dts=104248800, size=992 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104241600, dts=104245200, size=1167 [mp4 @ 0x7ffc64801200] Invalid DTS: 103345200 PTS: 103341600 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104245200, dts=104248800, size=992 [mp4 @ 0x7ffc64801200] Invalid DTS: 103348800 PTS: 103345200 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104252400, dts=104256000, size=952 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104256000, dts=104259600, size=1023 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104252400, dts=104256000, size=952 [mp4 @ 0x7ffc64801200] Invalid DTS: 103356000 PTS: 103352400 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104256000, dts=104259600, size=1023 [mp4 @ 0x7ffc64801200] Invalid DTS: 103359600 PTS: 103356000 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104263200, dts=104266800, size=1104 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104266800, dts=104270400, size=888 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104263200, dts=104266800, size=1104 [mp4 @ 0x7ffc64801200] Invalid DTS: 103366800 PTS: 103363200 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104266800, dts=104270400, size=888 [mp4 @ 0x7ffc64801200] Invalid DTS: 103370400 PTS: 103366800 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104274000, dts=104277600, size=1181 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104277600, dts=104281200, size=1393 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104274000, dts=104277600, size=1181 [mp4 @ 0x7ffc64801200] Invalid DTS: 103377600 PTS: 103374000 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104281200, dts=104284800, size=1064 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104277600, dts=104281200, size=1393 [mp4 @ 0x7ffc64801200] Invalid DTS: 103381200 PTS: 103377600 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104281200, dts=104284800, size=1064 [mp4 @ 0x7ffc64801200] Invalid DTS: 103384800 PTS: 103381200 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104288400, dts=104292000, size=1150 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104292000, dts=104295600, size=953 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104288400, dts=104292000, size=1150 [mp4 @ 0x7ffc64801200] Invalid DTS: 103392000 PTS: 103388400 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104292000, dts=104295600, size=953 [mp4 @ 0x7ffc64801200] Invalid DTS: 103395600 PTS: 103392000 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104299200, dts=104302800, size=1067 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104302800, dts=104306400, size=918 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104299200, dts=104302800, size=1067 [mp4 @ 0x7ffc64801200] Invalid DTS: 103402800 PTS: 103399200 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104302800, dts=104306400, size=918 [mp4 @ 0x7ffc64801200] Invalid DTS: 103406400 PTS: 103402800 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104310000, dts=104313600, size=1082 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104313600, dts=104317200, size=993 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104310000, dts=104313600, size=1082 [mp4 @ 0x7ffc64801200] Invalid DTS: 103413600 PTS: 103410000 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104313600, dts=104317200, size=993 [mp4 @ 0x7ffc64801200] Invalid DTS: 103417200 PTS: 103413600 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104320800, dts=104324400, size=1096 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104324400, dts=104328000, size=972 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104320800, dts=104324400, size=1096 [mp4 @ 0x7ffc64801200] Invalid DTS: 103424400 PTS: 103420800 in output stream 0:0, replacing by guess [tls @ 0x7ffc63cb0d20] IO Error: -9845 [tls @ 0x7ffc63cb0d20] IO Error: -9806 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104324400, dts=104328000, size=972 [mp4 @ 0x7ffc64801200] Invalid DTS: 103428000 PTS: 103424400 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104331600, dts=104335200, size=1432 [tls @ 0x7ffc63cb0d20] IO Error: -9806 [hls,applehttp @ 0x7ffc64009a00] HLS request for url 'https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-97.ts', offset 0, playlist 0 [hls,applehttp @ 0x7ffc64009a00] Opening 'crypto+https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605-97.ts' for reading [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104335200, dts=104338800, size=1077 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104331600, dts=104335200, size=1432 [mp4 @ 0x7ffc64801200] Invalid DTS: 103435200 PTS: 103431600 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] PES packet size mismatch frame=28733 fps=197 q=-1.0 size= 204032kB time=00:19:09.24 bitrate=1454.4kbits/[hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104335200, dts=104338800, size=1077 [mp4 @ 0x7ffc64801200] Invalid DTS: 103438800 PTS: 103435200 in output stream 0:0, replacing by guess [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104583600, dts=104587200, size=1133 [mpegts @ 0x7ffc67001000] Invalid timestamps stream=1, pts=104587200, dts=104590800, size=1266 [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104583600, dts=104587200, size=1133 [mp4 @ 0x7ffc64801200] Invalid DTS: 103687200 PTS: 103683600 in output stream 0:0, replacing by guess [hls,applehttp @ 0x7ffc64009a00] Invalid timestamps stream=1, pts=104587200, dts=104590800, size=1266 [mp4 @ 0x7ffc64801200] Invalid DTS: 103690800 PTS: 103687200 in output stream 0:0, replacing by guess [AVBSFContext @ 0x7ffc63cc4f80] Error parsing ADTS frame header! [AVBSFContext @ 0x7ffc63cc4f80] Failed to send packet to filter aac_adtstoasc for stream 0 av_interleaved_write_frame(): Invalid data found when processing input No more output streams to write to, finishing. frame=28738 fps=197 q=-1.0 Lsize= 205581kB time=00:19:12.08 bitrate=1461.8kbits/s speed=7.89x video:190856kB audio:13851kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.427139% Input file #0 (https://itvpnpdotcom-a.akamaihd.net/2-4229-0017-001/18/1/VAR012/2-4229-0017-001_18_1_VAR012.ism/2-4229-0017-001_18_1_VAR012-audio=128000-video=1347605.m3u8): Input stream #0:0 (audio): 53877 packets read (14182925 bytes); Input stream #0:1 (video): 28738 packets read (195436638 bytes); Total: 82615 packets (209619563 bytes) demuxed Output file #0 (file:Victoria - Comfort and Joy-2a4229a0017.mp4.part): Output stream #0:0 (video): 28738 packets muxed (195436638 bytes); Output stream #0:1 (audio): 53877 packets muxed (14182925 bytes); Total: 82615 packets (209619563 bytes) muxed Conversion failed! ERROR: ffmpeg exited with code 1 File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main "__main__", fname, loader, pkg_name) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code exec code in run_globals File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module> youtube_dl.main() File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 465, in main _real_main(argv) File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 455, in _real_main retcode = ydl.download(all_urls) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1988, in download url, force_generic_extractor=self.params.get('force_generic_extractor', False)) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 795, in extract_info return self.process_ie_result(ie_result, download, extra_info) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 849, in process_ie_result return self.process_video_result(ie_result, download=download) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1622, in process_video_result self.process_info(new_info) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1895, in process_info success = dl(filename, info_dict) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1834, in dl return fd.download(name, info) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 361, in download return self.real_download(filename, info_dict) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/hls.py", line 76, in real_download return fd.real_download(filename, info_dict) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 57, in real_download self.get_basename(), retval)) File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 163, in report_error self.ydl.report_error(*args, **kargs) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 612, in report_error self.trouble(error_message, tb) File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 574, in trouble tb_data = traceback.format_list(traceback.extract_stack()) ``` --- ### Description of your *issue*, suggested solution and other information I am attempting to download the Xmas episode of Victoria from ITV which fails on get-iplayer-automator - see https://github.com/Ascoware/get-iplayer-automator/issues/95#issuecomment-354187413. I am a new user of youtube-dl as I was directed to this by https://github.com/Ascoware/get-iplayer-automator/issues/95#issuecomment-354389638 I apologise for truncating the log output even though the the instructions were very clear to paste the whole output of the command line with the -v option - Github gave me an error when I tried to input the whole of the log - There was an error creating your Issue: body is too long (maximum is 65536 characters). See https://gist.github.com/jefro108/80ffe36027d0cdb17ee1f8493fb1135e#file-gistfile1-txt to see the whole output.
deekerman 2026-02-21 05:25:35 -05:00
Author
Owner

@remitamine commented on GitHub (Dec 31, 2017):

install PyCrypto or PyCryptodome.

@remitamine commented on GitHub (Dec 31, 2017): install `PyCrypto` or `PyCryptodome`.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#12503
No description provided.