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-14-2012 07:04 PM

hulu.sh, download from Hulu


 
The problem I have with RtmpSrv is, it does not have a way to choose quality.

For example on Hulu they will have 1000 stream, 650 stream, and 400 stream. RtmpSrv will only capture the stream that is actually playing, no more.

This script allows you to choose from quality and CDN, before invoking RtmpDump.

It is written in Bash, and should only require rtmpdump.exe and a standard Cygwin installation. Please post if you have problems.

http://github.com/svnpenn/etc/blob/master/hulu.sh

svnpenn 06-16-2012 10:28 AM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/dotfiles/commit/ebbd

Quote:

Support limelight CDN

the RTMP token, as found in the hulu SMIL file uses encoded ampersands, e.g.
"&". limelight CDN does not accept these, they need to be decoded first.

Numerous other fixes
- Search for "plugin-container.exe" instead of "plugin-container"
- Improve Bash SMIL parsing
- Call "/bin/kill" instead of "env kill"
- Use "<" instead of "cat"
- Use array instead of temporary XML file
- Update Hulu SWF

svnpenn 06-16-2012 05:41 PM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/dotfiles/commit/6377

Quote:

Remove call to sed

The sed call in xmlget() was only being used by "token".

Change it to bash string substitution.

svnpenn 06-17-2012 08:35 PM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/dotfiles/commit/fc80

Quote:

Support Flash 11.3

Adobe has made a change to flash player.

blogs.adobe.com/asset/2012/06/inside-flash-player-protected-mode-for-firefox

With version 11.3, flash player now runs as 3 processes.

* plugin-container.exe
* FlashPlayerPlugin_11_3_300_257.exe
* FlashPlayerPlugin_11_3_300_257.exe (2nd instance)

The data for dumping is contained in one of the last two. This patch dumps all 3
process and search all 3. Patch should still work on older versions of flash.

svnpenn 06-17-2012 11:29 PM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/dotfiles/commit/dc03

Quote:

Disable flash player protected mode for Firefox

According to http://forums.adobe.com/thread/1018071

instead of dealing with the new protected mode, which involves 3 processes for
the flash player, you can simply disable it.

This means once again only plugin-container.exe will need to be dumped and not
these new processes. This will speed up the dumping process and parsing process.

svnpenn 06-24-2012 02:21 AM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/dotfiles/commit/44bf

Quote:

Faster parsing of dump file

"cat -v" creates print-friendly output from binary file.

attrget() function rewrite, use string substitution instead of grep for better
speed.

svnpenn 06-25-2012 02:40 AM

Re: hulu.sh, download from Hulu


 
github.com/svnpenn/etc/blob/master/hulu.sh

New link, moderator please update.

ka6_jeram 06-25-2012 08:04 AM

Re: hulu.sh, download from Hulu


 
This happened to all Hulu link that I tried. Is it maybe because I use the unofficial rtmpdump?. I use the v2.5 ones.

svnpenn 06-25-2012 04:30 PM

Re: hulu.sh, download from Hulu


 
Quote:

Originally Posted by ka6_jeram (Post 48218)
This happened to all Hulu link that I tried. Is it maybe because I use the unofficial rtmpdump?. I use the v2.5 ones.

You will need to post link to the video, I cannot reproduce.

ka6_jeram 06-25-2012 05:27 PM

Re: hulu.sh, download from Hulu


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


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