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)

shamshel 10-29-2012 12:48 AM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by svnpenn (Post 55871)
Ok, I have reverted "master" branch to before the "shamshel" changes. In addition I have added a new branch "shamshel" with the shamshel changes, which can be found here

github.com/svnpenn/etc/tree/shamshel



Everyone needs to understand this. This "actual" video loads while the ads are playing. Typically for me the actual video has loaded within 3 seconds of the ads starting. Of course slower computers will be different, but I would think it would be rare to need to even wait until the ads are finished. As far as shamshel's troubles, I have made the topic branch on GitHub so he can have access to those changes. But unless I receive more info or some epiphany as to what is causing shamshel problem, that new branch is essentially a dead end.

Thanks for the branch. I hope I can figure out what's wrong and contribute in some way. Right now, I'm really clueless why it's not working for me. I'm thinking of completely reinstalling Cygwin because I have no idea what else could be the problem.

Thanks also for explaining when the actual video loads. I didn't know that.

svnpenn 10-29-2012 11:41 PM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by shamshel
Thanks for the branch. I hope I can figure out what's wrong and contribute in some way. Right now, I'm really clueless why it's not working for me.

By chance, are you running a 64-bit browser?

shamshel 10-30-2012 10:46 PM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by svnpenn (Post 55927)
By chance, are you running a 64-bit browser?

Nope, 32-bit FireFox.

I've reinstalled Cygwin but the script still isn't working right. I've all but given up. Thanks anyway for your help, svnpenn.

chanc 11-01-2012 01:51 AM

Re: hulu.sh, download from Hulu


 
http://www.hulu.com/watch/419930

Code:

Administrator@pc ~
$ hulu.sh
This script requires Firefox.
Killed flash player for clean dump.
Attempt 1, Restart video.
Failed to open process #5948, error 87
grep: pg.core: No such file or directory
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 2, Restart video.
Attempt 3, Restart video.
Failed to open process #5076, error 87
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Attempt 4, Restart video.
 0      650_h264      akamai
 1      400_h264      akamai
 2      1000_h264      akamai
 3      650_h264      limelight
 4      400_h264      limelight
 5      1000_h264      limelight
 6      650_h264      level3
 7      400_h264      level3
 8      1000_h264      level3
Make choice. Avoid level3.
3
+ rtmpdump -o a.flv -W http://download.hulu.com/huludesktop.swf -r rtmpe://hulu-547.fcod.llnwd.net/a2461/o23 -y mp4:547/60140547/agave50362837_13087154_H264_650.mp4 -a 'a2461/o23?as=adobe-hmac-sha256&av=1&te=connect&mp=547/60140547&et=1351756225&fmta-token=b064eca9004e8d50b48f3698798e8af0e03dfed074c919fcf590f6a9321377f1&hgt=OZU7Pvs7j27-nhteNno7wqSElIglTEMB49vIlX00AUzNsrVQgc4q5gCpLdeRxQcwLIJf5nfhepeK3-E-mnBm1-4qc_CgTYvvKNJRSpZTtYilINUfpO1WuKDCZhtuZYBOhjAwRdd_05IZfhvMaM9BnpoSZwUjQMGlgRTr26NP2xp9_gxB3gDnx3xPwIY6PshHSo-i4eEqsbAzlZoTFGzWVkVUxivx4836NeQvmlypAHD_4HO0Ze4nRZcdv_Ebdx5cd7IL066v2RSRU1NWfWxzgPGmgayjRX8QjTafKlHH6W0=&hgt_ver=331370278'
RTMPDump v2.4 GIT-2012-07-26 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://download.hulu.com/huludesktop.swf
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
ERROR: rtmp server sent error
ERROR: rtmp server requested close

Administrator@pc ~
$

While trying downloading, an error occurred.

Please help.

chanc 11-01-2012 01:58 AM

Re: hulu.sh, download from Hulu


 
given another try, and I succeeded.
Code:

Make choice. Avoid level3.
0
+ rtmpdump -o a.flv -W http://download.hulu.com/huludesktop.swf -r rtmpe://cp39466.edgefcs.net/ondemand -y mp4:hulu23/547/60140547/agave50362837_13087154_H264_650.mp4 -a 'ondemand?auth=daEdmcGc2bpcldEaRaTdOc4ckduaCaDcsaF-bqKISa-c0-YpHDvDs0BAm&aifp=sll02152008&slist=hulu23/547/60140547;.international=false&hgt=OZU7Pvs7j27-nhteNno7wpjFkh93pwWIHWZOaIRQqhL-a4OamqtOBIcM5XepWao-jnaBYte-lmyjqYJmh6LC9Dr_RKJ864d0AO_2swuCO84QkWxx7o0M-kM4A7DAmNO_j9wYEX5H1mEPwBSMwCWdnx6DpzYEVaUJ50iMrqMnG5VZjso5XbR9qnR1po-Xz0RRlh4PDkhBOAy_brqO67pcvx61GKkJkjxuQOE5OqOA0BtZ2TNtMh2IvTUsxqtPwGum&hgt_ver=331370278'
RTMPDump v2.4 GIT-2012-07-26 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP_HashSWF: connection lost while downloading swfurl http://download.hulu.com/huludesktop.swf
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO:  duration                1321.90
INFO:  moovPosition            36.00
INFO:  width                  640.00
INFO:  height                  360.00
INFO:  videocodecid            avc1
INFO:  audiocodecid            mp4a
INFO:  avcprofile              100.00
INFO:  avclevel                30.00
INFO:  aacaot                  2.00
INFO:  videoframerate          29.97
INFO:  audiosamplerate        24000.00
INFO:  audiochannels          2.00
INFO: tags:
INFO:  ©too                  Hulu v1.12
INFO: trackinfo:
INFO:  length                  39651612.00
INFO:  timescale              30000.00
INFO:  language                und
INFO: sampledescription:
INFO:  sampletype              avc1
INFO:  length                  63451136.00
INFO:  timescale              48000.00
INFO:  language                und
INFO: sampledescription:
INFO:  sampletype              mp4a
26532.354 kB / 336.07 sec (25.4%)


budmonster 04-01-2013 01:37 AM

Re: hulu.sh, download from Hulu


 
could some explain to me how to use this? where to place the hulu.sh file? what command to use to download the video from hulu, etc.? im using the hulu.pm plugin with get_flash_videos, but im having trouble with one video and head that this hulu.sh will download it for me.


All times are GMT -6. The time now is 12:49 AM.