LiveTV stream from rutube.ru issue #17862

Open
opened 2026-02-21 09:41:55 -05:00 by deekerman · 4 comments
Owner

Originally created by @SlazE888 on GitHub (Sep 6, 2019).

Checklist

  • I'm reporting a broken site support issue
  • I've verified that I'm running youtube-dl version 2019.09.01
  • 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 bug reports including closed ones
  • I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://rutube.ru/play/embed/11175917']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2019.09.01
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362
[debug] exe versions: ffmpeg N-94481-g5ac28e9cc1, ffprobe N-94481-g5ac28e9cc1
[debug] Proxy map: {}
[rutube:embed] 11175917: Downloading options JSON
ERROR: No video formats found
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\common.py", line 530, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\rutube.py", line 184, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\rutube.py", line 89, in _extract_formats
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\common.py", line 1327, in _sort_formats
youtube_dl.utils.ExtractorError: No video formats found

Description

LiveTV stream above plays fine in Google Chrome browser.

Originally created by @SlazE888 on GitHub (Sep 6, 2019). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2019.09.01. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Make sure that all provided video/audio/playlist URLs (if any) are alive and playable in a browser. - Make sure that all URLs and arguments with special characters are properly quoted or escaped as explained in http://yt-dl.org/escape. - Search the bugtracker for similar issues: http://yt-dl.org/search-issues. DO NOT post duplicates. - Read bugs section in FAQ: http://yt-dl.org/reporting - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a broken site support issue - [x] I've verified that I'm running youtube-dl version **2019.09.01** - [x] I've checked that all provided URLs are alive and playable in a browser - [x] I've checked that all URLs and arguments with special characters are properly quoted or escaped - [x] I've searched the bugtracker for similar bug reports including closed ones - [x] I've read bugs section in FAQ ## Verbose log <!-- Provide the complete verbose output of youtube-dl that clearly demonstrates the problem. 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 below. It should look similar to this: [debug] System config: [] [debug] User config: [] [debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2019.09.01 [debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2 [debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4 [debug] Proxy map: {} <more lines> --> ``` [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-v', 'https://rutube.ru/play/embed/11175917'] [debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251 [debug] youtube-dl version 2019.09.01 [debug] Python version 3.4.4 (CPython) - Windows-10-10.0.18362 [debug] exe versions: ffmpeg N-94481-g5ac28e9cc1, ffprobe N-94481-g5ac28e9cc1 [debug] Proxy map: {} [rutube:embed] 11175917: Downloading options JSON ERROR: No video formats found Traceback (most recent call last): File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\YoutubeDL.py", line 796, in extract_info File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\common.py", line 530, in extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\rutube.py", line 184, in _real_extract File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\rutube.py", line 89, in _extract_formats File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpbzyg5d3a\build\youtube_dl\extractor\common.py", line 1327, in _sort_formats youtube_dl.utils.ExtractorError: No video formats found ``` ## Description <!-- Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible. If work on your issue requires account credentials please provide them or explain how one can obtain them. --> LiveTV stream above plays fine in Google Chrome browser.
Author
Owner

@SlazE888 commented on GitHub (Nov 8, 2019):

One more LiveTV-stream from that site:
https://rutube.ru/play/embed/10711575

@SlazE888 commented on GitHub (Nov 8, 2019): One more LiveTV-stream from that site: https://rutube.ru/play/embed/10711575
Author
Owner

@dirkf commented on GitHub (Apr 17, 2024):

Live streams have media links in the options JSON like this:

  'live_streams': {
    'hls': [
      {
        'GeoIP_TZ': '+3',
        'is_audio': true,
        'is_video': true,
        'is_dvr': false,
        'url': 'https://bl.rutube.ru/livestream/c58f502c7bb34a8fcdd976b221fca292/index.m3u8?s=vWu6JmRePbIDtRVEc1h6EA&e=1713480461&scheme=https'
      }
    ]
  },
@dirkf commented on GitHub (Apr 17, 2024): Live streams have media links in the options JSON like this: ```py 'live_streams': { 'hls': [ { 'GeoIP_TZ': '+3', 'is_audio': true, 'is_video': true, 'is_dvr': false, 'url': 'https://bl.rutube.ru/livestream/c58f502c7bb34a8fcdd976b221fca292/index.m3u8?s=vWu6JmRePbIDtRVEc1h6EA&e=1713480461&scheme=https' } ] }, ```
Author
Owner

@dirkf commented on GitHub (Apr 25, 2024):

And now from UK:

