View Single Post
  #10  
Old 09-10-2015, 12:56 PM
biezom biezom is offline
Senior Member
 
Join Date: Sep 2014
Posts: 1,025
biezom is on a distinguished road
Default

Re: Trying to sniff URL for TG4 website


Quote:
Originally Posted by mseoige View Post
Thanks to everyone for their help so far. I am getting closer. Livestreamer worked for me to capture the link given by the first responder. The problem I'm having now is extrapolating this process to the other videos. I used Wireshark to get this address, for instance:

/services/mobile/streaming/index/rendition.m3u8?assetId=4445774836001&pubId=1290862 567001&videoId=4445730444001

Which I added to the http://c.brightcove.com to get

http://c.brightcove.com/services/mob...=4445730444001

I tried this with the same livestreamer format given above, changing a few things in the address to look more like the original link you provided (I changed rendition to master and removed everything from the & onward) and livestreamer returns a 404 error. I tried the link as it was as well and it said there were no streams found.

Code:
http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4445730444001&pubId=1290862567001
>>>>>>
Code:
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=240000,RESOLUTION=280x152
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4445774836001&pubId=1290862567001&videoId=4445730444001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=440000,RESOLUTION=280x152
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4445785974001&pubId=1290862567001&videoId=4445730444001
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1197000,RESOLUTION=672x368
http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8?assetId=4445808933001&pubId=1290862567001&videoId=4445730444001
with in red the link that you found

for rendition.m3u8 use livestreamer "hls://http://c.brightcove.com/services/mobile/streaming/index/rendition.m3u8............"

for master.m3u8 use livestreamer "hlsvariant://http://c.brightcove.com/services/mobile/streaming/index/master.m3u8.......

Code:
livestreamer "hlsvariant://http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4445730444001&pubId=1290862567001" best -o video2.ts

or

Code:
https://tgfour-a.akamaihd.net/rtmp_uds/1290862567001/201508/1002/1290862567001_4445801088001_4445730444001.mp4

Last edited by biezom : 09-10-2015 at 11:57 PM. Reason: bad direct link
Reply With Quote