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
  #41  
Old 06-24-2012, 01:52 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/dotfiles/commit/d1af

Quote:
1. Auto detect host

In the past the script has listed RTMP URLs, and the user needed to paste in
a correct URL. With this patch is an effort to automatically detect the RTMP
host and edit the hosts file accordingly. The regex is new so it might need
some tweaking.

2. The final rtmpdump call was not correct. It was calling something to the
effect of

rtmpdump <arguments>
rtmpdump <arguments> -v

That is wrong because it will try to execute both command in all circumstance.
Command was changed to

rtmpdump <arguments> || rtmpdump <arguments> -v

3. Script is no longer generating a second script and calling script. This is
not necessary
Reply With Quote
  #42  
Old 06-25-2012, 03:41 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/etc/blob/master/rtmp-host.sh

New link, moderator please update.
Reply With Quote
  #43  
Old 07-01-2012, 06:46 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/etc/commit/a712

Quote:
Auto detect when RtmpSrv has found parameters

Until now the script has invoked RtmpSrv, then waited for the user to notify the
script when RtmpSrv has captured the parameters.

Using a coprocess the script will now automatically monitor the RtmpSrv process
once its been started. Once the command has been detected it will automatically
exit RtmpSrv and invoke RtmpDump.

Also now that process substitution is not being used we can utilize the slightly
faster #!/bin/sh over #!/bin/bash

Tested with
concertgebouw.nl/live?event=25417
showtvnet.com/player/index.asp?ptype=1
teamcoco.com/video/full-episode-thurs-6/21-seth-meyers-jordana-brewster-and-musical-guests-the-avett-brothers
Reply With Quote
  #44  
Old 07-08-2012, 02:41 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/etc/commit/fef0

Quote:
rtmp-host.sh regex correction

Old regex was allowing incorrect rtmp URLs, if the host was one character, e.g.

rtmp://q

Also fixed a problem where multiple RTMP URLs were being returned. Tested on

nick.com/videos/clip/penguins-of-madagascar-223a-a-visit-from-uncle-nigel-full-episode.html
Reply With Quote
  #45  
Old 07-23-2012, 02:34 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/etc/commit/9eda

Quote:
Redirect multiple RTMP URLs

Some websites will present RTMP URLs from more than one host. It can be
difficult to determine which host is the correct one. Patch simply identifies
all unique hosts for the site and runs them all through the hosts file.

Additionally this site was able to invoke RtmpDump directly from RtmpSrv instead
of the normal separate invokation. This is a problem because the RtmpDump
spawned by RtmpSrv, while successful in downloading is not responsive to
keyboard commands such as Ctrl+C. RtmpDump is now killed if invoked by RtmpSrv,
then invoked manually as before.

Tested on
http://nickelodeon.nl/videos/36578-aflevering-1
Reply With Quote
  #46  
Old 07-27-2012, 11:50 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


github.com/svnpenn/etc/commit/977c

Quote:
SecureToken support

http://docs.google.com/viewer?url=wowza.com/resources/WowzaMediaServerPro_UsersGuide.pdf

Parse SecureToken from RAM. It it exists it will be appended to the RtmpDump
command. Will need to clean up the script log but otherwise should be working.

SecureToken test
http://zonytvcom.info/zeetvv.htm

Regex tests
http://nick.com/videos/clip/penguins-of-madagascar-223a-a-visit-from-uncle-nigel-full-episode.html
http://nickelodeon.nl/videos/36578-aflevering-1
http://speciali.105.net/repliche/index/replica/lo-zoo-di-105
http://teamcoco.com/video/category/full-episodes
Reply With Quote
  #47  
Old 08-09-2012, 12:07 AM
louieg louieg is offline
Junior Member
 
Join Date: Aug 2012
Posts: 2
louieg is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


I'm using this method to access hbogo without success. Link
http://www.hbogo.com/#series/video&assetID=GOROSTGP25853?videoMode=embeddedVide o?showSpecialFeatures=false/

This is what I get in the Cygwin terminal:
Code:
RTMP Server v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
Closing connection... done!

RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
0
8
Exiting
Closing connection... done!

WARNING: HandShake: Type mismatch: client sent 6, server answered 8
INFO: Connected...
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
+ eval 'rtmpdump -r "rtmpe://stream.adaptive.lln.hbogo.com:1935/a6530/e1" -a "a6530/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=videos/hbo/feature/627030/&et=1344488152&fmta-token=613ce7c1934202645d90132b86a0676e77a02f878ee4fd514b791c9105ff7abd" -f "WIN 10,2,152,32" -W "http://livepassdl.conviva.com/ver/2.53.0.59282/LivePassModuleMain.swf" -p "http://www.hbogo.com/#series/video&assetID=GOROSTGP25853?videoMode=embeddedVideo?showSpecialFeatures=false/" -y "mp4:videos/hbo/feature/627030/hbo_370279_PRO4_1.mp4" -o hbo_370279_PRO4_1.flv -T '\'''\'''
++ rtmpdump -r rtmpe://stream.adaptive.lln.hbogo.com:1935/a6530/e1 -a 'a6530/e1?as=adobe-hmac-sha256&av=1&te=connect&mp=videos/hbo/feature/627030/&et=1344488152&fmta-token=613ce7c1934202645d90132b86a0676e77a02f878ee4fd514b791c9105ff7abd' -f 'WIN 10,2,152,32' -W http://livepassdl.conviva.com/ver/2.53.0.59282/LivePassModuleMain.swf -p 'http://www.hbogo.com/#series/video&assetID=GOROSTGP25853?videoMode=embeddedVideo?showSpecialFeatures=false/' -y mp4:videos/hbo/feature/627030/hbo_370279_PRO4_1.mp4 -o hbo_370279_PRO4_1.flv -T ''
RTMPDump v2.4 GIT-2012-03-08 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 9
INFO: Connected...
ERROR: HandleCtrl: SWFVerification Type 2 request not supported, attempting to use SWFVerification Type 1! Patches welcome...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
Any ideas? I've used various version of rtmpsrv and rtmpdump. I'm stumped and any help would be appreciated!
Reply With Quote
  #48  
Old 08-09-2012, 12:25 AM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Quote:
Originally Posted by louieg
ERROR: HandleCtrl: SWFVerification Type 2 request not supported, attempting to use SWFVerification Type 1! Patches welcome...
ERROR: rtmp server sent error
ERROR: rtmp server requested close
SwfVerification Type 2 has not been implemented. Sites implementing this will not be downloadable.

Edit
This is a limitation of RtmpDump, not the script.
Reply With Quote
  #49  
Old 08-09-2012, 12:41 AM
louieg louieg is offline
Junior Member
 
Join Date: Aug 2012
Posts: 2
louieg is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Thanks for the prompt response. I had my hopes up because Chap had success one week ago, see:

http://stream-recorder.com/forum/sho...24&postcount=5

I guess they've been busy implementing the change this week. If anyone has any suggestions for any other methods, please post.
Reply With Quote
  #50  
Old 08-09-2012, 01:06 AM
chap chap is offline
Senior Member
 
Join Date: Feb 2011
Location: Ukraine
Posts: 1,165
chap is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Quote:
Originally Posted by louieg View Post
Thanks for the prompt response. I had my hopes up because Chap had success one week ago, see:

http://stream-recorder.com/forum/sho...24&postcount=5

I guess they've been busy implementing the change this week. If anyone has any suggestions for any other methods, please post.
Post or PM

Login
Pass
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 09:36 PM.


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