[FFmpeg-user] OT: How to download a video

Moritz Barsnick barsnick at gmx.net
Sat Nov 4 19:51:53 EET 2017


On Sat, Nov 04, 2017 at 11:26:42 -0600, JD wrote:
> Could someone please tell me a linux tool that will download the video at
> http://www.pbs.org/video/wfyi-local-productions-temple-makers/
> 
> Youtube-dl could not do it.

Remember to always use the latest version of youtube-dl, as streaming
websites are "moving targets":

$ ./youtube-dl http://www.pbs.org/video/wfyi-local-productions-temple-makers/
[pbs] Downloading JSON metadata
[pbs] wfyi-local-productions-temple-makers: Downloading webpage
[pbs] 2365795021: Downloading widget/partnerplayer page
[pbs] 2365795021: Downloading portalplayer page
[pbs] 2365795021: Downloading hls-400-2500k-16x9 video url info
[pbs] 2365795021: Downloading m3u8 information
[pbs] 2365795021: Downloading mp4-2500k-16x9 video url info
[pbs] 2365795021: Downloading hls-800k-16x9 video url info
[pbs] 2365795021: Downloading m3u8 information
[pbs] 2365795021: Downloading mp4-baseline-16x9 video url info
[pbs] 2365795021: Checking http-1200k video URL
[pbs] 2365795021: Checking http-2500k video URL
[pbs] 2365795021: Checking http-800k video URL
[pbs] 2365795021: Checking http-400k video URL
[download] Destination: The Temple Makers - The Temple Makers-2365795021.mp4
[download]   0.8% of 1.00GiB at  1.62MiB/s ETA 10:27^C
ERROR: Interrupted by user
$ 

Works just fine!

A little hint: One video URL is directly in the source which my browser
gets, I just right-click in the video, select "Inspect element"
(Firefox, Chrome(ium), Opera), and see the URL
https://ga.video.cdn.pbs.org/videos/wfyi-local-productions/2e9d36ba-d5f6-4d45-84df-b5ca5acd551c/250267/hd-mezzanine-16x9/2c382920_l-00004055-16x9-mp4-baseline.mp4
which is downloadable (albeit a low quality version, I think).

Cheers,
Moritz


More information about the ffmpeg-user mailing list