Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-29-2014, 10:18 PM
Sq2 Sq2 is offline
Junior Member
 
Join Date: Jun 2014
Posts: 6
Sq2 is on a distinguished road
Smile

ITV player - Dumping stream


Hello

I have been trying for some hours now to save a RTMPE location to a file with rtmpdump-2.3-windows

Url : https://www.itv.com/itvplayer/river-monsters/series-1/episode-4-amazon-assassins

Searching the headers of url above I can find the following RTMPE location.

Quote:
rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEdkaYbhbldWacazaLdscbdWacd9d8c0cUc 4a4btdWbldaakdvdHc_bcaObYaFclds-btSnki-eS-4xm2JBomDryp&aifp=v002&slist=production//mp4roduction/priority/rtmpecatchup/1200/4B/1-7358-0004-001/1-7358-0004-001_river-monsters-(series-1)_tx210514_itv1200_16x9-reg.mp4?sessionId=963D2D15-9113-EFA1-999C-030EDCA174A2
I have tried the following 2 different RTMPDUMP commands in cmd.exe

Quote:
rtmpdump -r "rtmpe://cp72511.edgefcs.net/ondemand?auth=eaEdkaYbhbldWacazaLdscbdWacd9d8c0cUc 4a4btdWbldaakdvdHc_bcaObYaFclds-btSnki-eS-4xm2JBomDryp&aifp=v002&slist=production//mp4roduction/priority/rtmpecatchup/1200/4B/1-7358-0004-001/1-7358-0004-001_river-monsters-(series-1)_tx210514_itv1200_16x9-reg.mp4?sessionId=963D2D15-9113-EFA1-999C-030EDCA174A2" -o "output.flv"
This returns the following

HandShake: Type mismatch: client sent 6, server answered 9
HandShake: Server not genuine Adobe!

Quote:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=eaEdkaYbhbldWacazaLdscbdWacd9d8c0cU c4a4btdWbldaakdvdHc_bcaObYaFclds-btSnki-eS-4xm2JBomDryp&aifp=v002&slist=production/" -f "WIN 13,0,0,206" -W "https://www.itv.com/mediaplayer/releases/2.11.8/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/river-monsters/series-1/episode-4-amazon-assassins" -y "mp4roduction/priority/rtmpecatchup/1200/4B/1-7358-0004-001/1-7358-0004-001_river-monsters-(series-1)_tx210514_itv1200_16x9-reg.mp4?sessionId=963D2D15-9113-EFA1-999C-030EDCA174A2" -o "output.flv"
This returns the following

ERROR: RTMP_HashSWF: connection lost while downloading sqfurl https://www.itv.com/mediaplayer/rele...ediaPlayer.swf
Connecting ...
HandShake: Type mismatch: client sent 6, server answered 9
HandShake: Server not genuine Adobe!
I have tried to run these 2 different RTMPDUMP commands

Regarding this second command, I sourced some of it from another thread in this forum, such as the port:1935 in the RTMPE location - so this could be wrong.

Both of these commands seem to fail, can anybody help me?

Thanks in advance.
Reply With Quote
  #2  
Old 06-30-2014, 08:46 AM
Sq2 Sq2 is offline
Junior Member
 
Join Date: Jun 2014
Posts: 6
Sq2 is on a distinguished road
Default

Re: ITV player - Dumping stream


Managed to make some slight progress.

I downloaded an older build rtmpdump-2.1d-windows

When I run the following command (Same as command 2 in previuos post)

Quote:
rtmpdump -r "rtmpe://cp72511.edgefcs.net:1935/ondemand" -a "ondemand?auth=eaEdkaYbhbldWacazaLdscbdWacd9d8 c0cU c4a4btdWbldaakdvdHc_bcaObYaFclds-btSnki-eS-4xm2JBomDryp&aifp=v002&slist=production/" -f "WIN 13,0,0,206" -W "https://www.itv.com/mediaplayer/releases/2.11.8/ITVMediaPlayer.swf" -p "https://www.itv.com/itvplayer/river-monsters/series-1/episode-4-amazon-assassins" -y "mp4roduction/priority/rtmpecatchup/1200/4B/1-7358-0004-001/1-7358-0004-001_river-monsters-(series-1)_tx210514_itv1200_16x9-reg.mp4?sessionId=963D2D15-9113-EFA1-999C-030EDCA174A2" -o "output.flv"

