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

RTBF impossible to choose quality formats #5947

Closed
KevinNX opened this issue Jun 10, 2015 · 2 comments
Closed

RTBF impossible to choose quality formats #5947

KevinNX opened this issue Jun 10, 2015 · 2 comments

Comments

@KevinNX
Copy link

@KevinNX KevinNX commented Jun 10, 2015

While it's possible to download a video hosted on RTBF.be, it doesn't seem to be possible to choose the quality of the video. On RTBF's webpages, there are 3 choices: "SD", "MD", "HD". By default, youtube-dl takes the highest quality (which may be at random e.g. because it's the first link in the page).

Here is the output I get when I list the available formats from the webpage whose video I want to download:

youtube-dl "http://www.rtbf.be/video/detail_le-12-minutes?id=2022485" --list-formats -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.rtbf.be/video/detail_le-12-minutes?id=2022485', u'--list-formats', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 2.7.5 - Darwin-14.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.6.1, ffprobe 2.6.1, rtmpdump 2.4
[debug] Proxy map: {}
[RTBF] 2022485: Downloading webpage
[info] Available formats for 2022485:
format code  extension  resolution note
0            mp4        unknown    

When I download the video, here is what I get:

youtube-dl "http://www.rtbf.be/video/detail_le-12-minutes?id=2022485" -v
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.rtbf.be/video/detail_le-12-minutes?id=2022485', u'-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.06.04.1
[debug] Python version 2.7.5 - Darwin-14.3.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 2.6.1, ffprobe 2.6.1, rtmpdump 2.4
[debug] Proxy map: {}
[RTBF] 2022485: Downloading webpage
[debug] Invoking downloader on u'http://podvideo.prd.rtbf.be/redirect/rtbf_vod/folder-31859/copy-32/info__le_12_minutes_090620152230__090620152230.mp4'
[download] Destination: Le 12 minutes-2022485.mp4

When you check out the source code, it seems it takes the first link:

<div id="js-embed-player" 
...
&quot;http:\/\/podvideo.prd.rtbf.be\/redirect\/rtbf_vod\/folder-31859\/copy-32\/info__le_12_minutes_090620152230__090620152230.mp4
...
&quot;http:\/\/podvideo.prd.rtbf.be\/redirect\/rtbf_vod\/folder-31859\/copy-32\/info__le_12_minutes_090620152230__090620152230.mp4 
...
&quot;http:\/\/podvideo.prd.rtbf.be\/redirect\/rtbf_vod\/folder-31859\/copy-32\/info__le_12_minutes_090620152230__090620152230.mp4
...
&quot;http:\/\/podvideo.prd.rtbf.be\/redirect\/rtbf_vod\/folder-31859\/mp4-383\/info__le_12_minutes_090620152230__090620152230.mp4
...
&quot;http:\/\/podvideo.prd.rtbf.be\/redirect\/rtbf_vod\/folder-31859\/mp4-377\/info__le_12_minutes_090620152230__090620152230.mp4
...
</div>

Is there any way to select "high", "web", or "mobile" (respectively "SD", "MD" and "HD") with youtube-dl?

@jaimeMF jaimeMF closed this in eb8be1f Jun 10, 2015
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 10, 2015

Thanks for the report, all formats are extracted now.

@KevinNX
Copy link
Author

@KevinNX KevinNX commented Jun 10, 2015

I've just downloaded the latest files: perfect, it works like a charm! Thanks for that super fast update.

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.