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

JD jd1008 at gmail.com
Sat Nov 4 20:13:08 EET 2017



On 11/04/2017 11:51 AM, Moritz Barsnick wrote:
> 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

Hi Moritz,
youtube-dl is up-to-date (2017.10.29)

I just tried it with the current update of YTDL (youtube-dl) and got this:

ERROR: unable to download video data: <urlopen error [Errno 1] 
_ssl.c:504: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 
alert handshake failure>
Traceback (most recent call last):
   File "/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1892, in 
process_info
     success = dl(filename, info_dict)
   File "/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1831, in dl
     return fd.download(name, info)
   File "/bin/youtube-dl/youtube_dl/downloader/common.py", line 361, in 
download
     return self.real_download(filename, info_dict)
   File "/bin/youtube-dl/youtube_dl/downloader/http.py", line 286, in 
real_download
     establish_connection()
   File "/bin/youtube-dl/youtube_dl/downloader/http.py", line 74, in 
establish_connection
     ctx.data = self.ydl.urlopen(request)
   File "/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2195, in urlopen
     return self._opener.open(req, timeout=self._socket_timeout)
   File "/usr/lib64/python2.7/urllib2.py", line 404, in open
     response = self._open(req, data)
   File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
     '_open', req)
   File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
     result = func(*args)
   File "/bin/youtube-dl/youtube_dl/utils.py", line 1086, in https_open
     req, **kwargs)
   File "/usr/lib64/python2.7/urllib2.py", line 1186, in do_open
     raise URLError(err)
URLError: <urlopen error [Errno 1] _ssl.c:504: error:14077410:SSL 
routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure>





> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-user mailing list