PDA

View Full Version : Download ITV Player using RTMPDump?


karl0ss
04-08-2010, 04:13 AM
Hi, I am wondering if it is possible to use RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 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.

rtmpe://cp72511.edgefcs.net:443/ondemand?ovpfv=1.1&auth=eaEc7c_d4b7a_dbdDbkcMdTcHd4cMaWbhbAavckaxcebQ a7d_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.

Karl

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

elch
04-12-2010, 11:47 AM
There might be some parameters missing. Have you tried rtmpsuck?

See also http://lists.mplayerhq.hu/pipermail/rtmpdump/2009-December/000097.html for a related issue.

crk
05-19-2010, 04:05 AM
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, 07:39 AM
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, 04:17 AM
Tested rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 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, 08:14 AM
it's working as expected.

rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEcCadaJbha1dUbyd4aAd9cuaddiaed4ataPahbXdCdo bMdfcobRdsb7a5ardIbXdT-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

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, 01:13 PM
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 (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) and Wireshark (http://all-streaming-media.com/find-stream-URL/Wireshark-free-network-protocol-analyzer.htm).

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, 03:33 PM
what series of steps I *should* be doing?

http://stream-recorder.com/forum/showpost.php?p=22571&postcount=1

gsd4me
09-29-2011, 03:58 PM
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, 10:05 PM
here's the short version. this method also works for non UK users with restrictive vpn's.


Run RTMPexplorer (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) and close rtmpsrv by pressing q or closing it's window.
open your video url in RtmpExplorer.
when channel logo video starts playing quickly start rtmpsrv again.
when you see the activity in rtmpsrv window (Duplicate request, skipping) etc. close the RtmpExplorer and rtmpsrv.
copy the last command line from Command.bat. it should be like following.
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEbIcWdPc0csdGdzc9cZaYc1acaLd_dobka.ddbVchdc c1a3dqdxcSclb9aqaRa5dz-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
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, 12:08 AM
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, 01:55 PM
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, 03:48 PM
KSV

Did what you said - saw the relevant information flying past in rtmpsrv window.
Closed down both rtmpsrv and RTMPexplorer (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm)

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, 06:44 PM
here's the short version. this method also works for non UK users with restrictive vpn's.


Run RTMPexplorer (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) and close rtmpsrv by pressing q or closing it's window.
open your video url in RtmpExplorer.
when channel logo video starts playing quickly start rtmpsrv again.
when you see the activity in rtmpsrv window (Duplicate request, skipping) etc. close the RtmpExplorer and rtmpsrv.
copy the last command line from Command.bat. it should be like following.
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEbIcWdPc0csdGdzc9cZaYc1acaLd_dobka.ddbVchdc c1a3dqdxcSclb9aqaRa5dz-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
change the bitrate in command line to download high quality version. e.g replace ITV400_16X9 with ITV1200_16X9


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 (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) lists all the bit rates. I guess we either have to pay or labor through it.)

