Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Downloading Hulu Videos Using rtmpdump For Idiots..(rtmpdump & related apps only)

(http://stream-recorder.com/forum/showthread.php?t=4959)

Ickook 03-22-2010 05:44 AM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
The hulu plugin Definitely needs updates still. If I get the chance today, I'll try it by hand.

hyc 03-22-2010 07:44 AM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
Yeah, there's a small mistake in the plugin. I emailed the maintainers a couple weeks ago but they didn't respond. Mebbe they'll respond to this...

http://gitorious.org/get-flash-video...a3ba947651cb4c

Ickook 03-22-2010 12:53 PM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
Awesome- I'll swap in that code tonight and see if it works. It was choking in that section, but I hadn't taken the time to sit down and step through each function to find what was off.

Ickook 03-22-2010 08:40 PM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
Looks like something is failing before that. $smil_file_url doesn't appear to be right.

Code:

Downloading http://www.hulu.com/watch/136426/family-guy-noticing-peter
-> GET http://www.hulu.com/watch/136426/family-guy-noticing-peter
<- 200 text/html; charset=utf-8 (146035)
Trying to open plugin ~/.get_flash_videos/plugins/Www.pm
Trying to open plugin ~/.get_flash_videos/plugins/Hulu.pm
Using method 'hulu' for http://www.hulu.com/watch/136426/family-guy-noticing-peter
Found Hulu CID: 50042609
Returning cached Hulu data
-> GET http://r.hulu.com/videos?content_id=50042609
<- 200 application/xml; charset=utf-8 (7058)
Found Hulu encrypted PID: 144e54a4d58a18b4adc8ad468d40c1be4dbbb095c0edcd5bba3f9b7b966a0fcd~e81370b40e895640a638b015b20764d47af6f7c035deaeef285961662ce86a41
Session stripped PID: 9d58d05b0ec4e508dbb235af63f4e1a8c69a540ab578010abdd3f176536aab3f
Using key 6fe8131ca9b01ba011e9b0f5bc08c1c9ebaf65f039e1592d53a30def7fced26c
Using key d3802c10649503a60619b709d1278ffff84c1856dfd4097541d55c6740442d8b
Decrypted Hulu PID: 'juOU_mCk7kaihKkkQpco8M3Ei3k9kbQa'
Auth: 8b02c22ecdc16cb96f9b9bfdfc535bdf
Hulu SMIL URL: http://s.hulu.com/select.ashx?pid=juOU_mCk7kaihKkkQpco8M3Ei3k9kbQa&auth=8b02c22ecdc16cb96f9b9bfdfc535bdf&v=435984533
-> GET http://s.hulu.com/select.ashx?pid=juOU_mCk7kaihKkkQpco8M3Ei3k9kbQa&auth=8b02c22ecdc16cb96f9b9bfdfc535bdf&v=435984533
<- 200 (0)
Encrypted XML: ''
XML decrypt key: 246DB3463FC56FDBAD60148057CB9055A647C13C02C64A5ED4A68F81AE991BF5, IV: vyf8PvpfXZPjc7B1
XML decrypt key: 4878B22E76379B55C962B18DDBC188D82299F8F52E3E698D0FAF29A40ED64B21, IV: WA7hap7AGUkevuth
XML decrypt key: 8CE8829F908C2DFAB8B3407A551CB58EBC19B07F535651A37EBC30DEC33F76A2, IV: O3r9EAcyEeWlm5yV
XML decrypt key: 852AEA267B737642F4AE37F5ADDF7BD93921B65FE0209E47217987468602F337, IV: qZRiIfTjIGi3MuJA
XML decrypt key: 76A9FDA209D4C9DCDFDDD909623D1937F665D0270F4D3F5CA81AD2731996792F, IV: d9af949851afde8c
XML decrypt key: 1F0FF021B7A04B96B4AB84CCFD7480DFA7A972C120554A25970F49B6BADD2F4F, IV: tqo8cxuvpqc7irjw
XML decrypt key: 3484509D6B0B4816A6CFACB117A7F3C842268DF89FCC414F821B291B84B0CA71, IV: SUxSFjNUavzKIWSh
XML decrypt key: B7F67F4B985240FAB70FF1911FCBB48170F2C86645C0491F9B45DACFC188113F, IV: uBFEvpZ00HobdcEo
Error: Couldn't parse Hulu SMIL: File does not exist: 0 at /loader/0xa2cc098/FlashVideo/Site/Hulu.pm line 123


hyc 03-23-2010 12:43 AM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
That v= parameter expired long ago. The current one (which will probably expire soon too) is 810006400.

Ickook 03-23-2010 09:28 AM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
That did the trick.

Stream Recorder 03-23-2010 01:09 PM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
Quote:

Originally Posted by Ickook (Post 17553)
That did the trick.
Is this you?
http://highlandsun.com/hyc/

You bet....
But please PM questions like this or create a separate thread.

Guys, please do me a favor. When you post a URL leading to some content provider like lULU, make sure it is not converted into link.
If you have a link like
http://www.lulu.com/watch/136426/fam...noticing-peter
you can use the following:
  • "http://www.lulu.com/watch/136426/family-guy-noticing-peter"
  • _http://www.lulu.com/watch/136426/family-guy-noticing-peter
  • hxxp://www.lulu.com/watch/136426/family-guy-noticing-peter

Alternatively the noparse tag can be used:
Code:

[noparse]http://www.lulu.com/watch/136426/family-guy-noticing-peter[/noparse]
This can help recording tools to live a little bit longer.

placebo 11-02-2010 05:03 PM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
hi, maybe someone can test it on hulu (Hulu.com)?
my pc location is not in the U.S.A. so i watch Hulu stuff with a proxy no problem.

Using GetFLV as a sniffer i get 4 video resolutions for the following episode:
Code:

http://www.hulu.com/watch/189513/castle-almost-famous
720x400 H264 Med rtmpe://cp39465.edgefcs.net/ondemand?sessionid=D0C36AAAA61C4213029ECDEA5185A73 A&auth=daEdXdldydLaJakc.dRcJbraMdGdld7bfcQ-bm0jeb-c0-5qGEvFuYFxm&aifp=sll02152008&slist=hulu7/81/50096081;.international=false&hgt=rGuVyREWklc7pJKh htFtYGl4n7Kw5H2nzrXNAKVLCfOXmdCLudSny_WA5zmVPD58zu ub6_00Dkci8kXaRi1fFN0ncqsLUVLVwsvW2jD_05RKUz7F8dIp Xpln4Xuz3POazFMUky0YDe4ZMcRUy9J1h_FNIu4hr6cb9kwgoB zzu3Zfhs7TQLEOD-QGllKR8UIrScQjGkhUSWoxxJxcbvmIkKxuBybaiU7ycBMUtlVz XpM=&hgt_ver=331370278mp4:hulu7/81/50096081/agave50096081_3425713_H264_1000.flv

512x288 H264 400 rtmpe://cp39465.edgefcs.net/ondemand?sessionid=D0C36AAAA61C4213029ECDEA5185A73 A&auth=daEdXdldydLaJakc.dRcJbraMdGdld7bfcQ-bm0jeb-c0-5qGEvFuYFxm&aifp=sll02152008&slist=hulu7/81/50096081;.international=false&hgt=rGuVyREWklc7pJKh htFtYGl4n7Kw5H2nzrXNAKVLCfOXmdCLudSny_WA5zmVPD58zu ub6_00Dkci8kXaRi1fFN0ncqsLUVLVwsvW2jD_05RKUz7F8dIp Xpln4Xuz3POazFMUky0YDe4ZMcRUy9J1h_FNIu4hr6cb9kwgoB zzu3Zfhs7TQLEOD-QGllKR8UIrScQjGkhUSWoxxJxcbvmIkGoIp4G009SEcmV8tinA TTU=&hgt_ver=331370278mp4:hulu7/81/50096081/agave50096081_3425700_H264_400.flv

640x360 H264 650 rtmpe://cp39465.edgefcs.net/ondemand?sessionid=D0C36AAAA61C4213029ECDEA5185A73 A&auth=daEdXdldydLaJakc.dRcJbraMdGdld7bfcQ-bm0jeb-c0-5qGEvFuYFxm&aifp=sll02152008&slist=hulu7/81/50096081;.international=false&hgt=rGuVyREWklc7pJKh htFtYGl4n7Kw5H2nzrXNAKVLCfOXmdCLudSny_WA5zmVPD58zu ub6_00Dkci8kXaRi1fFN0ncqsLUVLVwsvW2jD_05RKUz7F8dIp Xpln4Xuz3POazFMUky0YDe4ZMcRUy9J1h_FNIu4hr6cb9kwgoB zzu3Zfhs7TQLEOD-QGllKR8UIrScQjGkhUSWoxxJxcbvmIkKLO8GOcsyh8u3pjdn-IUoU=&hgt_ver=331370278mp4:hulu7/81/50096081/agave50096081_3425701_H264_650.flv

512x288 Med rtmpe://cp39465.edgefcs.net/ondemand?sessionid=D0C36AAAA61C4213029ECDEA5185A73 A&auth=daEdXdldydLaJakc.dRcJbraMdGdld7bfcQ-bm0jeb-c0-5qGEvFuYFxm&aifp=sll02152008&slist=hulu7/81/50096081;.international=false&hgt=rGuVyREWklc7pJKh htFtYGl4n7Kw5H2nzrXNAKVLCfOXmdCLudSny_WA5zmVPD58zu ub6_00Dkci8kXaRi1fFN0ncqsLUVLVwsvW2jD_05RKUz7F8dIp Xpln4Xuz3POazFMUky0YDe4ZMcRUy9J1h_FNIu4hr6cb9kwgoB zzu3Zfhs7TQLEOD-QGllKR8UIrScQjGkhUSWoxxJxcbvmIkOPLJ7PJvGlIemjFBFKd pOY=&hgt_ver=331370278hulu7/81/50096081/HuluTranscode_211539_497576_3402522_FLV_400


...so getflv (and other tools) is probably able to download them. But what about our rtmpdump?

the command is:
rtmpdump -r "rtmpe://cp39465.edgefcs.net:1935/ondemand?sessionid=3BFA3A28C6D10B146BD624EE693E45E 7&auth=daEbldDdpcda4bgcbapc4dmcbc7bmaTdzaS-bm0jlU-c0-XqOEwEqYGys&aifp=sll02152008&slist=hulu7/81/50096081;.international=false&hgt=OZU7Pvs7j27-nhteNno7wv_cU5OjYWxhjJ-buKwe9Dbhn86Gkfaw6rXFecitC8OxyTK0Ze4-sMEQInUWXiXPBm7C2LmA4KhvmicAuDBG_vucgEvqNiNa_0bsSi IuVVdY2pwvbG4twgB9UPGCogIYPlfBJQ4EaUxHACDLUw0Dm2cE MNgbSNpWircc5QAwreVf-Qn9atCfqoXhj6FdN0i6KMzXgmQK6ia3fxCpcdD9oBNm3-bAnOckDz18lGP5uBqX&hgt_ver=331370278" -a "ondemand?sessionid=3BFA3A28C6D10B146BD624EE693E45 E7&auth=daEbldDdpcda4bgcbapc4dmcbc7bmaTdzaS-bm0jlU-c0-XqOEwEqYGys&aifp=sll02152008&slist=hulu7/81/50096081;.international=false&hgt=OZU7Pvs7j27-nhteNno7wv_cU5OjYWxhjJ-buKwe9Dbhn86Gkfaw6rXFecitC8OxyTK0Ze4-sMEQInUWXiXPBm7C2LmA4KhvmicAuDBG_vucgEvqNiNa_0bsSi IuVVdY2pwvbG4twgB9UPGCogIYPlfBJQ4EaUxHACDLUw0Dm2cE MNgbSNpWircc5QAwreVf-Qn9atCfqoXhj6FdN0i6KMzXgmQK6ia3fxCpcdD9oBNm3-bAnOckDz18lGP5uBqX&hgt_ver=331370278" -f "WIN 10,1,82,76" -W "http://www.hulu.com/site-player/75698/playback.swf?cb=3.0.1.75698" -p "http://www.hulu.com/watch/189513/castle-almost-famous" -C Z:-y "mp4:hulu7/81/50096081/agave50096081_3425701_H264_650.flv" -o agave50096081_3425701_H264_650.flv

...but since my ip number isnt U.S. ip, i get some quick error:
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close


Maybe someone located in the USA can confirm that rtmpdump works for Hulu (hulu.com)?

i am just curious. Hulu seems to be one of the hardest webpages. you can see that by the length of the command.. which includes even an sessionID :eek:

placebo 11-17-2010 03:31 AM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
Code:

http://www.hulu.com/watch/177438/halloween-on-6th-street
i cant remember how i did it but ..etc..

Note that rtmpdump interrupted the download process at ~24% with some error message. Other tools fail to do the job (from my country's PC location): streamtransporter, CJB, getflv.exe, etc.

This clearly demonstrates that rtmpdump.exe is the most powerful RTMPE downloader!

any ANONYMOUS forum user 11-17-2010 06:53 AM

Re: Downloading Hulu Videos (Using rtmpdump) For Idiots.....


 
We can download hulu videos with latest ***.


All times are GMT -6. The time now is 04:56 PM.