ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
131.46k stars 9.96k forks source link

Invalid data found when processing input #24307

Open kannerke opened 4 years ago

kannerke commented 4 years ago

Checklist

Verbose log


[debug] System config: []                                                                                                                                 
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-ciw', u'-a', u'batch.txt', u'--verbose']
[debug] Batch file urls: [u'https://www.vrt.be/vrtnu/a-z/ancient-invisible-cities/1/ancient-invisible-cities-s1a3/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.08
[debug] Python version 2.7.12 (CPython) - Linux-4.4.0-174-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: ffmpeg 2.8.15, ffprobe 2.8.15
[debug] Proxy map: {}
[VrtNU] ancient-invisible-cities-s1a3: Downloading webpage
[VrtNU] ancient-invisible-cities-s1a3: Downloading JSON metadata
[Canvas] pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad: Downloading asset JSON
[Canvas] pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad: Downloading m3u8 information
[Canvas] pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad: Downloading m3u8 information
[Canvas] pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad: Downloading MPD manifest
[Canvas] pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad: Downloading ISM manifest
[Canvas] pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad: Downloading f4m manifest
WARNING: Unable to download f4m manifest: HTTP Error 403: Forbidden
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://ondemand-cf-vrt.akamaized.net/content/vod/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3/vid-b5b4daf2-5e41-43dc-b
c10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes.ism/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9
629e0_aes-audio=96000-video=1990018.m3u8'
[download] Destination: Athene-pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3767.0 Safari/537.36
' -i 'https://ondemand-cf-vrt.akamaized.net/content/vod/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_
b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes.ism/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes-audio=96000-video
=1990018.m3u8' -c copy -f mp4 '-bsf:a' aac_adtstoasc 'file:Athene-pbs-pub-0222e4e6-abea-4343-84a4-7b82c2225e0f$vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad.mp
4.part'
ffmpeg version 2.8.15-0ubuntu0.16.04.1 Copyright (c) 2000-2018 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.10) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
[hls,applehttp @ 0x21e0600] HLS request for url 'https://ondemand-cf-vrt.akamaized.net/content/vod/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes.ism/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes-audio=96000-video=1990018-1.ts', offset 0, playlist 0                                                                           
[https @ 0x264b460] HTTP error 404 Not Found
Unable to open key file https://aes-license.vudrm.tech/v2/aes/getkey/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3
[hls,applehttp @ 0x21e0600] Error when loading first segment 'https://ondemand-cf-vrt.akamaized.net/content/vod/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes.ism/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes-audio=96000-video=1990018-1.ts'                                                                                    
https://ondemand-cf-vrt.akamaized.net/content/vod/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes.ism/vid-b5b4daf2-5e41-43dc-bc10-ea61f754aaad-CDN_3_drm_b978b7cf-80bf-4bbd-97f9-64da6f9629e0_aes-audio=96000-video=1990018.m3u8: Invalid data found when processing input   

ERROR: ffmpeg exited with code 1
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "../youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "../youtube-dl/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "../youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 2019, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False)) 
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 808, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 901, in process_ie_result
    new_result, download=download, extra_info=extra_info)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 863, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 1644, in process_video_result  
    self.process_info(new_info)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 1926, in process_info
    success = dl(filename, info_dict)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 1865, in dl
    return fd.download(name, info)
  File "../youtube-dl/youtube_dl/downloader/common.py", line 366, in download
    return self.real_download(filename, info_dict)
  File "../youtube-dl/youtube_dl/downloader/external.py", line 64, in real_download 
    self.get_basename(), retval))
  File "../youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error   
    self.ydl.report_error(*args, **kargs)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 625, in report_error
    self.trouble(error_message, tb)
  File "../youtube-dl/youtube_dl/YoutubeDL.py", line 587, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

Description

Some strange error since the other episodes download without issues. All episodes play without issues in the browser. I also tried passing the mpd urle to youtube-dl, but this resulted in "ERROR: No video formats found"

kannerke commented 4 years ago

I'm using ubuntu 16.04