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
  #51  
Old 10-02-2012, 06:17 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:
Search for streams with upper case

Some sites are now using upper case "to be cute". For example

RTMPE://cp68509.edgefcs.net

Regex has been modified to search for both upper and lower case streams. Tested
on

http://tape.tv
github.com/svnpenn/etc/commit/474c
Reply With Quote
  #52  
Old 10-08-2012, 07:58 AM
xrspook xrspook is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
xrspook is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


i use Cygwin + rtmp-host.sh try to download

http://www.wwe.com/videos/alberto-de...usive-26054665

but this happened...

Code:
 ./rtmp-host.sh
Killed flash player for clean dump. Hosts file reset.
Restart video then press enter here.

127.0.0.1 bcvideos.wwe.com
127.0.0.1 cp95906.edgefcs.net
Press enter to start RtmpSrv, then restart video.

./rtmp-host.sh: line 44: rtmpsrv: command not found
rtmp-host.sh and rtmpsrv are in the same folder

did i forget something or do something wrong?

please give me a hand, thanks
Reply With Quote
  #53  
Old 10-08-2012, 08:37 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 xrspook
Code:
./rtmp-host.sh: line 44: rtmpsrv: command not found
This is a long standing issue that I never came up with a good solution for. The script is looking for RtmpSrv on the "PATH", not the current directory or even the directory with the script. For now you can fix this by doing one of these

- move RtmpSrv to the PATH, for example C:\cygwin\usr\local\bin\rtmpsrv.exe
- modify the path before running the script
Code:
PATH+=:.
For the long term I think I will put up a warning to this effect if RtmpSrv is not on the PATH.

Last edited by svnpenn : 10-08-2012 at 11:43 AM.
Reply With Quote
  #54  
Old 10-08-2012, 11:13 AM
xrspook xrspook is offline
Junior Member
 
Join Date: Oct 2012
Posts: 2
xrspook is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


Quote:
Originally Posted by svnpenn View Post
- move RtmpSrv to the PATH, for example C:\cygwin\usr\local\bin\rtmpsrv.exe
not only rtmpsrv.exe but also rtmpdump.exe should move to PATH!

finally, i got this!!!

Code:
$ ./rtmp-host.sh
Killed flash player for clean dump. Hosts file reset.
Restart video then press enter here.

127.0.0.1 bcvideos.wwe.com
127.0.0.1 cp95906.edgefcs.net
Press enter to start RtmpSrv, then restart video.

RTMP Server v2.4-41-g7bae82a
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

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

ERROR: Handshake failed
Closing connection... done!

RTMPDump v2.4-41-g7bae82a
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump -r "rtmpe://bcvideos.wwe.com:1935/wwevideo?videoId=1859320248001&lineUpId=&pubId=97927511001&playerId=1511047392001&affiliateId=" -a "wwevideo?videoId=1859320248001&lineUpId=&pubId=97927511001&playerId=1511047392001&affiliateId=" -f "WIN 11,4,402,265" -W "http://admin.brightcove.com/viewer/us20121005.1247/federatedVideoUI/BrightcovePlayer.swf?uid=1349708842521" -p "http://www.wwe.com/videos/alberto-del-rio-runs-down-the-wwe-universe-in-albany-wwe-app-exclusive-26054665" -y "mp4:97927511001/97927511001_1859359273001_raw1009-2ndscrn-delrio-otunga.mp4?videoId=1859320248001&lineUpId=&pubId=97927511001&playerId=1511047392001&affiliateId=" -o 97927511001_1859359273001_raw1009-2ndscrn-delrio-otunga.flv
RTMPDump v2.4-41-g7bae82a
(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              173.45
INFO:   moovPosition          48.00
INFO:   width                 720.00
INFO:   height                404.00
INFO:   videocodecid          avc1
INFO:   audiocodecid          mp4a
INFO:   avcprofile            66.00
INFO:   avclevel              30.00
INFO:   aacaot                2.00
INFO:   videoframerate        29.97
INFO:   audiosamplerate       44100.00
INFO:   audiochannels         2.00
INFO: tags:
INFO:   ©too                 Lavf53.24.0
INFO: trackinfo:
INFO:   length                519500.00
INFO:   timescale             2997.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            avc1
INFO:   length                7649280.00
INFO:   timescale             44100.00
INFO:   language              eng
INFO: sampledescription:
INFO:   sampletype            mp4a
1688.909 kB / 32.77 sec (18.8%)
svnpenn, thank you very much~~~~~
Reply With Quote
  #55  
Old 10-11-2012, 05:37 PM
jmersh jmersh is offline
Junior Member
 
Join Date: Oct 2012
Posts: 16
jmersh is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


this looks good but how do you use it? compile it? i am a bit confused.
Reply With Quote
  #56  
Old 10-11-2012, 07:11 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 jmersh View Post
this looks good but how do you use it? compile it? i am a bit confused.
svnpenn.github.com/2012/rtmp-host
Reply With Quote
  #57  
Old 10-13-2012, 03:32 PM
jmersh jmersh is offline
Junior Member
 
Join Date: Oct 2012
Posts: 16
jmersh is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


no it breaks:

Code:
./rtmp-host.sh: line 37: rtmpsrv: command not found
sucks, I also don't see any option to add multiple links.
Reply With Quote
  #58  
Old 10-13-2012, 11:20 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 jmersh
./rtmp-host.sh: line 37: rtmpsrv: command not found
You could try, oh I dont know, reading up four posts.

Quote:
Originally Posted by svnpenn
This is a long standing issue that I never came up with a good solution for. The script is looking for RtmpSrv on the "PATH", not the current directory or even the directory with the script. For now you can fix this by doing one of these

- move RtmpSrv to the PATH, for example C:\cygwin\usr\local\bin\rtmpsrv.exe
- modify the path before running the script
Code:
PATH+=:.
For the long term I think I will put up a warning to this effect if RtmpSrv is not on the PATH.
stream-recorder.com/forum/showpost.php?p=55111&postcount=53
Reply With Quote
  #59  
Old 10-14-2012, 05:58 PM
jmersh jmersh is offline
Junior Member
 
Join Date: Oct 2012
Posts: 16
jmersh is on a distinguished road
Default

Re: rtmp-host.sh, RtmpExplorer alternative


the bash for multiple videos doesn't work.
Reply With Quote
  #60  
Old 10-15-2012, 07:26 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:
Add some checks for RtmpSrv

Added a warning for proper version of RtmpSrv. Also fix this error

rtmpsrv: command not found

This error occurs because many people put RtmpSrv in the same folder as the
script, which may or may not be on the PATH. RtmpSrv should be kept at

/usr/local/bin

If the script finds RtmpSrv in the same folder, it will move it to the proper
location.
github.com/svnpenn/etc/commit/a769
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 03:56 AM.


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