Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #31  
Old 10-20-2012, 12:50 AM
tcatone tcatone is offline
Junior Member
 
Join Date: Oct 2012
Posts: 1
tcatone is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Hey, svnpenn.

I just want to thank you for taking the time to work on hulu.sh. I actually have absolutely no background in Linux or programming. However, I had been searching so long for a way to download from Hulu, and after finding my way to this forum, that I decided to suck it up and learn how to use Cygwin.

Anyway, I'm wondering which version of rtmpsrv we are supposed to use with hulu.sh. I have rtmpsrv 2.4 that I got from VideoHelp (rtmpdump), but I am unable to download. I see that there are multiple versions of rtmpsrv that many different people have worked on....

If it makes a difference, I'm using Windows 7 Home Premium SP1 and FireFox 16.0.1. Thanks for your help!!
Reply With Quote
  #32  
Old 10-20-2012, 01:00 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Originally Posted by tcatone
Anyway, I'm wondering which version of rtmpsrv we are supposed to use with hulu.sh.
hulu.sh does not require RtmpSrv, only RtmpDump.
Reply With Quote
  #33  
Old 10-26-2012, 06:28 PM
shamshel shamshel is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
shamshel is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Hate to come outta nowhere and do this, but has something changed in hulu.sh? I'm getting:

Quote:
hulu.sh: line 21: syntax error near unexpected token `<'
hulu.sh: line 21: `until read < <(pidof $pc); do warn "$pc not found!"; done'
EDIT:

Ok, I think I got it. But now, this happens:

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

Make choice. Avoid level3.
As you can see, there are no choices present.

EDIT 2:

I thought I should show what happens after I enter a random number (because no choices appear):

Code:
Make choice. Avoid level3.
2
+ rtmpdump -W http://download.hulu.com/huludesktop.swf -a '?' -o a.flv -r '' -y ''
RTMPDump v2.4 GIT-2012-07-26 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP URL: No :// in url!
WARNING: Couldn't parse the specified url ()!
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname
After that, the video crashes.

I've been searching these forums for a solution, and it seems like someone else had a similar problem to me in the past:

http://stream-recorder.com/forum/sho...3949#post53949

Last edited by shamshel : 10-26-2012 at 07:26 PM.
Reply With Quote
  #34  
Old 10-27-2012, 12:48 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Originally Posted by shamshel
As you can see, there are no choices present.
As of this moment, the script is and has been working. If you want more help you will need to provide the Hulu page in question.

Code:
$ hulu.sh
Killed flash player for clean dump.
Restart video then press enter here.

 0       400_h264       akamai
 1      1000_h264       akamai
 2       400_h264       limelight
 3      1000_h264       limelight
 4       400_h264       level3
 5      1000_h264       level3
