View Single Post
  #19  
Old 05-04-2010, 08:26 AM
nonna nonna is offline
Junior Member
 
Join Date: Oct 2007
Posts: 11
nonna is on a distinguished road
Default

Re: www.channel4.com: Using Rtmpdump for downloading 4OD videos


Thanks Stumk

Good to know you got RTMPDUMP to work but just confirms for me that somehow I am the problem.

After looking at my temporary internet files folder for IE I did find the XML URLs. If having the -C Z: worked for you then I have to rule it out as a potential problem.

Sometimes I get URLs in the format that your command has and that elch posted other times I get one in the format
Code:
rtmpdump -r "rtmpe://ak.securestream.channel4.com:1935/4oD/?ovpfv=1.1&auth=da_dDdtdPbUaCaybLcpdrcydcazdpaNb1dz-bl1que-eS-mAV-lSq1s5o6rxpIrrotmWp3pFtwmhoftVtWluq0sXoyrVp6rFoEmxp9p5tXm9pstzt6lmqXsIoCrfpWr3oW&aifp=v002&slist=assets/CH4_08_02_16_25880001001001_001.mp4" -a "4oD/?ovpfv=1.1&auth=da_dDdtdPbUaCaybLcpdrcydcazdpaNb1dz-bl1que-eS-mAV-lSq1s5o6rxpIrrotmWp3pFtwmhoftVtWluq0sXoyrVp6rFoEmxp9p5tXm9pstzt6lmqXsIoCrfpWr3oW&aifp=v002&slist=assets/CH4_08_02_16_25880001001001_001.mp4" -f "WIN 10,0,45,2" -W "http://www.channel4.com/static/programmes/asset/flash/swf/4odplayer-4.49.5.swf" -p "http://www.channel4.com/programmes/the-italian-kitchen/4od" -C Z: -y "mp4:assets/CH4_08_02_16_25880001001001_001.mp4" -o CH4_08_02_16_25880001001001_001.mp4
That one with never works or connects for me.

The ones in the form you posted at least connect but always fail here:
Code:
HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <createStream>
DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mp4:xcuassets/CH4_08_02_16_25880001001001_001.mp4?e=1272980969&ip=212.100.250.207&h=ff41ce09cfa7a343e43603d5afda915a
DEBUG: Invoking play
DEBUG: sending ctrl. type: 0x0003
DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_onbwcheck>
DEBUG: Invoking _result
DEBUG: RTMP_ClientPacket, received: invoke 133 bytes
DEBUG: (object begin)
DEBUG: Property: NULL
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:	error>
DEBUG: Property: <Name:               code, STRING:	NetStream.Failed>
DEBUG: Property: <Name:        description, STRING:	Failed to play  (stream ID: 1).>
DEBUG: Property: <Name:           clientid, STRING:	iXF4wR^Y>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetStream.Failed
ERROR: Closing connection: NetStream.Failed
DEBUG: Closing connection.
Any ideas on this aspect?

I am using a proxy to get past the geo-location check. I am starting to think this is causing a problem both with trying to use RTMPDUMP and StreamTransport

I don't think what I have is a Socks4 Proxy so it doesn't work with the -S parameter. Besides I connect and download using RTMPDUMP from other geo-restricted sites without using a proxy just fine.

If I were to guess in regards to generating parameters automatically from the xml file, I would say look at the channel4.pm plugin for get_flash_videos and a get_iplayer version with channel4 capabilities. Looking at them they both seem to be getting info from the XML file. They are out-dated but might give some info, it does not seem as though the &h is mentioned so I don't know if it is new or it was never needed in the old channel4.pm or get_iplayer implimentation.
When using get_flash_videos it never tried to use channel4.pm as it is out-dated. I changed it so now at least it says it is using it but as I have no programming knowledge I am unable to change the rest of it so that it works. Now it just dies and pegs perl.exe at 100% CPU usage and I have to kill the process. Anyway good luck with what your working on.

As for me I just have no idea, it seems everything works for everyone else but me. I can only figure there is some sort of issue using the proxy. I have the same format commands, etc. it just doesn't work. If you could shine any light onto a resolution for my problems that would be great.

Thanks
Reply With Quote