Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

youtube-dl

(http://stream-recorder.com/forum/showthread.php?t=19898)

nullacht 06-12-2015 04:00 AM

youtube-dl


 
youtube-dl

A command line tool to download videos from various websites.

https://rg3.github.io/youtube-dl

https://github.com/rg3/youtube-dl

Command line usage:

Code:

youtube-dl [options] [url]
Windows binaries:

Code:

https://yt-dl.org/latest/youtube-dl.exe
Graphical user interface:

Code:

https://github.com/MrS0m30n3/youtube-dl-gui
Supported websites:

Code:

https://rg3.github.io/youtube-dl/supportedsites.html
Code:

https://github.com/rg3/youtube-dl/tree/master/youtube_dl/extractor
If something doesn't work, submit a bug report to the issue tracker on GitHub.

Code:

https://github.com/rg3/youtube-dl/issues
In combination with mpv it becomes a streaming media player.

http://mpv.io

Code:

http://mpv.io/manual/master/#options-ytdl
Code:

--ytdl
Quote:

Enable the youtube-dl hook-script. It will look at the input URL, and will play the video located on the website. This works with many streaming sites, not just the one that the script is named after. This requires a recent version of youtube-dl to be installed on the system.
Some example command lines:

Code:

youtube-dl -F "http://www.rte.ie/player/99/show/10431178/"
[Rte] 10431178: Downloading webpage
[Rte] 10431178: Downloading JSON metadata
[Rte] 10431178: Downloading f4m manifest
[info] Available formats for 10431178:
format code  extension  resolution note
512          mp4        unknown
1024        mp4        unknown
2048        mp4        unknown    (best)

Code:

youtube-dl -g "http://www.rte.ie/player/99/show/10431178/"
http://vod.hds.rasset.ie/hds-vod/2015/0613/20150613_rteone-onenews_cl10431178_10431179_260_/20150613_rteone-onenews_cl10431178_10431179_260__2048k.mp4.f4m

Code:

youtube-dl "http://www.rte.ie/player/99/show/10431178/"
[Rte] 10431178: Downloading webpage
[Rte] 10431178: Downloading JSON metadata
[Rte] 10431178: Downloading f4m manifest
[download] Downloading f4m manifest
[download] Destination: Watch One News  online-10431178.mp4

Code:

youtube-dl -F "http://www.bbc.co.uk/iplayer/episode/b05yy8yt/the-interceptor-episode-1"
[bbc.co.uk] b05yy8yt: Downloading video page
[bbc.co.uk] b05yy8xt: Downloading media selection XML
[info] Available formats for b05yy8xt:
format code                                extension  resolution note
iplayer_streaming_h264_flv_lo_akamai      flv        640x360    h264@ 480k, 210.71MiB
iplayer_streaming_h264_flv_lo_limelight    flv        640x360    h264@ 480k, 210.71MiB
iplayer_streaming_h264_flv_akamai          flv        640x360    h264@ 796k, 329.18MiB
iplayer_streaming_h264_flv_limelight      flv        640x360    h264@ 796k, 329.18MiB
iplayer_streaming_h264_flv_high_akamai    flv        832x468    h264@1500k, 616.18MiB
iplayer_streaming_h264_flv_high_limelight  flv        832x468    h264@1500k, 616.18MiB
pc_streaming_hd_akamai                    flv        1280x720  h264@2800k, 983.54MiB
pc_streaming_hd_level3                    flv        1280x720  h264@2800k, 983.54MiB (best)

Code:

youtube-dl -g "http://www.bbc.co.uk/iplayer/episode/b05yy8yt/the-interceptor-episode-1"
rtmp://iplayertokfs.fplive.net/iplayertok?token=c3RhcnRfdGltZT0yMDE1MDYxMzE2MDYzNyZlbmRfdGltZT0yMDE1MDYxMzIwMDYzNyZkaWdlc3Q9ODQ0MzQyYzkzYzAxOWM2MzU3YmRkYzhmZTNkMWFhMTI=mp4:3200kbps/modav/bUnknown-e6bc662f-5702-43de-8f6f-2636ae290c80_b05yy8xt_1433281734578

Code:

youtube-dl "http://www.bbc.co.uk/iplayer/episode/b05yy8yt/the-interceptor-episode-1"
[bbc.co.uk] b05yy8yt: Downloading video page
[bbc.co.uk] b05yy8xt: Downloading media selection XML
[download] Destination: The Interceptor, Episode 1-b05yy8xt.flv

Code:

-F | --list-formats              List all available formats
-g | --get-url                    Simulate, quiet but print URL


minipc 06-12-2015 08:08 AM

Re: youtube-dl


 
how is this related to rtmpdump?

nullacht 06-12-2015 08:56 AM

Re: youtube-dl


 
Do some research before asking such questions.

https://rtmpdump.mplayerhq.hu

Quote:

Projects using rtmpdump:

youtube-dl

-D3n1s- 06-12-2015 11:51 AM

Re: youtube-dl


 
Nice work man. I really appreciate it! I'm using it right now.

That's one big list of all the supported sites! I don't even want to know how you check what's working and what doesn't work anymore. :D

minipc 06-12-2015 04:51 PM

Re: youtube-dl


 
Quote:

Originally Posted by nullacht (Post 77392)
Do some research before asking such questions.

https://rtmpdump.mplayerhq.hu

yes, i was aware that youtube-dl is listed as a project that uses rtmpdump, but how does this link help me understand how youtube-dl is related to rtmpdump?

chanc 08-13-2016 06:33 PM

Re: youtube-dl


 
could urls like :

http://abc.go.com/shows/world-news-t...-huge-loss-rio

be supported ?

Palfu 03-28-2017 09:32 PM

Re: youtube-dl


 
I would prefer when you take the newer thing from http://www.ytdl.info

confused.com 04-29-2017 12:03 AM

Re: youtube-dl


 
https://github.com/rg3/youtube-dl/issues/12908

j_cool 05-01-2017 03:35 AM

Re: youtube-dl


 
tvplayer.com cnninternationaleurope bug has been fixed with release

youtube-dl 2017.05.01

https://github.com/rg3/youtube-dl/releases



C:\>youtube-dl.exe -v -F --no-check-certificate http://tvplayer.com/watch/cnninternationaleurope
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', '--no-check-certificate', 'http://tvplayer.com/watch/cnninternationaleurope']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.05.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg n3.2.1, rtmpdump 2.4
[debug] Proxy map: {}
[TVPlayer] cnninternationaleurope: Downloading webpage
[TVPlayer] cnninternationaleurope: Downloading JSON context
[TVPlayer] cnninternationaleurope: Downloading JSON stream
[TVPlayer] cnninternationaleurope: Downloading m3u8 information
[info] Available formats for 286:
format code extension resolution note
214 mp4 unknown 214k
564 mp4 unknown 564k
1064 mp4 unknown 1064k
1864 mp4 unknown 1864k
2564 mp4 unknown 2564k (best)



youtube-dl.exe --no-check-certificate -f 1864 http://tvplayer.com/watch/cnninternationaleurope -o - | vlc.exe -



Ihry,

these 2 are for you, fake news without CMD window pop-up:


Code:

@echo off
echo youtube-dl.exe --no-check-certificate -f 2564 http://tvplayer.com/watch/cnninternationaleurope -o - ^| ffplay.exe -vf scale=854:480 - > %TEMP%\news.bat
start /min %TEMP%\news.bat ^& exit

@echo off
echo youtube-dl.exe --no-check-certificate -f 1965 https://tvplayer.com/watch/bbcnews -o - ^| ffplay.exe -vf scale=854:480 - > %TEMP%\news.bat
start /min %TEMP%\news.bat ^& exit


confused.com 01-03-2018 01:28 AM

Re: youtube-dl


 
How to record BBC iPlayer without signing-in

http://stream-recorder.com/forum/rec...ng-t23889.html

j_cool 10-24-2020 01:23 AM

Re: youtube-dl


 
In what way is American censorship different than Chinese?
In USA it is called RIAA and Github, and in China Communist Party.

https://github.com/ytdl-org/youtube-dl/releases

cabulo 10-24-2020 01:43 AM

Re: youtube-dl


 
youtube-dl was used by 300 countries.
Somebody commes from one country and takes it off the internet.
Isn't he an asshole?

wizard 10-24-2020 10:03 AM

Re: youtube-dl


 
Quote:

Originally Posted by cabulo (Post 97058)
youtube-dl was used by 300 countries.
Somebody commes from one country and takes it off the internet.
Isn't he an asshole?

And not only that...

Now, it will simply go underground just as everything else did.

Damianonymous 10-24-2020 11:16 AM

Re: youtube-dl


 
https://www.youtube.com/watch?v=SnLB8wysMbY

j_cool 10-24-2020 03:48 PM

Re: youtube-dl


 
I have watched one half of this video.
After watching this I don't see any constructive solution to censorship of IT code.
RIAA are music business and they have the power to remove IT code from the internet.

As I remember Github was amateur free project in the old days and when it grew
to be significant big money bought it and now they control it any way they like.
Music business censors IT code ???

Solution would be to desert Github and leave it to its owner and RIAA.
How to do it, is another story.
If this goes on this way, it won't go on forever.
Sooner or later it will click to somebody to look for Github alternative.

j_cool 10-26-2020 04:23 AM

Re: youtube-dl


 
Here is one example of somebody who deserted Github:

https://github.com/0xboobface/where-is-ctbrec

First was porn, then will be music and reaction may follow because who knows who doesn't like who knows what,
according to "the law".

confused.com 09-10-2021 11:16 AM

Re: youtube-dl


 
Latest (v2021.06.06)

https://yt-dl.org/

j_cool 09-17-2021 12:38 PM

Re: youtube-dl


 
Strange that youtube-dl don't update their own site with latest information.

https://github.com/yt-dlp/yt-dlp/releases

https://github.com/mpv-player/mpv/issues/9208

j_cool 09-18-2021 07:10 AM

Re: youtube-dl


 
RIAA splashed out some cash to sue youtube-dl.
Now, let's go all over again, splash out some more cash:

https://github.com/yt-dlp

Let's see who has deeper pockets, RIAA or Microsoft.


All times are GMT -6. The time now is 06:37 PM.