Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ceska televize - ivysilani - some videos cannot be downloaded #22774

Closed
ivopan opened this issue Oct 20, 2019 · 1 comment
Closed

ceska televize - ivysilani - some videos cannot be downloaded #22774

ivopan opened this issue Oct 20, 2019 · 1 comment

Comments

@ivopan
Copy link

@ivopan ivopan commented Oct 20, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.10.16
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--no-check-certificate', u'--verbose', u'-4', u'https://www.ceskatelevize.cz/ivysilani/12607522764-stardance-x/219544160450002-stardance-x-kdyz-hvezdy-tanci']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2019.10.16
[debug] Python version 2.7.15+ (CPython) - Linux-4.15.0-65-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.6, ffprobe 3.4.6
[debug] Proxy map: {}
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading webpage
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading JSON metadata
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading JSON metadata
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading MPD manifest
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading JSON metadata
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading JSON metadata
[CeskaTelevize] 219544160450002-stardance-x-kdyz-hvezdy-tanci: Downloading m3u8 information
[download] Downloading playlist: StarDance X ...když hvězdy tančí: 2. soutěžní večer
[CeskaTelevize] playlist StarDance X ...když hvězdy tančí: 2. soutěžní večer: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on u'https://ivys-vst05-2.o2tv.cz/af/ea76723bfe0f552a44c54846bda66757/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/61924494877647042/1506v1102.k.m3u8'
[hlsnative] Downloading m3u8 manifest
WARNING: hlsnative has detected features it does not support, extraction will be delegated to ffmpeg
[download] Destination: StarDance X ...když hvězdy tančí - 2. soutěžní večer-61924494877647188.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/73.0.3663.0 Safari/537.36
' -i 'https://ivys-vst05-2.o2tv.cz/af/ea76723bfe0f552a44c54846bda66757/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/61924494877647042/1506v1102.k.m3u8' -c copy -f mp4 'file:StarDance X ...když hvězdy tančí - 2. soutěžní večer-61924494877647188.mp4.part'
ffmpeg version 3.4.6-0ubuntu0.18.04.1 Copyright (c) 2000-2019 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.3.0-16ubuntu3)
  configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  WARNING: library configuration mismatch
  avcodec     configuration: --prefix=/usr --extra-version=0ubuntu0.18.04.1 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --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-libmp3lame --enable-libmysofa --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-librsvg --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-libxml2 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libdrm --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared --enable-version3 --disable-doc --disable-programs --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libtesseract --enable-libvo_amrwbenc
  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 @ 0x55657ab60b00] HLS request for url 'https://ivys-vst05-2.o2tv.cz/af/25817054807e05832a13bbe379dd3719/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-411/0.k.ts', offset 0, playlist 0
[hls,applehttp @ 0x55657ab60b00] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 0x55657ab60b00] Failed to open segment of playlist 0
[hls,applehttp @ 0x55657ab60b00] HLS request for url 'https://ivys-vst05-2.o2tv.cz/af/b8cabbf7a6e0b49169ab4456de1cfe52/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-411/1.k.ts', offset 0, playlist 0
[hls,applehttp @ 0x55657ab60b00] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 0x55657ab60b00] Failed to open segment of playlist 0
[hls,applehttp @ 0x55657ab60b00] HLS request for url 'https://ivys-vst05-2.o2tv.cz/af/d7dd3d07285f597718ddd8cbc374d86e/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-412/0.k.ts', offset 0, playlist 0
[hls,applehttp @ 0x55657ab60b00] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 0x55657ab60b00] Failed to open segment of playlist 0
[hls,applehttp @ 0x55657ab60b00] HLS request for url 'https://ivys-vst05-2.o2tv.cz/af/db52666e71ff6cf71950f1e170521b13/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-412/1.k.ts', offset 0, playlist 0


.... this is repeated many times and is too long for comment ...


[hls,applehttp @ 0x55657ab60b00] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 0x55657ab60b00] Failed to open segment of playlist 0
[hls,applehttp @ 0x55657ab60b00] HLS request for url 'https://ivys-vst05-2.o2tv.cz/af/a3215c06a8d268b5a23667a364335fff/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-786/0.k.ts', offset 0, playlist 0
[hls,applehttp @ 0x55657ab60b00] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 0x55657ab60b00] Failed to open segment of playlist 0
[hls,applehttp @ 0x55657ab60b00] HLS request for url 'https://ivys-vst05-2.o2tv.cz/af/3658509babc500d8dd989c01d8c1211a/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-786/1.k.ts', offset 0, playlist 0
[hls,applehttp @ 0x55657ab60b00] SAMPLE-AES encryption is not supported yet
[hls,applehttp @ 0x55657ab60b00] Failed to open segment of playlist 0
[hls,applehttp @ 0x55657ab60b00] Error when loading first segment 'https://ivys-vst05-2.o2tv.cz/af/25817054807e05832a13bbe379dd3719/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/0/1506v1102/220-23197-6865-411/0.k.ts'
https://ivys-vst05-2.o2tv.cz/af/ea76723bfe0f552a44c54846bda66757/1571554934073/a7a80421be5bb2c17d08ec93a338528aa/dfp-61924494877647188-pc/61924494877647042/1506v1102.k.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 "/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 474, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2018, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1007, in process_ie_result
    extra_info=extra)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 862, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1643, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1925, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1864, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 366, 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 64, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 624, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 586, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())


Description

Some (!) videos cannot be downloaded. This is an example:

https://www.ceskatelevize.cz/ivysilani/12607522764-stardance-x/219544160450002-stardance-x-kdyz-hvezdy-tanci

It may be DRM issue, because I had problem to see it in chrome on Linux - they stated, that my browser does not support DRM. But after few minutes it worked - perhaps some timing problem.

This is another example - part of problematic video - and it CAN be downloaded without problems.

https://www.ceskatelevize.cz/ivysilani/12607522764-stardance-x/219544160450002-stardance-x-kdyz-hvezdy-tanci/obsah/727464-radka-trestikova-a-tomas-vorechovsky-waltz-sd-8

@remitamine
Copy link
Collaborator

@remitamine remitamine commented Oct 23, 2019

some code to skip DRM protected formats has been commited wrongly as part of 07154c7.

@remitamine remitamine closed this Oct 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.