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

Download ITV Player using RTMPDump?

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

karl0ss 04-08-2010 05:13 AM

Download ITV Player using RTMPDump?


 
Hi, I am wondering if it is possible to use RTMPdump to download videos from itv player? I even have the direct link, but it will not work..

this is the link to the video I wish to download.

Code:

rtmpe://cp72511.edgefcs.net:443/ondemand?ovpfv=1.1&auth=eaEc7c_d4b7a_dbdDbkcMdTcHd4cMaWbhbAavckaxcebQa7d_bZaMb7axcEaPaHazdf-blVzA8-eS-dzp4IBwjyuxs&aifp=v002&slist=production/mp4:production/CATCHUP/5ffeb998/2800/486c/97ea/b739f4ce5cf6/1-7418-0007-001_BREAKOUT_TX050410_ITV600_16x9.mp4
I searched the forums, but couldnt find anything on downloading from ITV Player, does no one use it?

Hope its possible, thanks for the help.

KarlAny idea how to stop that smily face appearing in the link? the missing items are ": p" without the space.

elch 04-12-2010 12:47 PM

Re: RTMPDump and ITV Player?


 
There might be some parameters missing. Have you tried rtmpsuck?

See also http://lists.mplayerhq.hu/pipermail/...er/000097.html for a related issue.

crk 05-19-2010 05:05 AM

Re: RTMPDump and ITV Player?


 
I may be able to help you (had some experience with rtmpdump), but where did you get the direct link?

I have been looking through the source code of _http://www.itv.com/channels/itv1/default.html but was unable find a direct link


grtz,
crk

Stream Recorder 05-19-2010 08:39 AM

Re: RTMPDump and ITV Player?


 
Quote:

Originally Posted by crk (Post 19013)
I may be able to help you (had some experience with rtmpdump), but where did you get the direct link?

How to find RTMPE stream URLs

ecorg911 07-16-2011 05:17 AM

Re: rtmpdump does not start & error: HandShake: Type mismatch: client sent 6, server


 
Tested rtmpdump 2.4, does NOT work with iTV Player, still get the same dreaded message:

WARNING: HandShake: Type mismatch: client sent 6, server answered 9

KSV 07-16-2011 09:14 AM

Re: rtmpdump does not start & error: HandShake: Type mismatch: client sent 6, server


 
it's working as expected.

Code:

rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEcCadaJbha1dUbyd4aAd9cuaddiaed4ataPahbXdCdobMdfcobRdsb7a5ardIbXdT-boizSi-eS-cxp1HBujyuCq&aifp=v002&slist=production/" -f "WIN 10,3,181,14" -W "http://www.itv.com/mercury/Mercury_VideoPlayer.swf?v=11.7.649" -p "http://www.itv.com/itvplayer/video/?Filter=256002" -C Z: -y "mp4:production/CATCHUP/d638ec1b/0cbd/4741/a7a1/86f395a22478/1-0694-7646-001_CORONATION-STREET-(SERIES-52)-2011_TX150711_ITV1200_16X9.MP4" -o 1-0694-7646-001_CORONATION-STREET-(SERIES-52)-2011_TX150711_ITV1200_16X9.flv
Code:

