Cannot capture ITV streamsI just tried to download this ITV video and it gets stuck at the ITV logo. It downloads a short clip with the logo animation and then keeps repeating and repeating the attempt to download it, with errors like this:
Code:
# iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT Is there a workaround to this problem? Can someone please have a go and let me know if they can download it? |
Re: Cannot capture ITV streamsCode:
>rtmpdump -r "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEdEcAbFagb9dubRc9bxckc |
Re: Cannot capture ITV streamsThanks!
It seems that my iptables redirect command no longer works. :( I recall that some versions ago the iptables rules changed and it no longer accepts the redirect rule: Code:
# iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT |
Re: Cannot capture ITV streamstry use windows:)
|
Re: Cannot capture ITV streamsQuote:
|
Re: Cannot capture ITV streamsThank you karlo2105,
The problem is with my firewall. The iptables syntax suggested in the link you provided no longer works on my setup. I'm reading up now to find out how to change the syntax to make it work. Otherwise, if I were to use the /etc/hosts file to add the rtmpe address, instead of a iptables rule to achieve redirection, where would I be able to retrieve this rtmpe address from? |
Re: Cannot capture ITV streamsQuote:
I could really do with some help to troubleshoot this please guys. :confused: Here's a summary to date. I can capture with rtmpsrv and download with rtmpdump videos like this: http://www.channel5.com/shows/extrao...episode-13-150 but cannot either capture all the headers or download videos from ITV or Channel 4, like this: https://www.itv.com/itvplayer/broadc...es-1/episode-1 When I start playing videos (recently) from ITV or Channel 4, rtmpsrv gets stuck at the advert server playpath. The main video headers never show up. All I get is: Code:
# rtmpsrv Code:
$ rtmpdump -r "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEdEcAbFagb9dubRc9bxckcLa_dlcYazcrb_brdBcMaUdMcOaed.a4dkcObEbtbsdf-brvC8p-eS-4zs2DAtkwuwq&aifp=v002&slist=production/" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -y "mp4:production/priority/rtmpecatchup/1200/32/2-1926-0001-003/2-1926-0001-003_broadchurch_tx040313_itv1200_16x9-reg.mp4" -o "4.flv" Short of going now to buy a MSWindows OS just to run an application that was written for Linux (thanks chap ;) ) is there something in what I posted that can point to a problem and ideally a solution for the errors I've been getting? After all if it works with older streams from channel 5, but not recent streams from ITV or Channel 4 it has to be something to do with the harndshakes and headers that these servers exchange - yes? In case this is related: I've also tried rtmpsuck but can't get it to work with any server. It fails to capture the playpath even on old channel 5 videos that rtmpsrv/dump work: Code:
WARNING: HandShake: Type mismatch: client sent 6, server answered 8 |
Re: Cannot capture ITV streamsTry with rtmpsuck.
|
Re: Cannot capture ITV streamsYou probably missed it. I can't get rtmpsuck to work at all.
Quote:
|
Re: Cannot capture ITV streamstry use latest version rtmpdump
Code:
http://ffmpeg.zeranoe.com/builds/source/external_libraries/rtmpdump-20121230-git-df6c518.tar.xz episode-13-150 example Code:
rtmpdump -r "rtmpe://bt.fcod.llnwd.net:1935/a800/o10" -a "a800/o10" -y "mp4:videos/19582164001/19582164001_919573411001_b17-C5153270013A4-H264-1500-16x9.mp4?e=1364721723&h=dd695d3f03f9de308c2e53ef7dbdb531&__nn__=659726446001" -o "4.flv" ITV need to change the link manually(new auth=bla,bla,bla)-otherwise download not work(Whatever you do not use) |
Re: Cannot capture ITV streamsThank you chap!
Quote:
Quote:
HOWEVER, if I try to download more recent videos from www.itv.com or from http://www.channel4.com/programmes/4od then rtmpsrv is not capturing the rtmp requests completely. I think that this happens because the flash player interface is asking the user to login with username and password (on channel4) or is asking the user to add their post code and accept adult content (on itv). Could it be that this authentication process breaks the rtmpsrv from capturing the complete request? Quote:
Code:
# rtmpsrv Now, having said all this, the good news is that with the latest build from git I just tried and can record the main video with rtmpsuck! YES! Success at last. :D Previous versions of rtmpsuck would not work at all - nothing saved on the disk. This version works fine. :) So it seems to me that the rtmp devs are playing catch up with whatever obstacles are being set up by the media providers and the very latest version of rtmp is more likely to succeed. Thank you all for your suggestions and a BIG thank you to rtmp developers! |
Re: Cannot capture ITV streamsJust to add that rtmpsuck does not continue to record to the end of the video. At some point it drops the connection, reconnects and then overwrites the previously recorded file! So the first half of the video is erased. :-(
Here are my observations to date with this version of rtmpdump: Using Chromium browser incognito mode, all adverts in the video are played normally. Every time the video arrives at at an advert break it drops the connection and restarts after the adverts, but does not rename the previous file. As a result the video is overwritten and the recording lost. :-( I have not tried all different browsers with and without Adblock Plus, to see if it makes a difference. However, trying Chromium in normal mode with AdBlock Plus, it does not play any adverts and initially over the first 2-3 advert breaks it records continuously. Great! I thought, but unfortunately this does not continue to the end. After say 200-300MB or even less, it drops the connection, reconnects and continues to record, overwriting the file. This is a bit of a pain because I have to keep an eye on the download to see if it stops, quickly copy the file before it is overwritten and then stitch up all the different files into one recording. Interested to hear if other browsers (with what settings) do not suffer from this problem. |
Re: Cannot capture ITV streamsHi all, I need help with ITV Player too. Posted on the main RTMP thread and didn't get any response. I'm on Windows, used RTMP Helper and RTMP Explore X and can't detect the stream at all. I use a free UK VPN.
I can only download using RTMPDump after someone detects the URL and gives me the download string. https://www.itv.com/itvplayer/daybreak/08-04-2013 And http://www.itv.com/daybreak/showbiz/keeley-hawes/ which I've been trying to get for the past 2 months. |
Re: Cannot capture ITV streamsThe trick is not to catch the ads at the begging of the stream :)
|
Re: Cannot capture ITV streamsQuote:
Code:
|
Re: Cannot capture ITV streamsCould somebody help me capturing this stream https://www.itv.com/itvplayer/lorraine/22-07-2014? I got the command line but it doesn't seem to work at all:
Code:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" –a "ondemand?auth=eaEcPcscNahaPambIbbbpakdfaJdFaFardga9aFb.aBcFdLatbRcRabcncvdbdadvc0-bt1P3D-eS-5zu3LAujwryq&aifp=v002&slist=production –W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/lorraine/22-07-2014" -y "mp4:production/priority/rtmpecatchup/1200/9F/1-9360-1184-001/1-9360-1184-001_lorraine-(2014)_tx220714_itv1200_16x9-reg.mp4" -o "Lorraine.flv" |
All times are GMT -6. The time now is 04:13 AM. |