chrippa / livestreamer

Command-line utility that extracts streams from various services and pipes them into a video player of choice. No longer maintained, use streamlink or youtube-dl instead.
http://livestreamer.io/
BSD 2-Clause "Simplified" License
3.88k stars 581 forks source link

Wat.tv support #650

Open karlo2105 opened 9 years ago

karlo2105 commented 9 years ago

It would be interesting to support this site : http://www.wat.tv/ They stream several French channels with HDS and HLS. French proxy is required but address for channel NT 1 : http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_NT1, looks like that : http://www.wat.tv/get/nt1live/591997?getURL=1

Ordval commented 9 years ago

--http-headers works here so it’s especially interesting. EDIT. 17/1 -15 ...or am i confusing it with Hola ? I could have sworn on what I was using, only where X-Forwarded-For, now it’s just with Hola. X-Forwarded-For seems a bit coming and going in Firefox. When (site) FB Host still was active before Henry unfortunately died, it worked with X-Forwarded-For.

karlo2105 commented 9 years ago

I found more channels. HD1 http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_HD1

NT1 http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_NT1

TMC http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_TMC

TF1 http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_TF1

keltiek commented 8 years ago

It doesn't work with wat.tv plugin, right?

livestreamer.exe "http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_TF1"
[cli][info] Found matching plugin wattv for URL http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_TF1
error: No streams found on this URL: http://www.wat.tv/images/v70/PlayerLite.swf?videoId=L_TF1
ghost commented 8 years ago

WAT.TV

La plateforme WAT telle que vous la connaissez n'existe plus, mais nombre de vos vidéos sont
désormais disponibles sur MYTF1 / XTRA.

However, you can try something like this:

http://www.tf1.fr/tf1/direct
http://www.wat.tv/get/androidliveconnect/591997?getURL=1
livestreamer "hds://tf1livhdsstrike-lh.akamaihd.net/z/strike01_1@97257/manifest.f4m?hdnea=st=1466056818~exp=1466058618~acl=/*~hmac=a9c7ace55d0ac4b759e5f1b65356b0db093dd11a97bea56f082c04164a7f9816&n=20&b=496,896,1296,1896,2456&hdcore=2.11.3&g=RCBDHUOFFVGE pvswf=http://www.wat.tv/images/v70/PlayerWat.swf" best
[cli][info] Found matching plugin stream for URL hds://tf1livhdsstrike-lh.akamaihd.net/z/strike01_1@97257/manifest.f4m?hdnea=st=1466056818~exp=1466058618~acl=/*~hmac=a9c7ace55d0ac4b759e5f1b65356b0db093dd11a97bea56f082c04164a7f9816&n=20&b=496,896,1296,1896,2456&hdcore=2.11.3&g=RCBDHUOFFVGE pvswf=http://www.wat.tv/images/v70/PlayerWat.swf
[cli][info] Available streams: 496k (worst), 896k, 1296k, 1896k, 2456k (best)
[cli][info] Opening stream: 2456k (hds)
Video: MPEG4 Video (H264) 1280x720 25fps 2416kbps [V: h264 main L3.1, yuv420p, 1280x720, 2416 kb/s]
Audio: AAC 44100Hz stereo 98kbps [A: aac he-aac, 44100 Hz, stereo, 98 kb/s]
dotmick commented 8 years ago

[Update]

livestreamer "http://tf1livhdsstrike-lh.akamaihd.net/z/strike01_1@97257/manifest.f4m?hdnea=st=1472633312~exp=1472635112~acl=/*~hmac=e4cb4d017fe018cf1e8adf27d41824e5ddee1575a09bc9be0338b7b57e81e761&n=20&b=496,896,1296,1896,2456"
error: No plugin can handle URL: http://tf1livhdsstrike-lh.akamaihd.net/z/strike01_1@97257/manifest.f4m?hdnea=st=1472633312~exp=1472635112~acl=/*~hmac=e4cb4d017fe018cf1e8adf27d41824e5ddee1575a09bc9be0338b7b57e81e761&n=20&b=496,896,1296,1896,2456