View Single Post
  #11  
Old 04-04-2010, 10:51 PM
hyc hyc is offline
RTMPdump team
 
Join Date: Dec 2009
Posts: 169
hyc will become famous soon enoughhyc will become famous soon enough
Default

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


It's really not hard, you guys are all not reading carefully enough.

Quote:
Originally Posted by WhynotAndy
Hello thanks for the answer
I had a go with the code you suggested and it didn't work
here is the debug info
I used a different video form the site as well as the original i posted a link to

Code:
C:\rtmp>rtmpdump -r rtmpe://ll.securestream.channel4.com/a4174/e1/mp4:xcuassets/
CH4_08_02_16_48491005001001_001.mp4 -W http://www.channel4.com/static/programmes
/asset/flash/swf/4odplayer-4.37.swf -a 4oD -y mp4:xcuassets/CH4_08_02_16_4849100
5001001_001 -V -o output.mp4 -p http://www.channel4.com/programmes/embarrassing-
bodies/4od#3039233
The manpage says quite plainly, a valid RTMP URL is of the form
rtmp://server/app/playpath

When the paths are simple, rtmpdump can parse them itself. Otherwise, you have to give them explicitly.

Your RTMP URL is rtmpe://ll.securestream.channel4.com/a4174/e1/blahblahblah.

Obviously the app in this case is a4174/e1, not 4oD.

That's why the server responds with

Code:
DEBUG: Property: <Name:               description, STRING:      [ Server.Reject
] : (_defaultRoot_, _defaultVHost_) : Application (4oD) is not defined.>
Pay attention to what's in front of you.
Reply With Quote