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

JD jd1008 at gmail.com
Sat Nov 4 22:24:08 EET 2017



On 11/04/2017 02:00 PM, DopeLabs wrote:
> first get the download url using youtube-dl
>
>
> $ youtube-dl -f best -g http://www.pbs.org/video/wfyi-local-productions-temple-makers/
> https://ga.video.cdn.pbs.org/videos/wfyi-local-productions/2e9d36ba-d5f6-4d45-84df-b5ca5acd551c/250267/hd-mezzanine-16x9/2c382920_l-00004055-16x9-mp4-2500k.mp4
>
> then change https to http
>
> $ youtube-dl http://ga.video.cdn.pbs.org/videos/wfyi-local-productions/2e9d36ba-d5f6-4d45-84df-b5ca5acd551c/250267/hd-mezzanine-16x9/2c382920_l-00004055-16x9-mp4-2500k.mp4
> [generic] 2c382920_l-00004055-16x9-mp4-2500k: Requesting header
> [download] Destination: 2c382920_l-00004055-16x9-mp4-2500k-2c382920_l-00004055-16x9-mp4-2500k.mp4
> Initializing download: http://ga.video.cdn.pbs.org/videos/wfyi-local-productions/2e9d36ba-d5f6-4d45-84df-b5ca5acd551c/250267/hd-mezzanine-16x9/2c382920_l-00004055-16x9-mp4-2500k.mp4
> File size: 1077791195 bytes
> Opening output file 2c382920_l-00004055-16x9-mp4-2500k-2c382920_l-00004055-16x9-mp4-2500k.mp4.part
> Starting download
> Downloaded 1.0 Gigabyte in 17 seconds. (60486.33 KB/s)
> [axel] Downloaded 1077791195 bytes
> [download] 100% of 1.00GiB
>
Interesting!
Using your script without https does work.
Thanx!!!



More information about the ffmpeg-user mailing list