$ python -m youtube_dl --list-subs 'https://rutube.ru/video/056cb59f2836e6d0c1a137c1dbb370f8/'
[rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading video JSON
[rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading options JSON
[rutube] In addition to the below, consider --geo-verification-proxy.
ERROR: Options JSON is blocked (or may have expired)
This video is available in Russian Federation.
You might want to use a VPN or a proxy server (with --proxy) to workaround.
$ python -m youtube_dl --list-subs 'https://rutube.ru/video/056cb59f2836e6d0c1a137c1dbb370f8/' --geo-verification-proxy a.b.c:d
[rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading video JSON
[rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading options JSON
[rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading m3u8 information
[rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading m3u8 information
Available subtitles for 056cb59f2836e6d0c1a137c1dbb370f8:
Language formats
ru       srt
$ 
@dirkf commented on GitHub (Apr 25, 2024): And now from UK: ```console $ python -m youtube_dl --list-subs 'https://rutube.ru/video/056cb59f2836e6d0c1a137c1dbb370f8/' [rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading video JSON [rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading options JSON [rutube] In addition to the below, consider --geo-verification-proxy. ERROR: Options JSON is blocked (or may have expired) This video is available in Russian Federation. You might want to use a VPN or a proxy server (with --proxy) to workaround. $ python -m youtube_dl --list-subs 'https://rutube.ru/video/056cb59f2836e6d0c1a137c1dbb370f8/' --geo-verification-proxy a.b.c:d [rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading video JSON [rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading options JSON [rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading m3u8 information [rutube] 056cb59f2836e6d0c1a137c1dbb370f8: Downloading m3u8 information Available subtitles for 056cb59f2836e6d0c1a137c1dbb370f8: Language formats ru srt $ ```
Author
Owner

@dirkf commented on GitHub (Apr 26, 2024):

And now (Первый канал. Прямой эфир):

$ python -m youtube_dl -vF 'https://rutube.ru/live/video/c58f502c7bb34a8fcdd976b221fca292/'
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-vF', u'https://rutube.ru/live/video/c58f502c7bb34a8fcdd976b221fca292/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.12.17
[debug] Git HEAD: d763af1ce
[debug] Python 2.7.15 (CPython i686 32bit) - Linux-6.1.0-20-686-pae-i686-with-debian-12.5 - OpenSSL 1.1.1a  20 Nov 2018 - glibc 2.1.3
[debug] exe versions: ffmpeg 5.1.4-0, ffprobe 5.1.4-0
[debug] Proxy map: {}
[rutube] c58f502c7bb34a8fcdd976b221fca292: Downloading video JSON
[rutube] c58f502c7bb34a8fcdd976b221fca292: Downloading options JSON
[rutube] c58f502c7bb34a8fcdd976b221fca292: Downloading m3u8 information
[info] Available formats for c58f502c7bb34a8fcdd976b221fca292:
format code      extension  resolution note
hls_live-1000-0  mp4        640x360    1000k , avc1.64001f, mp4a.40.2
hls_live-1000-1  mp4        640x360    1000k , avc1.64001f, mp4a.40.2
hls_live-4000-0  mp4        1280x720   4000k , avc1.64001f, mp4a.40.2
hls_live-4000-1  mp4        1280x720   4000k , avc1.64001f, mp4a.40.2
hls_live-6800-0  mp4        1920x1080  6800k , avc1.64001f, mp4a.40.2
hls_live-6800-1  mp4        1920x1080  6800k , avc1.64001f, mp4a.40.2 (best)
$
@dirkf commented on GitHub (Apr 26, 2024): And now (Первый канал. Прямой эфир): ```console $ python -m youtube_dl -vF 'https://rutube.ru/live/video/c58f502c7bb34a8fcdd976b221fca292/' [debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: [u'-vF', u'https://rutube.ru/live/video/c58f502c7bb34a8fcdd976b221fca292/'] [debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2021.12.17 [debug] Git HEAD: d763af1ce [debug] Python 2.7.15 (CPython i686 32bit) - Linux-6.1.0-20-686-pae-i686-with-debian-12.5 - OpenSSL 1.1.1a 20 Nov 2018 - glibc 2.1.3 [debug] exe versions: ffmpeg 5.1.4-0, ffprobe 5.1.4-0 [debug] Proxy map: {} [rutube] c58f502c7bb34a8fcdd976b221fca292: Downloading video JSON [rutube] c58f502c7bb34a8fcdd976b221fca292: Downloading options JSON [rutube] c58f502c7bb34a8fcdd976b221fca292: Downloading m3u8 information [info] Available formats for c58f502c7bb34a8fcdd976b221fca292: format code extension resolution note hls_live-1000-0 mp4 640x360 1000k , avc1.64001f, mp4a.40.2 hls_live-1000-1 mp4 640x360 1000k , avc1.64001f, mp4a.40.2 hls_live-4000-0 mp4 1280x720 4000k , avc1.64001f, mp4a.40.2 hls_live-4000-1 mp4 1280x720 4000k , avc1.64001f, mp4a.40.2 hls_live-6800-0 mp4 1920x1080 6800k , avc1.64001f, mp4a.40.2 hls_live-6800-1 mp4 1920x1080 6800k , avc1.64001f, mp4a.40.2 (best) $ ```
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-ytdl-org#17862
No description provided.