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

hulu.sh, download from Hulu

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

svnpenn 06-26-2012 06:04 AM

Re: hulu.sh, download from Hulu


 
Working

Code:

$ hulu.sh
Press enter after video starts

Printing results
 1      1000_h264      level3
 2      1000_h264      akamai
 3      650_h264      limelight
 4      650_h264      level3
 5      650_h264      akamai
 6        480_vp6      limelight
 7        480_vp6      level3
 8        480_vp6      akamai
 9      400_h264      limelight
10      400_h264      level3
11      400_h264      akamai
12      1000_h264      limelight
Make choice. Avoid level3.
2
+ rtmpdump -W http://download.hulu.com/huludesktop.swf -a 'ondemand?auth=daEbwai
dXctbjdwcVb2dWc.ambLaPdUaabL-bp6AuD-c0-YnNEAEwZJAo&aifp=sll02152008&slist=hulu11
/610/60088610;.international=false&hgt=OZU7Pvs7j27-nhteNno7wi_3ao6vlYo1COP3BVPp-
aTr3JS75f_gKgnw5UKnHenxv-x-Y1Q9qxtCC_lenq57JHbRNxrum6EuLhwAbGRsfe_lf_RyJv714ST9_
oS6WcVqPNgpyDKMtqHAW2D9o0FTtMyPavFQwjqgoPZcRxhngs-LCixcraz8yh-XyW8a4kTqB9pk1BP49
RdP2OVk_T3lhtRMJqrenuOQ4U_E4OBUtwdcPF73YYlxd8A0nT7d8izk&hgt_ver=331370278' -o ou
t.flv -r rtmpe://cp39466.edgefcs.net/ondemand -y mp4:hulu11/610/60088610/agave50
312932_10669309_H264_1000.mp4
RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration              1524.85
INFO:  moovPosition          36.00
INFO:  width                720.00
INFO:  height                400.00
INFO:  videocodecid          avc1
INFO:  audiocodecid          mp4a
INFO:  avcprofile            100.00
INFO:  avclevel              30.00
INFO:  aacaot                2.00
INFO:  videoframerate        23.98
INFO:  audiosamplerate      22050.00
INFO:  audiochannels        2.00
INFO: tags:
INFO:  ┬⌐too                Hulu v1.11
INFO: trackinfo:
INFO:  length                36593557.00
INFO:  timescale            24000.00
INFO:  language              und
INFO: sampledescription:
INFO:  sampletype            avc1
INFO:  length                67246080.00
INFO:  timescale            44100.00
INFO:  language              und
INFO: sampledescription:
INFO:  sampletype            mp4a
17427.517 kB / 149.65 sec (9.8%)


svnpenn 07-08-2012 08:41 PM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/etc/commit/a571

Quote:

Use the Bash temporary variable

Bash already has a temporary variable, $_
This can be used instead of an arbitrarily named variable.

I also utilized some more process substitution for better speed of script
execution.

sub7 07-21-2012 05:39 AM

Re: hulu.sh, download from Hulu


 
How can I get this working on ubuntu?

What changes do I need to make?

Thanks.

evol 07-21-2012 07:57 AM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by sub7 (Post 49617)
How can I get this working on ubuntu?

What changes do I need to make?

Thanks.

At a guess the only thing i can see is this line
Code:

p="plugin-container.exe"
So try........

Code:

p="plugin-container"
or
Code:

p="/usr/lib/firefox-X.X.X/plugin-container"
X.X.X been the version of fifefox. :)

svnpenn 07-21-2012 11:26 AM

Re: hulu.sh, download from Hulu


 
In addition Im pretty sure the dumper.exe is not portable. That is what dumps the process memory of plugin-container.exe

I believe in linux you do something like

Code:

cat /proc/<pid>/mem > dumpfile.dmp

sub7 07-21-2012 11:46 AM

Re: hulu.sh, download from Hulu


 
I managed to make this in PHP: http://69.55.60.143/?url=http://www....m/watch/331326

Change the url to the episode you want and it will spit out an rtmpdump command.

Can you test this command for me as I am having the following issue running it...

Code:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
WARNING: HandShake: Server not genuine Adobe!
ERROR: RTMP_Connect1, handshake failed.


sub7 07-21-2012 12:52 PM

Re: hulu.sh, download from Hulu


 
Sorry for hijacking your thread dude...

I installed the following package which fixed everything.

https://launchpad.net/~mario-sitz/+a...+build/2882813

svnpenn 09-08-2012 05:56 PM

Re: hulu.sh, download from Hulu


 
Quote:

Sort results

Results for Hulu videos are now sorted, and duplicates removed if they exist. In
addition the Regular expression was producing junk in some situations, this has
been fixed.

Tested on
http://hulu.com/watch/360292
http://hulu.com/watch/399375
github.com/svnpenn/etc/commit/ba81

chap 09-09-2012 12:08 AM

Re: hulu.sh, download from Hulu


 
works fine (timeout 3)

svnpenn 09-09-2012 12:23 AM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by chap (Post 53977)
works fine (timeout 3)

timeout 1, no good?


All times are GMT -6. The time now is 09:06 PM.