KSV
09-30-2011, 11:47 PM
are the instructions for Windows or Linux or both?
These instructions are windows specific.


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/showpost.php?p=31201&postcount=23
http://stream-recorder.com/forum/showpost.php?p=31201&postcount=23



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 (http://all-streaming-media.com/find-stream-URL/Wireshark-free-network-protocol-analyzer.htm) to easily get info about all the resolutions and bitrates available for that particular video.

http://i.imgur.com/D6SAr.jpg

http://i.imgur.com/KhWZu.jpg

gsd4me
10-01-2011, 02:07 PM
Following on from the sequence that is being described above, I am almost there!

I have downloaded the RTMPexplorer (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) 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 (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 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, 09:33 PM
KSV,

Thanks for showing the Wireshark (http://all-streaming-media.com/find-stream-URL/Wireshark-free-network-protocol-analyzer.htm) 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-02-2011, 11:42 PM
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.

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

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.

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, 01:14 AM
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 (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) directory (folder) right after the video starts playing:
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:

10/100 Network Connection
Microsoft
MS Tunnel Interface Driver
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:

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, 06:29 AM
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.
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 (http://all-streaming-media.com/find-stream-URL/Wireshark-free-network-protocol-analyzer.htm)'s latest svn version (1.7.0-SVN-39234) works fine on XP SP3.

Paulus
10-03-2011, 11:58 AM
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, 01:04 PM
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, 02:06 PM
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

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.


http://i.imgur.com/DJN9i.jpg


http://i.imgur.com/utsCV.jpg

gsd4me
10-03-2011, 03:21 PM
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 (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm), 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, 10:36 PM
Waited until audio/visual playback occurred in the RTMPEXPLORER screen - this is important.

You don't need to wait until playback starts in RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 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.

Points to note:
KSV's COMMAND.BAT option seems to cause 'problems'

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 (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) form cmd window. Handshake type 6 or 9 has nothing to do with the commands saved in batch file.

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 (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) and rtmpsrv as soon as commands are detected otherwise it will keep sending new requests and rtmpsrv will start multiple instances of RTMPdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) 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, 02:03 PM
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 (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) commands to the RTMPexplorer (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm) 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, 02:13 PM
post the screenshot of command you are using.

gsd4me
10-04-2011, 03:23 PM
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=eaEdCajceaSafabdpc7bMbha7a6acbAajcvbadQaBaJa8 bVcvbEcrcCdicOcqaXa7aH-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, 12:50 PM
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, 02:46 PM
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 (http://all-streaming-media.com/record-video-stream/RTMPExplorer-freeware-GUI-for-rtmpsrv-Windows.htm)-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, 10:01 AM
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=eaEdvcNakcCdmaIbhaPd6aWdPd0bvaNaVadaidLacdNa5 bBc5dHaKaWaxcRaFbVa.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, 11:27 AM
no problem

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_cyblay dUdWbadobldK-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, 01:03 PM
Mmmmm something not right then.

D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpe://cp72511.edgefcs.net:
1935/ondemand" -a "ondemand?ovpfv=1.1&auth=eaEaCdGaZdiaMcwcsdwaNcydycMbabmbjblaV
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, 10:28 PM
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.
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, 05:05 AM
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.
D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpe://cp72511.edgefcs.net:
1935/ondemand" -a "ondemand?auth=eaEd4aRcHb5dLdXdDaLcDc.dobcdfbsbScWa Rc4cRchaMdI
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.dVbKc0ckd2bgbEbR av-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.dobcdfbsbScWa Rc4cRchaMdIa
.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
D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpte://cp72511.edgefcs.net
:80/ondemand" -a "ondemand?auth=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec 8bHdwcVbGcQb
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
0a8cJawdicydUcEbwaec8bHdwcVbGcQbQaicJaSdjaYaddWdvb O-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=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec 8bHdwcVbGcQb
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
D:\Users\Finchy\Downloads\rtmpexplorer>rtmpdump -r "rtmpte://cp72511.edgefcs.net
:80/ondemand" -a "ondemand?auth=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec 8bHdwcVbGcQb
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
0a8cJawdicydUcEbwaec8bHdwcVbGcQbQaicJaSdjaYaddWdvb O-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=eaEcAb2dfb1deaCb0a8cJawdicydUcEbwaec 8bHdwcVbGcQb
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, 06:59 AM
I can't download this video too!!

When I use -W parameter:

C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_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_cyblay dUdWbadobldK-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":
C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_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_cyblay dUdWbadobldK-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, 12:46 PM
Bahman
and when I use --swfUrl parameter, it doesn't say "'couldn't contact swfurl"

you forgot the parameters
--swfsize, --swfhash
http://stream-recorder.com/forum/showpost.php?p=34620&postcount=79

Bahman
12-07-2011, 01:11 PM
^ok, but how can I find swfsize and swfhash?
"swfsize" should be decompiled size of swf file?:confused:

chap
12-07-2011, 01:49 PM
^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 (http://www.slproweb.com/products/Win32OpenSSL.html) flasm (http://flasm.sourceforge.net/)

--swfsize 990750
--swfhash b6c8966da3f49610be7178b01ca33d046bbf915e2908d9dafe 11e4b042d8eeea

Bahman
12-07-2011, 02:48 PM
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:
C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_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 "b6c8966da3f49610be7178b01ca33d046bbf915e2908d9dafe 11e4b042d8eeea" -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:
C:\temp>rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?ovp
fv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_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 "b6c8966da3f49610be7178b01ca33d046bbf915e2908d9dafe 11e4b042d8eeea" -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_cyblay dUdWbadobldK-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:

chap
12-07-2011, 03:15 PM
Bahman
you use the old command
use a new command to rtmpdump;) - link(auth=) is obsolete in 2-3 minutes, so you can not download.
IMHO

Bahman
12-07-2011, 03:39 PM
yes, you are right!! Thanks for notice that!!;)

usually player gives me error:
http://www.itv.com/mercury/content.xml
<contentNotFound>
<![CDATA[
Sorry, the video could not be found.<br><br> Visit the <font color='#ffffff'><u><a href='http://www.itv.com/ITVPlayer/ITVPlayerhelp/default.html' target='_self'>Help Pages</a></u></font> for more information
]]>
</contentNotFound>
<technicalProblem>
<![CDATA[
A technical problem means the video is not available. Please try again later.
]]>
</technicalProblem>

So, I can't get alternative "auth" for my self!! Hope later it'll work!!

finchy
12-08-2011, 09:59 AM
Hi,

Have tried all of the above re swf and still no joy. Was there anything in my logs above to give clue as to why not working? I have tried some other ITV Player videos and get same non result.

Have also tried on my work and home networks and result is the same.

Any further ideas?

KSV
12-08-2011, 11:52 AM
@finchy

from your logs rtmpdump isn't even able to make tcp connection to the server. surely it's network problem. something on your pc or network is blocking access to the particular server.

@Bahman

why have you posted the trimmed debug logs?

Bahman
12-08-2011, 03:02 PM
^I have posted all things that I got without any trim!! Must be different?:confused:

KSV
12-09-2011, 04:50 AM
^I have posted all things that I got without any trim!! Must be different?:confused:

your log doesn't show decoding of received packet and subsequent disconnection by server due to rejected authentication.
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: [ AccessManager.Reject ] : Access denied!>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.

Bahman
12-09-2011, 07:28 AM
Aha, cause after this error:
DEBUG: RTMP_ClientPacket, received: invoke 134 bytes
I don't see anything!! I mean, window will be closed!!

is there anyway that this debug log save in a file(sth like debug.log)? cause I have saved these in another way!! While it's debugging, I have to right click on it, and then "select all", then "enter" in order to copy what happening!! maybe I can't save last parts of debug, because I'm doing this work for saving logs!!:D

KSV
12-09-2011, 08:09 AM
your_command_line 2>Debug.txt

Bahman
12-09-2011, 08:31 AM
right now I'm getting as same as finchy!!
RTMPDump v2.4 GIT-2011-11-14 (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/e700e8f4bb93/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=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBtjyuCs&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_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_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 ...
ERROR: RTMP_Connect0, failed to connect socket. 10061 (Unknown error)
DEBUG: Closing connection.

KSV
12-09-2011, 08:59 AM
try 58.27.86.230 as server instead of cp72511.edgefcs.net

Bahman
12-09-2011, 09:07 AM
So, the last debug logs were:
RTMPDump v2.4 GIT-2011-11-14 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Protocol : RTMPE
DEBUG: Hostname : 58.27.86.230
DEBUG: Port : 1935
DEBUG: Playpath : mp4:production/priority/CATCHUP/a3664a43/c874/41a8/bf2e/e700e8f4bb93/1-9914-0001-001_THE-FIGHT-OF-THEIR-LIVES_TX051211_ITV1200_16X9.mp4
DEBUG: tcUrl : rtmpe://58.27.86.230:1935/ondemand?ovpfv=1.1&auth=eaEcMbCdCb4a_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_cyblaydUdWbadobldK-bo3LZU-eS-cyu4KBtjyuCs&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_dUdjdPd8bCdWcJaBaUapa6aQcgcFa3bd dQb_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: 74 f5 13 2c 3f 96 a9 e3 45 38 4e a8 51 48 9d b7
DEBUG: ac 23 d1 49 6c e2 c4 b6 43 81 6e b8 e3 14 88 a2
DEBUG: HandShake: Type Answer : 09
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
DEBUG: HandShake: Server Uptime : 193954057
DEBUG: HandShake: FMS Version : 3.5.7.1
DEBUG: HandShake: Server DH public key offset: 562
DEBUG: HandShake: Secret key:
DEBUG: 6d ba cd 47 e6 3e ac cb 85 d3 f2 61 89 8c 9b 8c
DEBUG: 44 6b 1d c8 b6 c4 89 29 e9 b4 cc 36 84 38 25 b6
DEBUG: e7 04 bc 9e 0f a4 a8 9a cd a4 ae 0f 76 24 bd 98
DEBUG: 4f 5b 2a 19 1c 32 b3 e7 f8 d9 55 be f6 63 0d bb
DEBUG: 7a 1c 86 0f 8a ee 8b b2 02 ec a1 78 af d3 e6 70
DEBUG: 81 56 c5 53 89 c8 b1 40 08 51 4f f8 f2 14 5e c2
DEBUG: d0 46 a7 b2 7c c6 0e 53 11 eb 2a bd 14 89 cf a4
DEBUG: 8d b9 02 f4 20 7b 98 c2 61 b8 a3 7d 65 b5 80 7a
DEBUG: RC4 Out Key:
DEBUG: 5e cd 66 eb f2 54 12 6e 95 8f e0 ca a9 8b 6f 70
DEBUG: RC4 In Key:
DEBUG: e4 f9 79 00 fd c9 d1 5b 20 90 1f 7a 25 c9 18 d5
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 5e a4 99 84 31 4c 96 e7 05 62 a9 73 32 fa 07 7f
DEBUG: 99 f4 fa 31 ab 0b 4d 96 27 af bc 14 b8 61 7b 18
DEBUG: HandShake: Client signature calculated:
DEBUG: ec 7d ea e7 94 e9 f5 fc 0b e0 ae 35 d5 4c 5b 01
DEBUG: d3 62 18 77 fb e9 53 17 4e 26 54 fa a6 f2 59 2e
DEBUG: HandShake: Server sent signature:
DEBUG: 60 99 4d cc 16 f8 55 b1 d3 24 68 aa ec b5 0c 95
DEBUG: 88 38 63 5a 4a 01 e2 83 2e ca 88 7f 1e 75 7f 35
DEBUG: HandShake: Digest key:
DEBUG: 65 28 ec a5 b7 1f 49 c5 75 e9 d7 e3 64 ed c9 db
DEBUG: 73 bd 8a 98 80 7f 21 9f 96 e1 3f 2c e7 1c 11 a1
DEBUG: HandShake: Signature calculated:
DEBUG: 60 99 4d cc 16 f8 55 b1 d3 24 68 aa ec b5 0c 95
DEBUG: 88 38 63 5a 4a 01 e2 83 2e ca 88 7f 1e 75 7f 35
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 120 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Connect.Rejected>
DEBUG: Property: <Name: description, STRING: [ AccessManager.Reject ] : >
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
DEBUG: Closing connection.

myheeart
06-12-2014, 11:33 PM
can some one help ,i do not know how to dump the channel to play it via VLC
this is
RTMPSRV
RTMP Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935

rtmpdump -r "rtmpe://cp274438.live.edgefcs.net:1935/live" -a "live" -f "WIN 13,0
,0,214" -W "https://www.itv.com/mediaplayer/releases/2.11.7/ITVMediaPlayer.swf?v
=2.11.7" -p "https://www.itv.com/itvplayer/itv" -y "itv1livefms_600@s172940?auth
=eaEamcIaRdGchcidqaNb8aGbNcuc8aJafcuaKc5aZaxbGbPbU aRcddccNdqcvd5bidz-btMORc-eS-c
EIeFDplC0IcuaDo&aifp=v001&slist=itv1livefms_600@s172940?sessionId=39675F58-2179-
DE18-C8D1-74FF25A87C25" -o itv1livefms_600@s172940.flv

Closing connection... done!

RTMPDump v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.


and this is the RTMPSUCK says
RTMP Proxy Server v2.3
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
Processing connect
app: live
flashVer: WIN 13,0,0,214
swfUrl: https://www.itv.com/mediaplayer/releases/2.11.7/ITVMediaPlayer.swf?v=2.1
1.7
tcUrl: rtmpe://cp274438.live.edgefcs.net:1935/live
pageUrl: https://www.itv.com/itvplayer/itv
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

Paulus
11-02-2015, 02:34 AM
I was able to download ITV Player a couple of weeks ago. But it stopped working for me. I wonder if something has changed.

I am using rtmpdumphelper to get the parameters for rtmpdump (2.4 KSV) on Windows 7 Enterprise.

Previously I had to change the ITVMediaPlayer.swf version in the -W option from 2.16.5 to 2.16.4 which is the last working version for me. Without it, it would get stuck without outputing any message. Now it is not working with either version.

I was able to download this video
https://www.itv.com/itvplayer/rugby-world-cup-2015/series-1/episode-45-qf-australia-v-scotland
with the following command:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=eaEa0c_amcpa0bYdSdkb6cHbJc7bnb6bTddd Tbjbpa5cOctaHbKa_aSbpbpaycFd3b0-bwja0j-eS-6zp1ECsjxsws&aifp=v002&slist=production/" -f "WIN 19,0,0,226" -W "https://www.itv.com/mediaplayer/releases/2.16.4/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/rugby-world-cup-2015/series-1/episode-45-qf-australia-v-scotland" -y "mp4:production/priority/CATCHUP/1/9562/0094/001/1-9562-0094-001_PC01800_16X9.mp4?sessionId=446AC03B-9467-6F47-C2D4-E267B9FCE492" -o "2015-10-19_05-20-25_1-9562-0094-001_PC01800_16X9.flv"

Could the experts give me some help?

Thank you very much in advance!

getflv
11-02-2015, 08:14 AM
I was able to download ITV Player a couple of weeks ago. But it stopped working for me. I wonder if something has changed.

I am using rtmpdumphelper to get the parameters for rtmpdump (2.4 KSV) on Windows 7 Enterprise.

Previously I had to change the ITVMediaPlayer.swf version in the -W option from 2.16.5 to 2.16.4 which is the last working version for me. Without it, it would get stuck without outputing any message. Now it is not working with either version.

I was able to download this video
https://www.itv.com/itvplayer/rugby-world-cup-2015/series-1/episode-45-qf-australia-v-scotland
with the following command:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=eaEa0c_amcpa0bYdSdkb6cHbJc7bnb6bTddd Tbjbpa5cOctaHbKa_aSbpbpaycFd3b0-bwja0j-eS-6zp1ECsjxsws&aifp=v002&slist=production/" -f "WIN 19,0,0,226" -W "https://www.itv.com/mediaplayer/releases/2.16.4/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/rugby-world-cup-2015/series-1/episode-45-qf-australia-v-scotland" -y "mp4:production/priority/CATCHUP/1/9562/0094/001/1-9562-0094-001_PC01800_16X9.mp4?sessionId=446AC03B-9467-6F47-C2D4-E267B9FCE492" -o "2015-10-19_05-20-25_1-9562-0094-001_PC01800_16X9.flv"

Could the experts give me some help?

Thank you very much in advance!


Latest GetFLV (http://all-streaming-media.com/record-video-stream/GetFLV-Download-and-convert-flash-video-streaming.htm) can help you download ITV videos no problem.:cool:

Paulus
11-02-2015, 11:50 AM
I tried it on another ITV Player video.
rtmpdump -V -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=eaEcUdDd1b3b4dAbLaTdeaicRbPctakdwdpb 9dWbLblcWdEctdmauaIcNdEdQbpd.aj-bwn6JP-eS-aAv4FBskBuCq&aifp=v002&slist=production/" -f "WIN 19,0,0,226" -W "https://www.itv.com/mediaplayer/releases/2.16.4/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/rugby-highlights-world-cup-2015/series-1/episode-16" -y "mp4:production/priority/CATCHUP/2/4047/0016/001/2-4047-0016-001_PC01800_16X9.mp4?sessionId=12E031BC-ED8B-8700-0E44-6DCE51AEFF44" -o "2015-11-02_10-19-36_2-4047-0016-001_PC01800_16X9.flv"

Only 4 lines of DEBUG message got printed then nothing happened:
RTMPDump v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 2
DEBUG: Parsed host : cp72511.edgefcs.net
DEBUG: Parsed app : ondemand

Paulus
11-02-2015, 02:40 PM
It is working again. The only thing I did was connecting to a VPN and then disconnecting from it. Could be something in the PC's network setup but I am not sure.