Thank you chap!
Quote:
Originally Posted by chap
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
|
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
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.

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!