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 05-18-2012, 11:21 PM
svnpenn svnpenn is offline
Banned
 
Join Date: Apr 2011
Location: Dallas
Posts: 757
svnpenn is on a distinguished road
Default

rtmp-host.sh, RtmpExplorer alternative


I never really liked RtmpExplorer

- Only works with Internet Explorer
- Closed source (sort of)
- Requires .NET Framework

This is something I came up with. Basically it dumps the memory of Flash Player, which contains all the RTMP parameters. You put in a search string, e.g. "rtmp", and it should find all the RTMP URLs, e.g.

Code:
rtmpte://cp97384.edgefcs.net
Enter the host

Code:
cp97384.edgefcs.net
After that it will automatically edit your hosts file, invoke RtmpSrv, then RtmpDump. I have tested it on Cygwin but it should work on MinGW with a little modification. Requires

- Firefox or Pale Moon
- ProcDump

Any suggestions welcome.

github.com/svnpenn/dotfiles/blob/master/bin/rtmp-host.sh

It's been updated: http://github.com/svnpenn/etc/blob/master/rtmp-host.sh

Last edited by KSV : 06-25-2012 at 04:03 AM.
Reply With Quote
  #2  
Old 05-19-2012, 11:03 AM
Josan420 Josan420 is offline
Senior Member
 
Join Date: Feb 2012
Location: India
Posts: 150
Josan420 is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


can u please give some more instructions for on how to use it with CYGWIN
Reply With Quote
  #3  
Old 05-19-2012, 11:07 AM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Hi,
can you help me with your script, please?
Everytime when enter the search string, it tells me
-> Line 17: strings: Command not found!
and also the same on -> Line 21: /c/windows/system32/drivers/etc/hosts: No such file or directory.

Thanks
Reply With Quote
  #4  
Old 05-19-2012, 03:00 PM
bat999 bat999 is offline
Senior Member
 
Join Date: Apr 2011
Location: UK
Posts: 131
bat999 is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Quote:
Originally Posted by svnpenn View Post
Any suggestions welcome.
What about a linux version?
Reply With Quote
  #5  
Old 05-19-2012, 07:45 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


Quote:
Originally Posted by drbmn
Everytime when enter the search string, it tells me
-> Line 17: strings: Command not found!
and also the same on -> Line 21: /c/windows/system32/drivers/etc/hosts: No such file or directory.
Fixed.

Quote:
Originally Posted by bat999
What about a linux version?
Its almost working with linux now I think. We would need to find a linux program that can dump a running process, on Windows its ProcDump.
Reply With Quote
  #6  
Old 05-20-2012, 03:42 AM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Quote:
Originally Posted by svnpenn View Post
Fixed.


Thank you! But only one more mistake is there, it shows me error on Line 26 to start rtmpsrv. And its in the same directory as rtmpsrv and the other files.
Reply With Quote
  #7  
Old 05-20-2012, 05:54 AM
evol evol is offline
Senior Member
 
Join Date: Jun 2011
Posts: 228
evol is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Is there no way to make a script for windows without the use of Cygwin or MinGW as there are ports of the commands you use ?

To be honest i would find booting my Puppy Linux CD much easier than doing this and probably quicker too ?

Reply With Quote
  #8  
Old 05-20-2012, 09:34 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 drbmn View Post
Thank you! But only one more mistake is there, it shows me error on Line 26 to start rtmpsrv. And its in the same directory as rtmpsrv and the other files.
What is the error?

Quote:
Originally Posted by evol View Post
Is there no way to make a script for windows without the use of Cygwin or MinGW as there are ports of the commands you use ?

To be honest i would find booting my Puppy Linux CD much easier than doing this and probably quicker too ?
You would be referring to a batch file. Sorry but now that I have used Bash I will never go back.

Edit: Thanks for telling me about Puppy Linux though! I havent used Ubuntu live for a while because so big and slow.

Last edited by svnpenn : 05-20-2012 at 10:16 AM.
Reply With Quote
  #9  
Old 05-20-2012, 11:03 AM
drbmn drbmn is offline
Member
 
Join Date: May 2012
Posts: 145
drbmn is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Quote:
Originally Posted by svnpenn View Post
What is the error?
Press Enter to start RtmpSrv, then restart video
After capture, press "q, enter" to quit
[I pressed enter]
Line 26: rtmpsrv: Command not found!
dos2unix: File capture.sh is being converted to Unix Format ....

Thats the message, but what's capture.sh?
Reply With Quote
  #10  
Old 05-20-2012, 11:16 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 drbmn
Press Enter to start RtmpSrv, then restart video
After capture, press "q, enter" to quit
[I pressed enter]
Line 26: rtmpsrv: Command not found!
Fixed.

Quote:
Originally Posted by drbmn
dos2unix: File capture.sh is being converted to Unix Format ....

Thats the message, but what's capture.sh?
capture.sh is just a capture of the RtmpDump command, something like

rtmpdump -r "asdf" -a "asdf" -W "asdf" -y "asdf" -o "asdf"
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 12:31 AM.


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