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
  #1  
Old 06-14-2012, 08:04 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

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

Last edited by KSV : 06-25-2012 at 04:04 AM.
Reply With Quote
  #2  
Old 06-16-2012, 11:28 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


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
Reply With Quote
  #3  
Old 06-16-2012, 06:41 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


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.
Reply With Quote
  #4  
Old 06-17-2012, 09:35 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


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.
Reply With Quote
  #5  
Old 06-18-2012, 12:29 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


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.
Reply With Quote
  #6  
Old 06-24-2012, 03:21 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


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.
Reply With Quote
  #7  
Old 06-25-2012, 03:40 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


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

New link, moderator please update.
Reply With Quote
  #8  
Old 06-25-2012, 09:04 AM
ka6_jeram ka6_jeram is offline
Junior Member
 
Join Date: Jun 2012
Posts: 7
ka6_jeram is on a distinguished road
Default

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.
Reply With Quote
  #9  
Old 06-25-2012, 05:30 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:
Originally Posted by ka6_jeram View Post
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.
Reply With Quote
  #10  
Old 06-25-2012, 06:27 PM
ka6_jeram ka6_jeram is offline
Junior Member
 
Join Date: Jun 2012
Posts: 7
ka6_jeram is on a distinguished road
Default

Re: hulu.sh, download from Hulu


http://www.hulu.com/watch/374154
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 11:45 PM.


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