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)

Paulus 10-03-2011 11:58 AM

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 01: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 02: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 03: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 10: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 02: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 02:13 PM

Re: Download ITV Player using RTMPDump?


 
post the screenshot of command you are using.

gsd4me 10-04-2011 03: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 12: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 02: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!


All times are GMT -6. The time now is 04:46 AM.