Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Trying to sniff URL for TG4 websiteI used to use Elmedia Player to download videos from tg4.ie with ease, but they have since changed their site architecture and it doesn't work anymore.
I downloaded Wireshark and started trying to learn to locate the actual stream URL using that but so far I haven't had any luck when following the guides I have found on the subject. I am somewhat of a noob at this, but from what I gather from my brief experimentation, I don't think this site uses RTMP. I think I identified one packet that had the video ID number but that didn't really seem to help me in attaining the full URL. If anyone has any insight into the workings of this site and can suggest a clear method for obtaining and downloading streams from this site, I'd greatly appreciate it. As a sample, I'm trying to download this movie: http://www.tg4.ie/ga/player/baile/?pid=4456415974001 It looks to me like the actual URL is: http://c.brightcove.com/services/mob...290862567 001 But when I try to navigate there it tells me it's unavailable. |
#2
|
|||
|
|||
Re: Trying to sniff URL for TG4 websitehi
Code:
livestreamer "hlsvariant://http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4456415974001&pubId=1290862567001" best -o videos.ts Code:
ffmpeg -i "http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4456415974001&pubId=1290862567001" -c copy video.ts Code:
ffmpeg -i "http://c.brightcove.com/services/mobile/streaming/index/master.m3u8?videoId=4456415974001&pubId=1290862567001" -absf aac_adtstoasc -c copy video.mp4 |
#3
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteThanks,
Ok, this is no doubt a stupid question, but what do I do with those links? If I click the link as it is, it doesn't go anywhere. And what is the stuff before and after each link, i.e. the "ffmpeg -i" and "-absf aac_adtstoasc -c copy video.mp4"? |
#4
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteQuote:
|
#5
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteYou can also use the firefox plugin "video dowload helper" to capture this stream. I tested it yesterday and it works fine.
|
#6
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteUnfortunately I'm on a Mac so I don't think I can use either of those two command line applications (I'll look to see if they have a Mac version but I'll be surprised if they do). As for Video Downloadhelper, I tried that and it doesn't really work very well for me. I tried it on both Firefox and Chrome and neither seems to produce a full file. At a certain point it stops recording to the first file and starts on another file, so the video ends up broken up into little pieces, sometimes discarding one of the sections for some reason. Even if it worked it would be a little cumbersome, since you have to actually watch the whole video for it to capture the stream. The nice thing about Elmedia Player is/was that you can cue the download and then it just captures it regardless of whether you're watching it or not. It's a shame it no longer works for this site.
|
#7
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteQuote:
http://docs.livestreamer.io/install....ther-platforms Code:
easy_install -U livestreamer |
#8
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteyes also supporting mobile when setting agent
Code:
http://tgfour-a.akamaihd.net/rtmp_uds/1290862567001/201509/3932/1290862567001_4456536310001_4456415974001.mp4 |
#9
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteThanks 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. |
#10
|
|||
|
|||
Re: Trying to sniff URL for TG4 websiteQuote:
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 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-11-2015 at 12:57 AM. Reason: bad direct link |
Tags: tg4ie |
Thread Tools | |
Display Modes | |
|
|