RTMPDump v2.4 GIT-2011-07-11 (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              1331.76
INFO:  moovPosition          32.00
INFO:  width                704.00
INFO:  height                396.00
INFO:  videocodecid          avc1
INFO:  audiocodecid          mp4a
INFO:  avcprofile            77.00
INFO:  avclevel              31.00
INFO:  aacaot                2.00
INFO:  videoframerate        25.00
INFO:  audiosamplerate      24000.00
INFO:  audiochannels        2.00
INFO: trackinfo:
INFO:  length                33291000.00
INFO:  timescale            25000.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  length                31962112.00
INFO:  timescale            24000.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            mp4a
7604.717 kB / 51.80 sec (3.8%)


gsd4me 09-25-2011 02:13 PM

What to do next? Slightly confused in sequence


 
Dear all

I am a rugby coach and have been following the Rugby World Cup currently going on in New Zealand.
I want to use some sections of the games to use in coaching presentations, to highlight various technical points.
I am attempting to record some of the games that can be accessed by the (UK) ITV catchup facility, ITVplayer

I am using Ubuntu v11 and have installed RTMPdump and Wireshark.

What I do is:
Start Wireshark in privileged mode
Select wlan0 as the device (I am on a wifi broadband in the house) (This seems to be the correct device as a lot of streaming info *is* recorded)
I start the playback of the match I wish to record (eg _http://www.itv.com/itvplayer/video/?Filter=?271631)
I let the playback play for a while (including the compulsory adverts!), even stopping and starting the playback a couple of times as suggested by other forums and sources.
I then look at the Wireshark buffered info.
...and then I get very confused.

Other areas (eg Youtube videos etc) suggest that I filter for the RTMPT package types and then look for strings such as "invoke" or "handshake" but these seem to be either missing or not there at all. And this is even before I attempt to find out what the hidden stream source is and then do the "Follow TCP stream" that I am supposed to do (correct?)

What am I missing in my efforts to record the playback streaming?
I have tried doing a filter on RTMPT *before* starting the payback and also *after* doing so. I have also tried other package types (DNS, RTMPE etc) but am still slightly lost as to the data I am looking at.
Can anyone point out (preferably as an idiot's guide) what series of steps I *should* be doing?
Many thanks

an exasperated and confused newbie

chap 09-25-2011 04:33 PM

Re: What to do next? Slightly confused in sequence


 
Quote:

Originally Posted by gsd4me (Post 32833)
what series of steps I *should* be doing?

http://stream-recorder.com/forum/sho...71&postcount=1

gsd4me 09-29-2011 04:58 PM

Re: Download ITV Player using RTMPDump?


 
There seems to be a paucity of information on the web (and on this site as well) regarding recording of ITVplayer streams - so perhaps we/(the real experts that I am trying to contact) can start from scratch and set up a definitive series of actions to enable the relevant streams to be saved - both for Windows and Linux? As I have indicated above, I have a technical requirement to use some of the programme images in a presentation shortly! Perhaps this sort of project can be extended to other 'catchup' players/other streaming sources.

First of all, does anyone know what format the ITV iPlayer programmes are streamed in? FLV, asf?
Are they "DRM'd" ?
What is the best/easiest method of obtaining the 'real' URL for a given http url? i.e. what tools would one need to obtain this information and how to go about doing so?

Obviously everyone would prefer the information being sought to be provided by software that is gratis rather than having to pay out for several different programs that may or may not work for them.

Anyone willing to make a start? If necessary, I would be quite willing to author any user guide just so long as the correct information can be supplied

KSV 09-29-2011 11:05 PM

Re: Download ITV Player using RTMPDump?


 
here's the short version. this method also works for non UK users with restrictive vpn's.
  1. Run RTMPexplorer and close rtmpsrv by pressing q or closing it's window.
  2. open your video url in RtmpExplorer.
  3. when channel logo video starts playing quickly start rtmpsrv again.
  4. when you see the activity in rtmpsrv window (Duplicate request, skipping) etc. close the RtmpExplorer and rtmpsrv.
  5. copy the last command line from Command.bat. it should be like following.
    Code:

    rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEbIcWdPc0csdGdzc9cZaYc1acaLd_dobka.ddbVchdcc1a3dqdxcSclb9aqaRa5dz-boHts0-eV-8zu4DCplDuys&aifp=v002&slist=production/" -f "WIN 10,3,183,10" -W "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/itvplayer/video/?Filter=273823" -C Z: -y "mp4:production/CATCHUP/e98b52c6/13b6/4d00/8397/2846345a1073/1-0694-7695-001_CORONATION-STREET-(SERIES-52)-2011_TX190911_ITV400_16X9.mp4" -o 1-0694-7695-001_CORONATION-STREET-(SERIES-52)-2011_TX190911_ITV400_16X9.flv
  6. change the bitrate in command line to download high quality version. e.g replace ITV400_16X9 with ITV1200_16X9

any ANONYMOUS forum user 09-30-2011 01:08 AM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by gsd4me (Post 33006)
First of all, does anyone know what format the ITV iPlayer programmes are streamed in? FLV, asf?
Are they "DRM'd" ?
What is the best/easiest method of obtaining the 'real' URL for a given http url? i.e. what tools would one need to obtain this information and how to go about doing so?

ITV Player uses RTMPE streams.

Software fore recording RTMPE streams:
RTMPE recorders

Software for finding RTMPE URLs and other parameters of RTMPE streams:
How to find RTMPE stream URLs

gsd4me 09-30-2011 02:55 PM

Re: Download ITV Player using RTMPDump?


 
KSV

Thanks for this - will give it a try over the weekend

BTW - are the instructions for Windows or Linux or both? I usually used Ubuntu Linux but have a dual boot machine

Many thanks
ADB

gsd4me 09-30-2011 04:48 PM

Re: Download ITV Player using RTMPDump?


 
KSV

Did what you said - saw the relevant information flying past in rtmpsrv window.
Closed down both rtmpsrv and RTMPexplorer

However - couldn't find "COMMAND.BAT" - is this supposed to be created in the user directory somewhere?

Am getting there, albeit very slowly!

Paulus 09-30-2011 07:44 PM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by KSV (Post 33008)
here's the short version. this method also works for non UK users with restrictive vpn's.
  1. Run RTMPexplorer and close rtmpsrv by pressing q or closing it's window.
  2. open your video url in RtmpExplorer.
  3. when channel logo video starts playing quickly start rtmpsrv again.
  4. when you see the activity in rtmpsrv window (Duplicate request, skipping) etc. close the RtmpExplorer and rtmpsrv.
  5. copy the last command line from Command.bat. it should be like following.
    Code:

    rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEbIcWdPc0csdGdzc9cZaYc1acaLd_dobka.ddbVchdcc1a3dqdxcSclb9aqaRa5dz-boHts0-eV-8zu4DCplDuys&aifp=v002&slist=production/" -f "WIN 10,3,183,10" -W "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/itvplayer/video/?Filter=273823" -C Z: -y "mp4:production/CATCHUP/e98b52c6/13b6/4d00/8397/2846345a1073/1-0694-7695-001_CORONATION-STREET-(SERIES-52)-2011_TX190911_ITV400_16X9.mp4" -o 1-0694-7695-001_CORONATION-STREET-(SERIES-52)-2011_TX190911_ITV400_16X9.flv
  6. change the bitrate in command line to download high quality version. e.g replace ITV400_16X9 with ITV1200_16X9

Quote:

Originally Posted by gsd4me (Post 33030)
KSV

Did what you said - saw the relevant information flying past in rtmpsrv window.
Closed down both rtmpsrv and rtpmexplorer

However - couldn't find "COMMAND.BAT" - is this supposed to be created in the user directory somewhere?

Am getting there, albeit very slowly!

I am running Windows Vista Home Premium SP2

I don't see Command.bat, either. I simply press CTRL-S in the rtmpsrv windows to pause it, and copy from it the command line in it, which is chopped up to short lines of 80 characters per line. So you will have to patch them back manually or using a program. (I am using "recording" feature in the VIM editor.)

Changing the bit rate in the command works most of the time but for some shows/games not all the bit rates are available. And sometimes the file name does not follow their naming convention (e.g. RWC U.S. vs. Russia _http://www.itv.com/itvplayer/video/?Filter=273630 ). Is there a way to find out all the available bit rates and the corresponding file names when they are named following the naming convention? It would be nice to if that info can be had. (GetFLV lists all the bit rates. I guess we either have to pay or labor through it.)

KSV 10-01-2011 12:47 AM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by gsd4me (Post 33029)
are the instructions for Windows or Linux or both?

These instructions are windows specific.

Quote:

Originally Posted by gsd4me (Post 33030)
However - couldn't find "COMMAND.BAT" - is this supposed to be created in the user directory somewhere?

I have personally added this feature to rtmpsrv and rtmpsuck to create Command.bat. you can either use my binary or manually copy the command line from rtmpsrv window.
http://stream-recorder.com/forum/sho...1&postcount=23
Code:

http://stream-recorder.com/forum/showpost.php?p=31201&postcount=23
Quote:

Originally Posted by Paulus (Post 33033)
Changing the bit rate in the command works most of the time but for some shows/games not all the bit rates are available. And sometimes the file name does not follow their naming convention (e.g. RWC U.S. vs. Russia _http://www.itv.com/itvplayer/video/?Filter=273630 ). Is there a way to find out all the available bit rates and the corresponding file names when they are named following the naming convention? It would be nice to if that info can be had.

Normally they provide video in four bitrates 400, 600, 800 and 1200 kbps. however if a particular video doesn't follow their naming convention or doesn't have all available bitartes or have different bitrates then you can use Wireshark to easily get info about all the resolutions and bitrates available for that particular video.




gsd4me 10-01-2011 03:07 PM

Re: Download ITV Player using RTMPDump?


 
Following on from the sequence that is being described above, I am almost there!

I have downloaded the RTMPexplorer that saves to the COMMAND.BAT file and have found the command that I need - fairly long but it is there.

Set up a terminal command window, ran the command.bat file and watched as the well-known error appeared:
Handshake type mismatch, client sent 6 server answered 9
INFO Connect ...
ERROR RTMP server sent error
ERROR RTMP server requested close

I am using the very latest version of rtmpdump that I could find - 2.4 GIT-6230845 2011-9-25, hence only a few days old.

All the postings and literature that I can find says that the various protocols have been written in but this error is still appearing on people's machines
Any ideas?
I see that the latest build is for Windows 7 and I am using Windows VISTA Basic
Would this make a difference?
Also is there any sort of mismatch between the latest RTMPDUMP and any other versions (eg the 2.4 version produced by KSV that has the COMMAND.BAT creation facility inbuilt)? I have kept the two versions completely separate, using KSV's version to find the command details whilst using the very latest version to actually do the RTMPDUMP

Getting closer to actually recording the rugby that I want to - just one little push will do it! (I hope!)
Many thanks
adb

Paulus 10-02-2011 10:33 PM

Re: Download ITV Player using RTMPDump?


 
KSV,

Thanks for showing the Wireshark example. What is your OS?

Wireshark only works for me under Windows XP in finding the "PlaylistService" XML from ITV. But it can't find it on my Windows Vista PC.

KSV 10-03-2011 12:42 AM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by gsd4me (Post 33058)
I have downloaded the RTMPexplorer that saves to the COMMAND.BAT file and have found the command that I need - fairly long but it is there.

if you have got the command line from command.bat then it should work. command.bat file contains one command per line so only copy the last one. the command also contains auth parameter which expires after few minutes so be little quick.
Quote:

Originally Posted by gsd4me (Post 33058)
I see that the latest build is for Windows 7 and I am using Windows VISTA Basic
Would this make a difference?

no, rtmpdump works fine on all windows versions (XP, Vista, Win 7).
Quote:

Originally Posted by gsd4me (Post 33058)
Also is there any sort of mismatch between the latest RTMPDUMP and any other versions (eg the 2.4 version produced by KSV that has the COMMAND.BAT creation facility inbuilt)? I have kept the two versions completely separate, using KSV's version to find the command details whilst using the very latest version to actually do the RTMPDUMP

there isn't any mismatch between those versions.

Quote:

Originally Posted by Paulus (Post 33080)
KSV,

Thanks for showing the Wireshark example. What is your OS?

Wireshark only works for me under Windows XP in finding the "PlaylistService" XML from ITV. But it can't find it on my Windows Vista PC.

I am using Win XP SP3. it shouldn't make any difference. make sure you are selecting the correct network adapter to monitor in vista.

Paulus 10-03-2011 02:14 AM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by KSV (Post 33082)
if you have got the command line from command.bat then it should work. command.bat file contains one command per line so only copy the last one. the command also contains auth parameter which expires after few minutes so be little quick.

no, rtmpdump works fine on all windows versions (XP, Vista, Win 7).

there isn't any mismatch between those versions.


I am using Win XP SP3. it shouldn't make any difference. make sure you are selecting the correct network adapter to monitor in vista.

KSV,

Thanks again for the reply.

I am redirecting the rtmpsrv.exe output by running in the RTMPexplorer directory (folder) right after the video starts playing:
Code:

rtmpsrv > Command.bat
This way, I can get the Command.bat file like using your version of rtmpsrv so I don't need to concatenate chopped up lines copied from the command windows.

Somehow VPN connections only show up in the "Interface List" of Wireshark on Windows XP PC but not on Windows Vista PC. On a Vista PC, I am seeing in Interface List:
  1. 10/100 Network Connection
  2. Microsoft
  3. MS Tunnel Interface Driver
  4. TAP-Win32 Adapter V9
I have to connect through the TAP-Win32 Adapter but not a VPN.

But on a Windows XP PC the first under the list is:
  1. Adapter for generic dialup and VPN capture
    ...
The latest release 1.6.2 also crashes when the PlaylistService.XML for the USA-Russia RWC game is loaded. Release 1.4.9 does not crash on the same file.

KSV 10-03-2011 07:29 AM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by Paulus (Post 33083)
I have to connect through the TAP-Win32 Adapter but not a VPN.

TAP-Win32 Adapter is installed by OpenVPN. so you need to select that adapter when using VPN.
Quote:

Originally Posted by Paulus (Post 33083)
The latest release 1.6.2 also crashes when the PlaylistService.XML for the USA-Russia RWC game is loaded. Release 1.4.9 does not crash on the same file.

Wireshark's latest svn version (1.7.0-SVN-39234) works fine on XP SP3.

Paulus 10-03-2011 12:58 PM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by KSV (Post 33092)
TAP-Win32 Adapter is installed by OpenVPN. so you need to select that adapter when using VPN.

Wireshark's latest svn version (1.7.0-SVN-39234) works fine on XP SP3.

My current VPN plan supports PPTP but not OpenVPN which was installed previously for a different service provider (free but with limited bandwidth). Wireshark is not working with PPTP on Vista.

Paulus 10-03-2011 02:04 PM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by KSV (Post 33092)
Wireshark's latest svn version (1.7.0-SVN-39234) works fine on XP SP3.

Wireshark 1.7.0-SVN-39234 also crashes upon opening the PlaylistService.XML of this video:
http://www.itv.com/itvplayer/video/?Filter=273630

The current stable release 1.6.2 also crashes on it, but the old stable release 1.4.9 does not.

KSV 10-03-2011 03:06 PM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by Paulus (Post 33097)
Wireshark is not working with PPTP on Vista.

WinPCap driver which is used by Wireshark doesn't support VPN capture on vista and newer systems.

http://www.winpcap.org/misc/faq.htm#Q-6

Quote:

Originally Posted by Paulus (Post 33098)
Wireshark 1.7.0-SVN-39234 also crashes upon opening the PlaylistService.XML of this video:
http://www.itv.com/itvplayer/video/?Filter=273630

The current stable release 1.6.2 also crashes on it, but the old stable release 1.4.9 does not.

it works fine on my system.






gsd4me 10-03-2011 04:21 PM

Re: Download ITV Player using RTMPDump?


 
OK folks - it now is working!

Firstly, many many thanks to everyone who has taken the time and effort to post and help this guy who can write software for 25 years but still not be up to speed with the latest technology - my excuse is that it is not my area of expertise!

What I did was (using previous postings on this thread):

Started ITV player, selecting the match that I wish to download.
The relevant page for the match appeared on the screen but paused waiting for the START command to be selected (*)
Copied the URL for the game from the site address - NB I did not start the player at all at this point
Ran RTMPexplorer, which started RTMPSRV alongwith it
Entered the copied URL into the RTMPEXPLORER address field and selected GO
The match's video site loaded in RTMPEXPLORER, exactly equivalent to the point (*) above
Within the RTMPEXPLORER main screen, started the playback of the game by selecting the START command on the screen within RTMPEXPLORER
Handshake traffic appeared in RTMPSRV box
Waited until audio/visual playback occurred in the RTMPEXPLORER screen - this is important.
Killed the RTMPEXPLORER dialog.
The RTMPSRV box merrily continued to download the file, appearing in the directory.
Waited until the download finished, renamed the file and repeated ad nauseam with the other matches that I wish to download.

Points to note:
KSV's COMMAND.BAT option seems to cause 'problems' - but I *do* like the idea that someone has taken the time and effort to produce a user-friendly output file - many thanks to KSV for this. Using his version of RTMPSRV and RTMPDUMP *does* produce a COMMAND.BAT file that can be edited to extract the relevant download command for the stream. However, running this *as a* command file causes the server 6/9 problem detailed elsewhere in this thread and the command file stops. The steps detailed at the head of this posting do not cause the download to stop so it may need a sequence of "on error, ignore" type statements in the COMMAND.BAT for progress. However, this is a minor point as the download can be done using the methods described above

Secondly, the playback (usually) has connection problems via RTMPEXPLORER, with messages in the RTMPEXPLORER screen indicating playback problems - well, it does on my (supposedly) super-fast broadband. This does not stop or prevent the download from happening but it does cause the whole process to take about 10 times longer than it should. Again, not a real problem, just an annoyance. (As a corollary, if the match playback starts smoothly without this playback problem message, you can still stop the RTMPEXPLORER process and the download takes next to no time and even the display in RTMPSRV looks smoother without terminal overwrites the whole time)

So, all in all, I am now a very happy bunny. Have started to download all the games of the World Cup - yes all 40+ of them. So all I need now is a large external drive for backup, time to edit the games for analysis purposes for my presentations, and many cups of coffee to help me through those processes!

Again, my heartfelt thanks to all involved

KSV 10-03-2011 11:36 PM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by gsd4me (Post 33100)
Waited until audio/visual playback occurred in the RTMPEXPLORER screen - this is important.

You don't need to wait until playback starts in RTMPdump because rtmpsrv disconnects the player after retrieving parameters. player retries several times before giving up on that port (1935) and then switches to rtmpt (port 80) and only then you can see the playback starting in RtmpExplorer.

Quote:

Originally Posted by gsd4me (Post 33100)
Points to note:
KSV's COMMAND.BAT option seems to cause 'problems'

Quote:

Originally Posted by gsd4me (Post 33100)
However, running this *as a* command file causes the server 6/9 problem detailed elsewhere in this thread and the command file stops.

Command.bat is not intended to be used directly because all detected commands are appended to old file. so you only need to copy the last one and manually start RTMPdump form cmd window. Handshake type 6 or 9 has nothing to do with the commands saved in batch file.

Quote:

Originally Posted by gsd4me (Post 33100)
This does not stop or prevent the download from happening but it does cause the whole process to take about 10 times longer than it should.

that's why i told you to close RTMPexplorer and rtmpsrv as soon as commands are detected otherwise it will keep sending new requests and rtmpsrv will start multiple instances of RTMPdump to download the same file. starting the rtmpdump manually is recommended.

in short
if you stick to the instructions posted in my first post, you shouldn't have any problem in downloading those rugby games. games are available in 400 and 800 kbps bitrate only.

gsd4me 10-04-2011 03:03 PM

Re: Download ITV Player using RTMPDump?


 
KSV

Thanks for the coments

However - I have done exactly as stated - even started from scratch again.

Downloaded you 'command.bat creating' version.
Copied the RTMPSRV and RTMPdump commands to the RTMPexplorer folder (thus over-writing what was there)
Copied the URL to RTMPEXPLORER and started the player therein
Stopped both RTMPSRV and RTMPEXPLORER as soon as I saw some traffic.
Edited the COMMAND.BAT file to extract the relevant dump command
Opened a Command terminal
Copied the dump command plus parameters (done as soon as possible, as you indicated that there was a time-limited authorisation parameter)
.... and I get the server 6/9 problem that I detailed above, with RTMPDUMP stopping execution without doing the download.

KSV 10-04-2011 03:13 PM

Re: Download ITV Player using RTMPDump?


 
post the screenshot of command you are using.

gsd4me 10-04-2011 04:23 PM

Re: Download ITV Player using RTMPDump?


 
1 Attachment(s)
KSV

Screen dump as requested for the pasted command that was extracted from your COMMAND.BAT file
(Image jpeg file attached)

Command stream is:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEdCajceaSafabdpc7bMbha7 a6acbAajcvbadQaBaJa8bVcvbEcrcCdicOcqaXa7aH-boI3Ar-eS-cxv3GArjArxs&aifp=v002&slist=production/" -f "WIN 10,1,102,64" -W "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/itvplayer/video/?Filter=276206" -C Z: -y "mp4:production/stings/IP_ProjectMercury_ITV4sting_600_16-9.mp4" -o IP_ProjectMercury_ITV4sting_600_16-9.flv

KSV 10-05-2011 01:50 PM

Re: Download ITV Player using RTMPDump?


 
The command you posted is of channel logo video instead of actual game video which should not be captured if you follow the first step correctly. rtmpsrv is automatically started when you start RtmpExplorer. you have to close it before pasting url in RtmpExplorer. you need to start it after the channel video logo starts playing but before the actual game video starts.

gsd4me 10-05-2011 03:46 PM

Re: Download ITV Player using RTMPDump?


 
All - ie CHAP and KSV

All sorted - and I mean it this time!

You were both correct in your postings - I *should* have stopped the RTMPexplorer-induced RTMPSRV before playback - just me being lazy and thinking that whilst it is running, it wold be pointless to stop and restart it.

Again, many, many thanks for helping me out on this - only 30 more games to download and analyse!

finchy 12-06-2011 11:01 AM

Re: Download ITV Player using RTMPDump?


 
Have followed instructions and everything appears to work right up until rtmpdump command. Am getting following error:

ERROR: RTMP_Connect0, failed to connect to socket. 10061 (Unknown error)

rtmp command from bat file is:

rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEdvcNakcCdmaIbhaPd6aWdP d0bvaNaVadaidLacdNa5bBc5dHaKaWaxcRaFbVa.az-bo3JWY-eS-5zv1CCvmxrAq&aifp=v002&slist=production/" -f "WIN 11,1,102,55" -W "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/itvplayer/video/?Filter=293512" -C Z: -y "mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV400_16X9.mp4" -o 1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV400_16X9.flv

Any ideas?

chap 12-06-2011 12:27 PM

Re: Download ITV Player using RTMPDump?


 
no problem
Code:

E:\Мои документы\STREAM\rtmpdump-2.3-windows\rtmpdump-2.3\rtmpexplorer>rtmpdump
-r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEcM
bCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBt
jyuCs&aifp=v002&slist=production/" -f "WIN 11,0,1,152" -W "http://www.itv.com/me
rcury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/itvplayer/video/?Filter=29
3512" -C Z: -y "mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8f4
bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.mp4" -o 1.fl
v
RTMPDump v2.4 GIT-2011-11-08 (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              3195.14
INFO:  moovPosition          32.00
INFO:  width                704.00
INFO:  height                396.00
INFO:  videocodecid          avc1
INFO:  audiocodecid          mp4a
INFO:  avcprofile            77.00
INFO:  avclevel              31.00
INFO:  aacaot                2.00
INFO:  videoframerate        25.00
INFO:  audiosamplerate      24000.00
INFO:  audiochannels        2.00
INFO: trackinfo:
INFO:  length                79876000.00
INFO:  timescale            25000.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  length                76683264.00
INFO:  timescale            24000.00
INFO:  language              eng
INFO: sampledescription:
INFO:  sampletype            mp4a
13291.313 kB / 89.52 sec (2.8%)


finchy 12-06-2011 02:03 PM

Re: Download ITV Player using RTMPDump?


 
Mmmmm something not right then.

D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpe://cp72511.edgefcs.net:
1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEaCdGaZdiaMcwcsdwaNcydy cMbabmbjblaV
d5aDdhaqcWcHdZb7b3aSdicQdZbKd8-bo3J6z-eS-cAo1DDvjDtyr&aifp=v002&slist=production
/" -f "WIN 11,1,102,55" -W "http://www.itv.com/mercury/Mercury_VideoPlayer.swf"
-p "http://www.itv.com/itvplayer/video/?Filter=293512" -C Z: -y "mp4:production/
priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-
OF-THEIR-LIVES_TX051211_ITV400_16X9.mp4" -o 1-9914-0001-001_THE-FIGHT-OF-THEIR-L
IVES_TX051211_ITV400_16X9.flv
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10061 (Unknown error)

KSV 12-06-2011 11:28 PM

Re: Download ITV Player using RTMPDump?


 
Are you using VPN? it seems to be blocking connection to 1935 port. try changing the port to 80 and protocol to rtmpte.

if it doesn't work try the following fix.
Code:

http://stream-recorder.com/forum/showpost.php?p=34620&postcount=79
if it still doesn't work post the debug log after adding --verbose | -V switch to your command line.

finchy 12-07-2011 06:05 AM

Re: Download ITV Player using RTMPDump?


 
I'm not using VPN. Only have Windows Firewall On and unblocked rtmpsrv.exe. Tried creating exception for rtmpdump.exe but still have no connection. Is there something else I need to do with the Firewall? I would have thought since I seem to connect on 1935 through the rtmpsrv.exe that side is ok, no?

Tried your suggestions to no avail. Logs as follows.
Using rtmpe & port 1935.
Code:

D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpe://cp72511.edgefcs.net:
1935/ondemand" -a "ondemand?auth=eaEd4aRcHb5dLdXdDaLcDc.dobcdfbsbScWaRc4cRchaMdI
a.dVbKc0ckd2bgbEbRav-bo3ZRe-eS-axp3FBumCuFs&aifp=v002&slist=production/" -f "WIN
 11,1,102,55" -W "http://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -p "http://
www.itv.com/itvplayer/video/?Filter=293512" -y "mp4:production/priority/CATCHUP/
a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX
051211_ITV1200_16X9.mp4?sessionId=1096F027-B393-D94D-B6BF-CA24AF5DF742" -V -o 1-
9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.flv
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : cp72511.edgefcs.net
DEBUG: Port    : 1935
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8
f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.mp4?sessio
nId=1096F027-B393-D94D-B6BF-CA24AF5DF742
DEBUG: tcUrl    : rtmpe://cp72511.edgefcs.net:1935/ondemand?auth=eaEd4aRcHb5dLdX
dDaLcDc.dobcdfbsbScWaRc4cRchaMdIa.dVbKc0ckd2bgbEbRav-bo3ZRe-eS-axp3FBumCuFs&aifp
=v002&slist=production/
DEBUG: swfUrl  : http://www.itv.com/mediaplayer/ITVMediaPlayer.swf
DEBUG: pageUrl  : http://www.itv.com/itvplayer/video/?Filter=293512
DEBUG: app      : ondemand?auth=eaEd4aRcHb5dLdXdDaLcDc.dobcdfbsbScWaRc4cRchaMdIa
.dVbKc0ckd2bgbEbRav-bo3ZRe-eS-axp3FBumCuFs&aifp=v002&slist=production/
DEBUG: flashVer : WIN 11,1,102,55
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: bc b8 61 9d 50 75 d3 ed e9 1e aa 57 59 be 2a a6
DEBUG: 96 77 ae 4d de d0 6e 86 d1 da 16 21 9f 00 74 5d
DEBUG: SWFSize  : 926011
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10061 (Unknown error)
DEBUG: Closing connection.

Using rtmpte & port 80
Code:

D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpte://cp72511.edgefcs.net
:80/ondemand" -a "ondemand?auth=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec8bHdwcVbGcQb
QaicJaSdjaYaddWdvbO-bo31sH-eS-ayq4HBqmzrEq&aifp=v002&slist=production/" -f "WIN
11,1,102,55" -W "http://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -p "http://w
ww.itv.com/itvplayer/video/?Filter=293512" -y "mp4:production/priority/CATCHUP/a
3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX0
51211_ITV800_16X9.mp4?sessionId=1B4116B2-E70D-8C98-185B-1D2EA456C10A" -V -o 1-99
14-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV800_16X9.flv
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPTE
DEBUG: Hostname : cp72511.edgefcs.net
DEBUG: Port    : 80
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8
f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV800_16X9.mp4?session
Id=1B4116B2-E70D-8C98-185B-1D2EA456C10A
DEBUG: tcUrl    : rtmpte://cp72511.edgefcs.net:80/ondemand?auth=eaEcAb2dfb1deaCb
0a8cJawdicydUcEbwaec8bHdwcVbGcQbQaicJaSdjaYaddWdvbO-bo31sH-eS-ayq4HBqmzrEq&aifp=
v002&slist=production/
DEBUG: swfUrl  : http://www.itv.com/mediaplayer/ITVMediaPlayer.swf
DEBUG: pageUrl  : http://www.itv.com/itvplayer/video/?Filter=293512
DEBUG: app      : ondemand?auth=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec8bHdwcVbGcQb
QaicJaSdjaYaddWdvbO-bo31sH-eS-ayq4HBqmzrEq&aifp=v002&slist=production/
DEBUG: flashVer : WIN 11,1,102,55
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: bc b8 61 9d 50 75 d3 ed e9 1e aa 57 59 be 2a a6
DEBUG: 96 77 ae 4d de d0 6e 86 d1 da 16 21 9f 00 74 5d
DEBUG: SWFSize  : 926011
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10061 (Unknown error)
DEBUG: Closing connection.

swfinfo file deleted and -W switch replaced with --swfUrl
Code:

D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpte://cp72511.edgefcs.net
:80/ondemand" -a "ondemand?auth=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec8bHdwcVbGcQb
QaicJaSdjaYaddWdvbO-bo31sH-eS-ayq4HBqmzrEq&aifp=v002&slist=production/" -f "WIN
11,1,102,55" --swfUrl "http://www.itv.com/mediaplayer/ITVMediaPlayer.swf" -p "ht
tp://www.itv.com/itvplayer/video/?Filter=293512" -y "mp4:production/priority/CAT
CHUP/a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIV
ES_TX051211_ITV800_16X9.mp4?sessionId=1B4116B2-E70D-8C98-185B-1D2EA456C10A" -V -
o 1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV800_16X9.flv
RTMPDump v2.4 GIT-2011-07-22 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPTE
DEBUG: Hostname : cp72511.edgefcs.net
DEBUG: Port    : 80
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8
f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV800_16X9.mp4?session
Id=1B4116B2-E70D-8C98-185B-1D2EA456C10A
DEBUG: tcUrl    : rtmpte://cp72511.edgefcs.net:80/ondemand?auth=eaEcAb2dfb1deaCb
0a8cJawdicydUcEbwaec8bHdwcVbGcQbQaicJaSdjaYaddWdvbO-bo31sH-eS-ayq4HBqmzrEq&aifp=
v002&slist=production/
DEBUG: swfUrl  : http://www.itv.com/mediaplayer/ITVMediaPlayer.swf
DEBUG: pageUrl  : http://www.itv.com/itvplayer/video/?Filter=293512
DEBUG: app      : ondemand?auth=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec8bHdwcVbGcQb
QaicJaSdjaYaddWdvbO-bo31sH-eS-ayq4HBqmzrEq&aifp=v002&slist=production/
DEBUG: flashVer : WIN 11,1,102,55
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
ERROR: RTMP_Connect0, failed to connect socket. 10061 (Unknown error)
DEBUG: Closing connection.


Bahman 12-07-2011 07:59 AM

Re: Download ITV Player using RTMPDump?


 
I can't download this video too!!

When I use -W parameter:
Code:

C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-
bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/" -f "WIN 11,1,102,55" -W "htt
p://www.itv.com/mercury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/itvplaye
r/video/?Filter=293512" -C Z: -y "mp4:production/priority/CATCHUP/a3664a43/c874/
41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200
_16X9.mp4" -V -o 1.flv
RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: couldn't contact swfurl http://www.itv.com/mercury/Mercury_
VideoPlayer.swf (HTTP error 403)

DEBUG: Protocol : RTMPE
DEBUG: Hostname : cp72511.edgefcs.net
DEBUG: Port    : 1935
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8
f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.mp4
DEBUG: tcUrl    : rtmpe://cp72511.edgefcs.net:1935/ondemand?ovpfv=1.1&auth=eaEcM
bCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBt
jyuCs&aifp=v002&slist=production/
DEBUG: swfUrl  : http://www.itv.com/mercury/Mercury_VideoPlayer.swf
DEBUG: pageUrl  : http://www.itv.com/itvplayer/video/?Filter=293512
DEBUG: app      : ondemand?ovpfv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQc
gcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/

DEBUG: flashVer : WIN 11,1,102,55
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 166
DEBUG: HandShake: Client digest offset: 879
DEBUG: HandShake: Initial client digest:
DEBUG: 0b 32 10 42 03 2e 43 c7 31 f1 7a 3d 71 da 0c 5b
DEBUG: dc de 26 b2 72 c6 83 8a f0 d1 04 27 ce 41 91 e4
DEBUG: HandShake: Type Answer  : 09
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
DEBUG: HandShake: Server Uptime : 1286974842
DEBUG: HandShake: FMS Version  : 3.5.7.1
DEBUG: HandShake: Server DH public key offset: 351
DEBUG: HandShake: Secret key:
DEBUG: f7 5f 20 8f 6b 11 c3 b5 f8 2c 56 a8 a3 02 8b 13
DEBUG: fc 90 c0 60 17 a2 c1 d2 62 d0 e4 45 1f 7c 64 6f
DEBUG: db 5d 8f 35 a1 3a ab c4 ca 7a 56 f0 2a c3 d1 87
DEBUG: 9d 09 7c a5 a3 28 2e 42 83 79 ba 31 7f 66 21 ef
DEBUG: 09 fd 2b 5f e7 0e 32 ef 35 3c de 39 5a 07 b5 71
DEBUG: 14 5e 28 51 ac 66 07 f8 a2 9e 14 86 8a cb c2 3e
DEBUG: 65 d2 74 c2 4c 31 ce 84 15 6a af 06 9d be 91 a4
DEBUG: 88 31 7e 89 95 db 5f f1 8a b5 e1 1e 0d 9c 82 af
DEBUG: RC4 Out Key:
DEBUG: 65 23 29 f5 cb 2f 6f 81 ea 14 97 2c 93 69 77 87
DEBUG: RC4 In Key:
DEBUG: 5f 72 c4 ee 4c da 41 4e 7a 63 c5 e9 3b c0 2c 50
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: b8 44 f4 4a 0f 32 ed 4c 9b cb e0 c8 63 bb cf 58
DEBUG: 48 38 de f0 22 3d 10 de 4c 5a ca 01 84 a7 87 eb
DEBUG: HandShake: Client signature calculated:
DEBUG: 0b 3f 41 c6 8c b6 23 6a 3b e6 30 06 b0 73 4b 30
DEBUG: a6 34 a3 55 15 73 af c3 c2 59 b6 22 3d 03 28 02
DEBUG: HandShake: Server sent signature:
DEBUG: fc a6 66 01 26 39 70 ee 83 01 cc 5e b2 c2 13 63
DEBUG: 6f d9 70 08 d2 76 5b aa 36 88 d8 6a 5b 6c e4 ef
DEBUG: HandShake: Digest key:
DEBUG: 94 11 96 da 9b eb 3d 3d 72 f5 78 9c ca 85 3d d4
DEBUG: 31 39 77 fb 3f 52 36 af 0f cb 24 7f 07 dd f1 8d
DEBUG: HandShake: Signature calculated:
DEBUG: fc a6 66 01 26 39 70 ee 83 01 cc 5e b2 c2 13 63
DEBUG: 6f d9 70 08 d2 76 5b aa 36 88 d8 6a 5b 6c e4 ef
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes

and when I use --swfUrl parameter, it doesn't say "'couldn't contact swfurl":
Code:

C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-
bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/" -f "WIN 11,1,102,55" --swfUr
l "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" -p "http://www.itv.com/it
vplayer/video/?Filter=293512" -C Z: -y "mp4:production/priority/CATCHUP/a3664a43
/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_I
TV1200_16X9.mp4" -V -o 1.flv
RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : cp72511.edgefcs.net
DEBUG: Port    : 1935
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8
f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.mp4
DEBUG: tcUrl    : rtmpe://cp72511.edgefcs.net:1935/ondemand?ovpfv=1.1&auth=eaEcM
bCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBt
jyuCs&aifp=v002&slist=production/
DEBUG: swfUrl  : http://www.itv.com/mercury/Mercury_VideoPlayer.swf
DEBUG: pageUrl  : http://www.itv.com/itvplayer/video/?Filter=293512
DEBUG: app      : ondemand?ovpfv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQc
gcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/

DEBUG: flashVer : WIN 11,1,102,55
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 166
DEBUG: HandShake: Client digest offset: 879
DEBUG: HandShake: Initial client digest:
DEBUG: e8 ed ea ce 25 6f 5e 36 8b b8 08 c4 b3 da e2 60
DEBUG: 45 bf c5 68 79 37 3d 65 ac 92 38 b5 f2 06 57 9d
DEBUG: HandShake: Type Answer  : 09
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
DEBUG: HandShake: Server Uptime : 1234677387
DEBUG: HandShake: FMS Version  : 3.5.7.1
DEBUG: HandShake: Server DH public key offset: 115
DEBUG: HandShake: Secret key:
DEBUG: 72 a6 24 5c 07 60 e7 d8 a5 83 d3 c5 8f cb 27 12
DEBUG: e6 0a 82 30 6d 68 b7 5c 1d 4b 35 70 5c b0 31 52
DEBUG: 55 c6 f3 a2 b6 db fb 01 96 4f c5 49 22 51 fa 21
DEBUG: d0 8b 79 ea a0 66 69 2a ff 17 87 77 7c 58 f1 8f
DEBUG: af 64 a1 f2 b7 04 63 a9 90 1b 69 b0 0b 20 d6 65
DEBUG: 0b 20 80 1b e0 d6 1b 84 96 f5 2e 6a ee f7 15 5e
DEBUG: c7 9e 73 d3 4f ac 6e 06 98 fc 8b 43 97 58 f0 65
DEBUG: 70 65 b1 d3 8e a0 88 7d 2f 1b 5b 3c 19 40 df 1c
DEBUG: RC4 Out Key:
DEBUG: 9b 23 f1 28 08 81 53 0f 46 a3 84 88 49 ad ee 28
DEBUG: RC4 In Key:
DEBUG: 1a 9e f4 8d b9 0a 2a 37 02 cb 4e 6d 91 5b cd a6
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: d3 0c 6d 8a 32 7c 2b 2e cc b1 d0 93 41 fd ee eb
DEBUG: 71 e4 d3 37 fd 58 53 4c 7f e6 ba 25 e2 03 3b f1
DEBUG: HandShake: Client signature calculated:
DEBUG: 4a da a0 a7 b1 7a 36 a3 78 c5 64 5f 50 71 a2 e8
DEBUG: 43 61 af 2d 58 56 5c 40 5b 93 81 b4 eb fc 5d 5f
DEBUG: HandShake: Server sent signature:
DEBUG: 4e 26 27 96 03 71 ef ff d7 d7 b4 36 aa 34 6f 80
DEBUG: 84 25 5b 4f c1 ee 66 96 9d 3c b9 ab 23 f7 b1 00
DEBUG: HandShake: Digest key:
DEBUG: e5 62 49 3e 7a 82 e7 29 b3 57 7d f9 e8 3f 76 a9
DEBUG: 7e 41 55 cf 78 69 31 3b d3 b9 c3 02 9f e0 09 df
DEBUG: HandShake: Signature calculated:
DEBUG: 4e 26 27 96 03 71 ef ff d7 d7 b4 36 aa 34 6f 80
DEBUG: 84 25 5b 4f c1 ee 66 96 9d 3c b9 ab 23 f7 b1 00
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes

and immediately closed!!

chap 12-07-2011 01:46 PM

Re: Download ITV Player using RTMPDump?


 
Bahman
Quote:

and when I use --swfUrl parameter, it doesn't say "'couldn't contact swfurl"
you forgot the parameters
--swfsize, --swfhash

Bahman 12-07-2011 02:11 PM

Re: Download ITV Player using RTMPDump?


 
^ok, but how can I find swfsize and swfhash?
"swfsize" should be decompiled size of swf file?:confused:

chap 12-07-2011 02:49 PM

Re: Download ITV Player using RTMPDump?


 
Quote:

Originally Posted by Bahman (Post 35072)
^ok, but how can I find swfsize and swfhash?
"swfsize" should be decompiled size of swf file?:confused:

1. Decompress SWF player, it gives you SWFSize in bytes
flasm -x "player.swf"

2. Generate the hash, it gives you SWFHash
openssl sha -sha256 -hmac "Genuine Adobe Flash Player 001" "player.swf"
openssl flasm

--swfsize 990750
--swfhash b6c8966da3f49610be7178b01ca33d046bbf915e2908d9dafe 11e4b042d8eeea

Bahman 12-07-2011 03:48 PM

Re: Download ITV Player using RTMPDump?


 
Thank you very much, chap!!;) I was so interested in learning how to do it!!

First, I used original swf file for generating hash and got:
6f89a4fac643901ca8dd40c284902ea005e7f92f416fa29be2 5b500a501480c7
then saw your generated hash, used decompressed one and got it as same as you!!

but I still have problem:
Code:

C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-
bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/" -f "WIN 11,1,102,55" --swfUr
l "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" --swfsize 990750 --swfhas
h "b6c8966da3f49610be7178b01ca33d046bbf915e2908d9dafe11e4b042d8eeea" -p "http://
www.itv.com/itvplayer/video/?Filter=293512" -C Z: -y "mp4:production/priority/CA
TCHUP/a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LI
VES_TX051211_ITV1200_16X9.mp4" -o 1.flv
RTMPDump v2.4 GIT-2011-07-11 (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...
ERROR: rtmp server sent error

and:
Code:

C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-
bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/" -f "WIN 11,1,102,55" --swfUr
l "http://www.itv.com/mercury/Mercury_VideoPlayer.swf" --swfsize 990750 --swfhas
h "b6c8966da3f49610be7178b01ca33d046bbf915e2908d9dafe11e4b042d8eeea" -p "http://
www.itv.com/itvplayer/video/?Filter=293512" -C Z: -y "mp4:production/priority/CA
TCHUP/a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LI
VES_TX051211_ITV1200_16X9.mp4" -V -o 1.flv
RTMPDump v2.4 GIT-2011-07-11 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : cp72511.edgefcs.net
DEBUG: Port    : 1935
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8
f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.mp4
DEBUG: tcUrl    : rtmpe://cp72511.edgefcs.net:1935/ondemand?ovpfv=1.1&auth=eaEcM
bCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBt
jyuCs&aifp=v002&slist=production/
DEBUG: swfUrl  : http://www.itv.com/mercury/Mercury_VideoPlayer.swf
DEBUG: pageUrl  : http://www.itv.com/itvplayer/video/?Filter=293512
DEBUG: app      : ondemand?ovpfv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQc
gcFa3bddQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBtjyuCs&aifp=v002&slist=production/

DEBUG: flashVer : WIN 11,1,102,55
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: b6 c8 96 6d a3 f4 96 10 be 71 78 b0 1c a3 3d 04
DEBUG: 6b bf 91 5e 29 08 d9 da fe 11 e4 b0 42 d8 ee ea
DEBUG: SWFSize  : 990750
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 06
DEBUG: HandShake: DH pubkey position: 166
DEBUG: HandShake: Client digest offset: 879
DEBUG: HandShake: Initial client digest:
DEBUG: 0c 22 5c d4 70 ae b7 f3 73 31 05 b8 9f 47 01 ea
DEBUG: f9 e1 9d 40 c7 6f ac 84 c0 73 3d 0a ba 05 30 11
DEBUG: HandShake: Type Answer  : 09
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
DEBUG: HandShake: Server Uptime : 1388139098
DEBUG: HandShake: FMS Version  : 3.5.7.1
DEBUG: HandShake: Server DH public key offset: 298
DEBUG: HandShake: Secret key:
DEBUG: 1f b2 d7 20 b9 0a ac 23 28 d1 7f c6 45 69 89 c2
DEBUG: 57 8c 67 ee c6 8c 92 09 2c f4 4a a1 8f af 32 d6
DEBUG: 07 74 bb 15 c3 7d e3 96 e3 df 42 41 8c ca 14 46
DEBUG: 8b d2 ad 00 9f ae 7a 64 7d d5 ec 17 4d 1b 55 e9
DEBUG: 04 f9 22 a8 5e 8a b8 a0 45 8b a7 1d d6 a2 85 5a
DEBUG: 5a 94 57 f6 3b ee 7f 2f 38 97 ee bd 14 54 ad d1
DEBUG: fd a0 d5 46 ea 45 7c ca 4e 29 50 65 2a 69 30 43
DEBUG: 40 d6 53 6d fa fa 77 f1 1c 10 e5 dc 57 32 53 68
DEBUG: RC4 Out Key:
DEBUG: e4 32 97 9c 88 6a 70 c8 df 75 9a 25 1a ab 39 01
DEBUG: RC4 In Key:
DEBUG: bc 11 8f e7 dd 39 d0 fb 33 8e 67 3d 61 12 c3 04
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 65 9c e1 30 f0 9e 18 9a 8a 48 7e 1c ac eb 8e 39
DEBUG: 17 7f d5 d2 cf d9 79 71 b5 13 60 ca bc 70 63 99
DEBUG: HandShake: Client signature calculated:
DEBUG: b4 9f f5 28 58 65 39 f1 02 38 9d 9b b5 d5 86 84
DEBUG: 5f 1f 45 56 5b cc 2e 00 b8 38 e2 c9 60 52 cd 87
DEBUG: HandShake: Server sent signature:
DEBUG: 91 cf 19 32 b4 c1 06 8b e1 7e 5a 97 41 82 bb 72
DEBUG: 6a 5a 06 c8 47 22 64 76 13 a5 3f 3f 5b 45 db 4f
DEBUG: HandShake: Digest key:
DEBUG: 10 02 9e 20 bc 85 e5 83 23 bf 67 ba 78 ee 3b e4
DEBUG: 1d f0 b9 5a 03 69 1a 92 d4 65 d6 78 8c a2 a0 ba
DEBUG: HandShake: Signature calculated:
DEBUG: 91 cf 19 32 b4 c1 06 8b e1 7e 5a 97 41 82 bb 72
DEBUG: 6a 5a 06 c8 47 22 64 76 13 a5 3f 3f 5b 45 db 4f
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes

Also I have tried replacing port 80 and rtmpte, didn't work!!:confused:


All times are GMT -6. The time now is 09:36 PM.