Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Cannot capture ITV streams

(http://stream-recorder.com/forum/showthread.php?t=15984)

Mick 03-31-2013 04:30 AM

Re: Cannot capture ITV streams


 
Thank you chap!

Quote:

Originally Posted by chap (Post 61158)
try use latest version rtmpdump
Code:

http://ffmpeg.zeranoe.com/builds/source/external_libraries/rtmpdump-20121230-git-df6c518.tar.xz

I have just built the latest git rtmpdump from here: git://git.ffmpeg.org/rtmpdump and it includes all latest commits from 30 March 2013.

Quote:

Originally Posted by chap (Post 61158)
try
episode-13-150
example

Probably I did not explain clearly: I have no problem playing older URLs from www.channel5.com. The rtmp requests are captured fully by using rtmpsrv. Then I can download them using trmpdump. No problem with these older video URLs.

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:

Originally Posted by chap (Post 61158)
ITV
need to change the link manually(new auth=bla,bla,bla)-otherwise download not work(Whatever you do not use)

Can you please explain how am I supposed to change the link? Which part of the link and with what information? For example, when I go to this URL: https://www.itv.com/itvplayer/broadc...es-1/episode-1 the flash player asks for my post code (to check that I am trying to watch the video from the UK) and then it asks me to confirm that I am an adult (because this is a crime thriller not suitable for children). After I enter all this information in the browser I can play the video - but here is where the problems start. The video starts with the itv logo and then playing adverts. It does not continue to the main video after the adverts when I am running rtmpsrv. Meanwhile, rtmpsrv ONLY captures the request to the stream server that shows the itv logo. This is what I get with the latest rtmpsrv from git:
Code:

# rtmpsrv
RTMP Server v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEd0b7aEbycJdwclbRcPdfdbb.cwd5bndJcbb5adcSaod_bWaNdsbLbAatccbWdNaz-brv_Wp-eS-6yv1CBrlAuyr&aifp=v002&slist=production/" -a "ondemand?auth=eaEd0b7aEbycJdwclbRcPdfdbb.cwd5bndJcbb5adcSaod_bWaNdsbLbAatccbWdNaz-brv_Wp-eS-6yv1CBrlAuyr&aifp=v002&slist=production/" -f "LNX 11,2,202,275" -W "https://www.itv.com/mediaplayer/ITVMediaPlayer.swf?v=12.18.4" -p "https://www.itv.com/itvplayer/broadchurch/series-1/episode-1" -y "mp4:production/priority/stings/12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.mp4" -o 12334234_Adrobot_rebrand_7secplayersting169_7_495_600.BASELINE.flv

Closing connection... done!

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration              7.04
INFO:  moovPosition          40.00
INFO:  width                512.00
INFO:  height                288.00
INFO:  videocodecid          avc1
INFO:  audiocodecid          mp4a
INFO:  avcprofile            66.00
INFO:  avclevel              30.00
INFO:  aacaot                2.00
INFO:  videoframerate        25.00
INFO:  audiosamplerate      48000.00
INFO:  audiochannels        2.00
INFO: tags:
INFO:  ©too                Lavf53.2.0
INFO: trackinfo:
INFO:  length                175.00
INFO:  timescale            25.00
INFO:  language              und
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  length                337920.00
INFO:  timescale            48000.00
INFO:  language              und
INFO: sampledescription:
INFO:  sampletype            mp4a
526.284 kB / 7.02 sec (99.7%)
Download may be incomplete (downloaded about 99.70%), try resuming

If I download with rtmpdump and play 12334234_Adrobot_rebrand_7secplayersting169_7_495_ 600.BASELINE.flv all I get is the video of the itv logo that lasts just a few seconds, not the video which is supposed to follow. The playpath for the main video is different and this is NOT captured by 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!

Mick 03-31-2013 11:05 AM

Re: Cannot capture ITV streams


 
Just 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.

riddler 04-08-2013 08:39 AM

Re: Cannot capture ITV streams


 
Hi 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.

evol 04-08-2013 09:12 AM

Re: Cannot capture ITV streams


 
The trick is not to catch the ads at the begging of the stream :)

chap 04-08-2013 03:45 PM

Re: Cannot capture ITV streams


 
Quote:

Originally Posted by riddler (Post 61438)
https://www.itv.com/itvplayer/daybreak/08-04-2013

which I've been trying to get for the past 2 months.

Code:


>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=eaEdZ
cjatdjbAc6cwdwc.cxdEard7bCbadzdQdCaZcfcUb1cPa2d.aqbrd0d_cjb7cB-bryZKl-eS-5zv1LDw
kBtEr&aifp=v002&slist=production/" -f "WIN 11,6,602,180" -W "https://www.itv.com
/mediaplayer/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/daybreak/08-0
4-2013" -y "mp4:production/priority/rtmpecatchup/1200/35/1-9358-0849-001/1-9358-
0849-001_daybreak-(2013)_tx080413_itv1200_16x9-reg.mp4" -o "4.flv"
RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration                7535.83
INFO:  moovPosition            32.00
INFO:  audiocodecid            mp4a
INFO:  width                  704.00
INFO:  height                  396.00
INFO:  videocodecid            avc1
INFO:  avcprofile              77.00
INFO:  avclevel                31.00
INFO:  aacaot                  2.00
INFO:  audiosamplerate        48000.00
INFO:  audiochannels          2.00
INFO:  videoframerate          25.00
INFO: trackinfo:
INFO:  length                  361719808.00
INFO:  timescale              48000.00
INFO:  language                eng
INFO: sampledescription:
INFO:  sampletype              mp4a
INFO:  length                  188393000.00
INFO:  timescale              25000.00
INFO:  language                eng
INFO: sampledescription:
INFO:  sampletype              avc1
7157.616 kB / 48.72 sec (0.6%)


DLC 07-28-2014 02:05 PM

Re: Cannot capture ITV streams


 
Could 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:41 PM.