This returns the following

Quote:
ERROR: RTMP_HashSWF: connection lost while downloading swfurl https://www.itv.co
m/mediaplayer/releases/2.11.8/ITVMediaPlayer.swf
Connecting ...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
Starting download at: 0.000 kB
Metadata:
duration 2880.02
moovPosition 32.00
audiocodecid mp4a
width 704.00
height 396.00
videocodecid avc1
avcprofile 77.00
avclevel 31.00
aacaot 2.00
audiosamplerate 48000.00
audiochannels 2.00
videoframerate 25.00
trackinfo:
length 138241024.00
timescale 48000.00
language eng
sampledescription:
sampletype mp4a
length 72000000.00
timescale 25000.00
language eng
sampledescription:
sampletype avc1

DEBUG2: RTMP_ReadPacket: fd=1868
0000: c5 .
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10054 (Unknown error)

ERROR: RTMP_ReadPacket, failed to read RTMP packet body. len: 67426
13459.318 kB / 183.16 sec (6.3%)
DEBUG: WriteStream returned: -1
Download may be incomplete (downloaded about 6.30%), try resuming
DEBUG: Closing connection.



It looks like the streamdump begins, but keeps cutting out at different percentages, this time as you can see it was 6.3%, another attempt cut out at 14%.

Any recommendations here?

Regards
Reply With Quote
  #3  
Old 06-30-2014, 09:37 AM
Sq2 Sq2 is offline
Junior Member
 
Join Date: Jun 2014
Posts: 6
Sq2 is on a distinguished road
Default

Re: ITV player - Dumping stream


Update.

When the download cuts out, I can call resume using -e
However it soon cuts out again, this time requiring the --skip 1 parameter.
then the next time resume without --skip 1, then the next time require --skip 1 and so on.

I can get the overall percentage using this technique to around 60%, but after calling resume more than 5-6 times the RTMPDUMP cmd returns

Quote:
ERROR: rtmp server sent error
ERROR: rtmp server requested close
Seems this way can not grab the whole file either.

Any suggestions?

Regards
Reply With Quote
  #4  
Old 07-02-2014, 06:50 AM
Guv Guv is offline
Junior Member
 
Join Date: Jul 2010
Posts: 3
Guv is on a distinguished road
Default

Re: ITV player - Dumping stream


It sounds like you just need to try a newer build of rtmpdump.

Have you tried 'rtmpdump-2.4-git-010913-windows':
https://rtmpdump.mplayerhq.hu/downlo...13-windows.zip

Or maybe better still KSV's patched build:
https://github.com/K-S-V/Scripts/releases

Asside from that, there's actually a far easier way to go about this, just use get-flash-videos:
https://code.google.com/p/get-flash-...downloads/list

Quote:
combined-get_flash_videos-1.24-git-20130307.pl --subtitles https://www.itv.com/itvplayer/river-monsters/series-1/episode-4-amazon-assassins
Using method 'itv' plugin version 0.03 for https://www.itv.com/itvplayer/river-monsters/series-1/episode-4-amazon-assassins
Downloading https://www.itv.com/itvplayer/river-monsters/series-1/episode-4-amazon-assassins
Subtitle Fetching
Subtitle URL http://subtitles.secure.content.itv.com/ARCHIVE/837b3e0b/2689/4693/a99b/a0c2ec8c3a16/1-7358-0004-001_RiverMonsters_TX210514.xml&fileExt=.xml
Saved subtitles to 1-7358-0004-001_river-monsters-(series-1)_tx210514_itv1200_16x9-reg.srt
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Metadata:
INFO: duration 2880.02
INFO: moovPosition 32.00
INFO: audiocodecid mp4a
INFO: width 704.00
INFO: height 396.00
INFO: videocodecid avc1
INFO: avcprofile 77.00
INFO: avclevel 31.00
INFO: aacaot 2.00
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: videoframerate 25.00
INFO: trackinfo:
INFO: length 138241024.00
INFO: timescale 48000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 72000000.00
INFO: timescale 25000.00
INFO: language eng
INFO: sampledescription:
INFO: sampletype avc1
1-7358-0004-001_river-monsters-(series-1)_tx210514_itv1200_16x9-reg.flv: 1% (5745.95 / 441995.85 KiB)
Reply With Quote
Reply Post New Thread
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 11:35 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons