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)

chap 09-09-2012 12:50 AM

Re: hulu.sh, download from Hulu


 
not on XP
maybe it depends on the configuration of your computer (my old computer:confused: )

svnpenn 09-09-2012 01:16 AM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by chap (Post 53984)
not on XP
maybe it depends on the configuration of your computer
(my old computer:confused: )

I think some computers are too slow for "timeout 1". I will make a better fix
for this.

svnpenn 09-09-2012 11:11 PM

Re: hulu.sh, download from Hulu


 
Quote:

Wait until memory dump finishes

Before the memory dump was allowed 1 second to complete, which was not enough
time on slower systems. This was causing no results to be diplayed. Now the
script will wait until the memory dump is complete, before continuing.
github.com/svnpenn/etc/commit/58dd

harryniles2 09-12-2012 04:15 PM

Re: hulu.sh, download from Hulu


 
hi svnpenn, thanks for this app. I am getting this after i restart the video:

Killed flash player for clean dump.
Restart video then press enter here

hulu.sh: line 27: syntax error near unexpected token `<'
hulu.sh: line 27: `read < <(pidof $p) || die "$p not found!"'


I used the latest commit and am using cygwin with FF on http://hulu.com/watch/360292
any ideas? thanks!

EDIT: now working but getting this:

/cygdrive/e/rtmpdumphelper
$ ./hulu.sh
Killed flash player for clean dump.
Restart video then press enter here

0 480_vp6 akamai
1 400_h264 akamai
2 1000_h264 akamai
3 1500_h264 akamai
4 2000_h264 akamai
5 650_h264 akamai
6 3200_h264 akamai
7 2500_h264 akamai
8 480_vp6 limelight
9 400_h264 limelight
10 1000_h264 limelight
11 1500_h264 limelight
12 2000_h264 limelight
13 650_h264 limelight
14 3200_h264 limelight
15 2500_h264 limelight
16 480_vp6 level3
17 400_h264 level3
18 1000_h264 level3
19 1500_h264 level3
20 2000_h264 level3
21 650_h264 level3
22 3200_h264 level3
23 2500_h264 level3
Make choice. Avoid level3.
5
+ rtmpdump -W http://download.hulu.com/huludesktop.swf -a 'ondemand?auth=daEa5c1bmdAdncDa1dQbFcJcPdyazaTdLcy-bquq0Q-c0-3pICtFt1Dzv&aifp=sll02152008&slist=darwin/ma/2/60072002;.international=false&hgt=OZU7Pvs7j27-nhteNno7wueF6VUWbadZXncK-ZYDlmRtUTDx0IBZTLU0L5EBqtpRKwhYTUT0JomTlvrsa46gq6X 8Turh1ryBNc6hz0nx5pDon8r9g4fZ38HeiDYjNiHlAdGigtS3p _QvVX2IbaMbybjEd1kt5eilfvAJfy5-oW68tiLM80qST32cChsdDRKDtVuZgb-LWzeMRdTQ-la9AQy5WQqWscTxkD7sXsa8jM23fywukEZtZ0scdJ8AGh2w&hg t_ver=331370278' -o out.flv -r rtmpe://cp39466.edgefcs.net/ondemand -y mp4:darwin/ma/2/60072002/agave50295746_10228553_H264_650.mp4
./hulu.sh: line 52: rtmpdump: command not found

rtmpdump.exe is present in same folder

svnpenn 09-12-2012 04:46 PM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by harryniles2 (Post 54132)
rtmpdump.exe is present in same folder

Ah yes, I made a personal choice to search for rtmpdump.exe on the PATH. Here
are a couple of ways to fix that.

Move rtmpdump.exe to the PATH, for example
C:\cygwin\usr\local\bin\rtmpdump.exe

OR

Adjust the PATH before running the script, for example
PATH=.:$PATH

For the long term I will try to make a fix for this.

harryniles2 09-12-2012 05:00 PM

Re: hulu.sh, download from Hulu


 
AHA! now working :) (should have thought of that)

many thanks svnpenn

svnpenn 09-12-2012 05:27 PM

Re: hulu.sh, download from Hulu


 
Quote:

Search current directory

Script will now search current directory, in addition to the PATH. This is to
allow people to put rtmpdump.exe in same folder as the script.
github.com/svnpenn/etc/commit/25a3

harryniles2 09-12-2012 07:44 PM

Re: hulu.sh, download from Hulu


 
Hi svnpenn cheers for the quick fix. Can i request subtitle support? When i first started using rtmpdump an srt would always dl as well, but never now. The flv ends up hardsubbed. I was able to grab subtitles by looking at contentid in source but they are encrypted smi files. Or if you've any idea how to decrypt. Thanks again

ncfballkid 09-26-2012 11:09 AM

Re: hulu.sh, download from Hulu


 
How were you guys able to solve the

hulu.sh: line 27: syntax error near unexpected token `<'
hulu.sh: line 27: `read < <(pidof $p) || die "$p not found!"'

error?

Thanks, Andrew

svnpenn 09-26-2012 07:20 PM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by ncfballkid (Post 54693)
How were you guys able to solve the

hulu.sh: line 27: syntax error near unexpected token `<'
hulu.sh: line 27: `read < <(pidof $p) || die "$p not found!"'

error?

Thanks, Andrew

"unexpected token" means you arent using Bash. God knows how you were able to even make that happen. You can test your terminal like this

Code:

read < <(pwd)
If running this command make an error, you have done something wrong.


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