cURL / Mailing Lists / curl-users / Single Mail

curl-users

curl m3u8 files (IPTV over curl socks proxy)

From: GNUser <gnuser_at_openmailbox.org>
Date: Tue, 20 Oct 2015 14:42:56 +0000

Hello,

I want to use curl to "suck" live streams that I usually watch on vlc or
mplayer. The reason is I want to be able to do it over the socks5 proxy
(Tor). But I can't do it for most of the links I have. Usually m3u8 files.

For example:
http://vtv.live.cdn.fptplay.net/vtvlive/smil:bongdatvsd_hls.smil/chunklist_b1200000.m3u8

This link plays splendidly in vlc or mplayer.
But with curl, it won't work.
I have tried
curl --socks5-hostname 127.0.0.1:9150 -A "Mozilla/5.0 (Windows NT 6.1;
rv:31.0) Gecko/20100101 Firefox/31.0" -H "Accept-Language:
en-us,en;q=0.5" -L
"http://vtv.live.cdn.fptplay.net/vtvlive/smil:bongdatvsd_hls.smil/chunklist_b1200000.m3u8"
> temporaryfile.mp4
And it fails.

Apparently my tmeporaryfile gets filled with some links that I can't get
to work properly with curl.

Any help?

I want to basically use the same list as Kodi (former xbmc) users have,
and access the streams with curl.

Thanks!
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-10-20