curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: A very difficult download

From: Pierre Brico <pierre.brico_at_gmail.com>
Date: Wed, 22 May 2019 09:59:15 +0200

Hi,

For you information, video files are often split into several pieces to be
played by a browser. The URL you gave (with playlist.m3u8) should contain
the playlist of resolution available for the video. For each resolution,
you have an URL (usually chunklist.m3u8) with a list of all chunks
belonging to the video. If you want to download the full video, you have to
download all pieces (media_0.ts, media_1.ts, ...) using curl and
afterwards, put them all together using a tool like ffmpeg (
https://ffmpeg.org/download.html). Here is an example of command
line: ffmpeg.exe -f concat -i listOfChunks.txt -acodec copy -vcodec copy
movie.mp4 with listOfChunks.txt like:
file media_0.ts
file media_1.ts
...

I did a bash script a few months ago to download such a video and it works
pretty well. Unfortunately, the video is geo-protected (only accessible
from Austria) and I can't download it to see if my script is working.

Good luck

On Tue, May 21, 2019 at 11:13 PM cumdacon <cumdacon_at_teletu.it> wrote:

> I guess that curl must tell me the real url!
> anyway via xidel I was able to find from myself:
>
> https://apasfiis.sf.apa.at/ipad/cms-austria/20160525_0900_in_02_Neues-beim-Wien_____13919349__o__1147162205__s13995118_Q8C.mp4/playlist.m3u8
>
> and/or
>
>
> https://apasfiis.sf.apa.at/ipad/cms-austria/20160525_0900_in_02_Neues-beim-Wien_____13919349__o__1147162205__s13995118_Q8C.mp4/chunklist.m3u8?lbs=20190514195732876&origin=http%253a%252f%252fvarorfvod.sf.apa.at%252fsystem_clips%252fgeoprotection_q5a.mp4%252fchunklist.m3u8&ip=84.xxx.xx.xx&ua=Mozilla%252f5.0%2bFirefox%252f64.0
> "
>
> and now...?
>
>
>
>
>
>
> ----- Original Message -----
> From: "Norton, Mike" <mikenorton_at_pwsd76.ab.ca>
> To: "the curl tool" <curl-users_at_cool.haxx.se>
> Sent: Tuesday, May 21, 2019 8:42 PM
> Subject: RE: A very difficult download
>
>
> > The URL you gave is not a video. It's a web page that has a video on it.
> >
> > To download the video using Curl you will first need to figure out the
> URL
> > of the actual video file, not the web page URL. Curl will not do that
> part
> > for you.
> >
> > -mn
> >
> >
> > -----Original Message-----
> > From: curl-users <curl-users-bounces_at_cool.haxx.se> On Behalf Of cumdacon
> > Sent: May 21, 2019 8:18 AM
> > To: curl-users_at_cool.haxx.se
> > Subject: A very difficult download
> >
> > And now....the question:
> > are you able to download (and save, and watch) this video?
> >
> https://tvthek.orf.at/profile/Archiv/7648449/Neues-beim-Wiener-Sommernachtskonzert/13919349/Neues-beim-Wiener-Sommernachtskonzert/13995118
> >
> > -----------------------------------------------------------
> > Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> > Etiquette: https://curl.haxx.se/mail/etiquette.html
> >
>
> -----------------------------------------------------------
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
> Etiquette: https://curl.haxx.se/mail/etiquette.html
>

-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2019-05-22