question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Site Request] RAI 1080p

See original GitHub issue

Checklist

  • I’m reporting a site feature request
  • I’ve verified that I’m running yt-dlp version 2021.03.24.1
  • I’ve searched the bugtracker for similar site feature requests including closed ones

Description

This is really more of a feature request to merge an already existing really great and useful pull request by @nixxo over on the original youtube-dl repository:

https://github.com/ytdl-org/youtube-dl/pull/27990

This allows for direct MP4 files from the Italian site RAI, as well as the ability to get the 1080p version as well.

Here’s the current output of --list-formats with yt-dlp 2021.03.24 using the current rai.py:

yt-dlp-2021.03.24.exe --list-formats https://www.raiplay.it/video/2021/03/Leonardo-S1E1-b5703b02-82ee-475a-85b6-c9e4a8adf642.html
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading video JSON
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading XML metadata for platform mon
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading m3u8 information
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading XML metadata for platform flash
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading XML metadata for platform native
[info] Available formats for b5703b02-82ee-475a-85b6-c9e4a8adf642:
ID                       EXT RESOLUTION |   TBR PROTO  | VCODEC    VBR ACODEC   ABR NOTE
------------------------ --- ---------- - ----- ------ - ------- ----- ------- ---- ------------------
hls-aac-Audiodescrizione mp4 audio only |       m3u8_n |               unknown      [Audiodescrizione]
hls-aac-Italiano         mp4 audio only |       m3u8_n |               unknown      [Italiano]
hls-1200                 mp4 736x414    | 1288k m3u8_n | unknown 1288k unknown   0k
hls-1800                 mp4 1024x576   | 1758k m3u8_n | unknown 1758k unknown   0k
hls-2400                 mp4 1280x720   | 2344k m3u8_n | unknown 2344k unknown   0k

And here is the --list-formats with that updated rai.py fix:

python -m youtube_dl --list-formats https://www.raiplay.it/video/2021/03/Leonardo-S1E1-b5703b02-82ee-475a-85b6-c9e4a8adf642.html
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading video JSON
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading XML metadata for platform mon
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading m3u8 information
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading XML metadata for platform flash
[RaiPlay] b5703b02-82ee-475a-85b6-c9e4a8adf642: Downloading XML metadata for platform native
[info] Available formats for b5703b02-82ee-475a-85b6-c9e4a8adf642:
format code               extension  resolution note
hls-aac-Audiodescrizione  mp4        audio only [Audiodescrizione]
hls-aac-Italiano          mp4        audio only [Italiano]
hls-1200                  mp4        736x414    1288k
https-1200                mp4        736x414    1288k
hls-1800                  mp4        1024x576   1758k
https-1800                mp4        1024x576   1758k
hls-2400                  mp4        1280x720   2344k
https-2400                mp4        1280x720   2344k
https-3600                mp4        1440x810   3600k
https-5000                mp4        1920x1080  5000k  (best)

As you can see with the fix you get several better options, including access to https-5000 which gives you the full 1080p version.

If taking the pull request from youtube-dl isn’t kosher, then maybe @nixxo would be willing to do a new PR over here on yt-dlp.

Thanks so much!

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
pukkandancommented, Apr 17, 2021

Closed by #208

1reaction
pukkandancommented, Apr 22, 2021

@albino1 Just letting you know that this is now in the latest release

Read more comments on GitHub >

github_iconTop Results From Across the Web

[rai] 1080p quality and original MP4 files no longer working for ...
Recently something has changed with RAI where the ability to directly download the original MP4 files in higher quality is no longer possible ......
Read more >
Rai HD - Logopedia - Fandom
Fandom Apps. Take your favorite fandoms with you and never miss a beat. Logopedia is a FANDOM Lifestyle Community. View Full Site.
Read more >
Rai 5 - Audiovisual Identity Database - Miraheze
The "5" is completely filled in with white and a rectangle shape with a white square with "Rai" in its left side fades...
Read more >
Eutelsat completes Rai HD channel line-up for TivùSat
Satellite operator Eutelsat has begun broadcasting an additional five channels in HD from public broadcaster Rai for the TivùSat Italian ...
Read more >
RAI - Wikipedia
RAI – Radiotelevisione italiana is the national public broadcasting company of Italy, owned by the Ministry of Economy and Finance. RAI operates many ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found