Make choice. Avoid level3.
1
+ rtmpdump -W http://download.hulu.com/huludesktop.swf -a 'ondemand?auth=daEbvbx
c1cSbibpaVdnbZbBbYcMcva.dXb8-bqI3sG-c0-XoIDuErZIyr&aifp=sll02152008&slist=hulu23
/647/60138647;.international=false&hgt=OZU7Pvs7j27-nhteNno7wle1tifVL5n72ztajNhv8
xOVZB5rGd0inzIqGIf_Lzj4q-v4605WcjlduQg0WmBPb9DER7AEdu2EXkcmlHsHzpg-L5A9XjUOApnPc
_0H_cXXDW34pLn6N17Vk9n21dZdU8LxlewjIiPG_QNrFdWQn2jgI8Q2XEpb_pPN17Xnr1XV49O8De-Qm
_ZcdaYBKTYQd84Bw6gHFPGn2q5RXF1OUTlAz2lhmY5gaOj3zeMEJsIw&hgt_ver=331370278' -o a.
flv -r rtmpe://cp39466.edgefcs.net/ondemand -y mp4:hulu23/647/60138647/agave5036
0969_13022436_H264_1000.mp4
RTMPDump v2.4-49-g6ed7d74
(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              1343.02
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       24000.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ©too                 Hulu v1.12
INFO: trackinfo:
INFO:   length                32230198.00
INFO:   timescale             24000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                64464896.00
INFO:   timescale             48000.00
INFO:   language              und
INFO: sampledescription:
INFO:   sampletype            mp4a
4669.127 kB / 40.04 sec (2.9%)
Reply With Quote
  #35  
Old 10-27-2012, 01:33 AM
shamshel shamshel is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
shamshel is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Originally Posted by svnpenn View Post
As of this moment, the script is and has been working. If you want more help you will need to provide the Hulu page in question.
None of the videos I'm trying work. I've tried these so far:

http://www.hulu.com/watch/1783
http://www.hulu.com/watch/413189
http://www.hulu.com/watch/220145
http://www.hulu.com/watch/406882

Here's what's I'm getting:

Code:
shamshel@shamshel-PC /usr/local/bin
$ hulu.sh
Killed flash player for clean dump.
Restart video then press enter here.

Make choice. Avoid level3.
1
+ rtmpdump -W http://download.hulu.com/huludesktop.swf -a '?' -o a.flv -r '' -y ''
RTMPDump v2.4-49-g6ed7d74
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
ERROR: RTMP URL: No :// in url!
WARNING: Couldn't parse the specified url ()!
ERROR: You must specify a hostname (--host) or url (-r "rtmp://host[:port]/playpath") containing a hostname
I'm using:
rtmpdump from https://github.com/svnpenn/rtmpdump/downloads
hulu.sh from https://github.com/svnpenn/etc/blob/master/hulu.sh (obviously)
Reply With Quote
  #36  
Old 10-27-2012, 02:55 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Do the waiting for the user

Until now the script instructed the user to restart the video, then press enter.
This leaves room for error. If Ads play before the video and the user pressed
enter very quickly, then the script could dump flash player before the actual
video has started.

To prevent this the script no longer allows the user to determine proper
"waiting" time. Script will first try 2 seconds, then keep increasing by one
second until enough time has passed for the actual video to be captured.
github.com/svnpenn/etc/commit/7ee7
Reply With Quote
  #37  
Old 10-27-2012, 04:01 AM
chanc chanc is offline
Senior Member
 
Join Date: Sep 2012
Posts: 115
chanc is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Yes , the previous script requires the users to press enter at the proper time , that is , right after the video begins , not the ad.
Reply With Quote
  #38  
Old 10-27-2012, 04:05 AM
chanc chanc is offline
Senior Member
 
Join Date: Sep 2012
Posts: 115
chanc is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Originally Posted by svnpenn View Post
By the way, after downloading the latest version , I found no rtmp-host.sh in the folder, but rtmp-help.sh .
Reply With Quote
  #39  
Old 10-27-2012, 02:03 PM
shamshel shamshel is offline
Junior Member
 
Join Date: Oct 2012
Posts: 9
shamshel is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Originally Posted by svnpenn View Post
Thanks for trying to help me. The problem with this is that after the script kills Flash, I go to refresh the page, but the script doesn't provide enough time for the new video to load before killing Flash again.

So, basically, I'm getting an endless cycle of:
(1) "Attempt x, Restart video"
(2) Pressing refresh
(3) The refreshed video play for 2 seconds
(4) Flash crashes
(5) "Attempt x+1, Restart video"
etc.

Code:
shamshel@shamshel-PC /usr/local/bin
$ hulu.sh
This script requires Firefox.
Killed flash player for clean dump.
Attempt 1, Restart video.
Attempt 2, Restart video.
Attempt 3, Restart video.
Attempt 4, Restart video.
Attempt 5, Restart video.
Attempt 6, Restart video.
Quote:
Originally Posted by chanc View Post
Yes , the previous script requires the users to press enter at the proper time , that is , right after the video begins , not the ad.
Hmmm, I thought I was pressing enter after the real video (not the ad) loads. Maybe I just wasn't waiting long enough.
Reply With Quote
  #40  
Old 10-27-2012, 06:59 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: hulu.sh, download from Hulu


Quote:
Kill dumper

previous script was killing "plugin-container", but not killing "dumper". This
could cause and issue when the program loops, because a second instance of
dumper could be called before the first instance is killed.
github.com/svnpenn/etc/commit/e6a5
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 07:38 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons