svnpenn
05-18-2012, 10:21 PM
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.
rtmpte://cp97384.edgefcs.net
Enter the host
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
Josan420
05-19-2012, 10:03 AM
:confused: can u please give some more instructions for on how to use it with CYGWIN
drbmn
05-19-2012, 10:07 AM
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
bat999
05-19-2012, 02:00 PM
Any suggestions welcome.
What about a linux version?
:)
svnpenn
05-19-2012, 06:45 PM
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.
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.
drbmn
05-20-2012, 02:42 AM
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.
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 ?
:o
svnpenn
05-20-2012, 08:34 AM
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?
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.
drbmn
05-20-2012, 10:03 AM
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?
svnpenn
05-20-2012, 10:16 AM
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.
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"
drbmn
05-20-2012, 10:39 AM
Thanks, it seems to work now.
greenythebeast
05-21-2012, 07:05 PM
Any possibilities of getting this to work on a Mac?
svnpenn
05-21-2012, 08:55 PM
Any possibilities of getting this to work on a Mac?
Youd have to find the analog to ProcDump for Mac.
Edit
I really didnt write this script to be some great cross platform tool. It works for me and I would be remiss if I didnt share it with the Windows users struggling with RtmpExplorer.
compn
05-22-2012, 05:36 AM
on mac and linux you can just use rtmpsrv or rtmpsuck since those OS have the ability to redirect ports. (well i havent tested on mac, but i know linux works)
greenythebeast
05-22-2012, 07:19 AM
on mac and linux you can just use rtmpsrv or rtmpsuck since those OS have the ability to redirect ports. (well i havent tested on mac, but i know linux works)
Unfortunately no one has been able to get rtmpsrv working on a Mac, ipfw port redirecting just makes the OS hang and crash :(
svnpenn
05-22-2012, 06:49 PM
Unfortunately no one has been able to get rtmpsrv working on a Mac
If I was using Mac I would start with this
stackoverflow.com/a/2839743
Josan420
05-25-2012, 04:10 AM
hey svnpenn please help me
please tell me how to use it?:( :confused:
is i have to compile it with rtmpdump source or ?
Josan420
05-25-2012, 09:29 AM
ok i find SH.exe file in my cygwin directry and host file in system32/driver/etc. now i don't know how to proceed?:confused:
i also downloaded procdump.
svnpenn
05-25-2012, 05:20 PM
ok i find SH.exe file in my cygwin directry and host file in system32/driver/etc. now i don't know how to proceed?:confused:
i also downloaded procdump.
svnpenn.github.com/2012/05/rtmp-host
Edit
Can a Mod put this in the main post? Thanks.
svnpenn.github.com/2012/05/rtmp-host
Edit
Can a Mod put this in the main post? Thanks.
+1000
Stream Ripper
05-28-2012, 02:49 AM
added http://svnpenn.github.com/2012/05/rtmp-host to main post :)
Josan420
05-29-2012, 03:18 AM
Use rtmp-host.sh
why don't u post a complete instuction on how to install and use rtmp-host.sh, because many people don't know how to use it. only experts can undertstand instructions provided by u:(
svnpenn
05-29-2012, 05:50 AM
why don't u post a complete instuction on how to install and use rtmp-host.sh
svnpenn.github.com/2012/05/rtmp-host
Josan420
05-29-2012, 08:57 AM
i have downloaded evrything
is i have to place rtmpdump, procdump and rtmp-host.sh in same folder?
streamviewer
06-03-2012, 08:54 AM
Hello,
I Have some questions about "rtmp-host.sh", because I can´t find an "installation-documentation by hand" and I have no experience with "Cygwin":
I have installed "Cygwin" on my root-directory ( C:\cygwin ).
Wich packets are necessary, or I need all packets to use "rtmp-host.sh" ???
In wich directory I need to copy the "procdump.exe" ???
In wich directory I need to copy the "RtmpDump" ???
In wich directory I need to copy the "RtmpSrv" ???
In wich directory I need to copy the "rtmp-host.sh" ???
streamviewer
Svenstream
06-04-2012, 05:44 PM
For all waiting people!
I´ve given a little advice HERE (http://stream-recorder.com/forum/showpost.php?p=47135&postcount=4)!
No support with his own projects, but great comments in other threats!
Perhaps you are good in scripting, but your social skills ...
My best whishes!
EDIT:
I believe you can forget any suport from "svnpenn"!
You can read it here:
http://stream-recorder.com/forum/get-videos-mlsp-com-but-copy-protected-t12725.html
It is not my responsibility to help you or anyone else. If I do so it is for my own pleasure.
These users cant understand Bash or the system PATH, fundamentals of a proper command line experience. As KSV says, may God help them.
I make a little video-tutorial at the weekend!
Svenstream
Josan420
06-05-2012, 05:32 AM
Svenstream:) :) u r right
I make a little video-tutorial at the weekend!
Svenstream
thanks
please post video link when u finish it:)
svnpenn
06-05-2012, 08:53 AM
For all waiting people!
I´ve given a little advice HERE (http://stream-recorder.com/forum/showpost.php?p=47135&postcount=4)!
No support with his own projects, but great comments in other threats!
Perhaps you are good in scripting, but your social skills ...
My best whishes!
EDIT:
I believe you can forget any suport from "svnpenn"!
Do you think you are going to guilt me into helping you? Your snide remarks and spelling errors do little more than to embarrass you.
Svenstream
06-05-2012, 01:19 PM
Do you think you are going to guilt me into helping you? Your snide remarks and spelling errors do little more than to embarrass you.
Is it time now, to search for "spelling errors" ?! :D
No more arguments at this point ?!? :D :p
I'll make you an offer:
We can talk in MY mother language now and then I count your "spelling errors"!
That´s a lot of fun! We have a lot of special rules and cases!
Example: (Iam sure specially you found the right answer! :D )
Whats the right phrase:
A) Das kleinkarierte Hans Wurst
B) Die kleinkarierte Hans Wurst
C) Der kleinkarierte Hans Wurst
Perhaps you can translate this:
"Ich habe auch gar nichts gegen Amerika, es ist ein wunderschönes Land. Das Problem sind die Menschen, die dort leben."
(Volker Pispers) "A german political cabaret artist"
Iam sure you found a lot of "spelling errors" from me, but you understand me :D
You can keep them all!
No results and support for his own products, but he talked about my "spelling errors"!
No other problems ??? :rolleyes:
My best whishes!
Svenstream
svnpenn
06-05-2012, 02:17 PM
We can talk in MY mother language now and then I count your "spelling errors"
My apologies. I believe you are looking for the german forum.
Best wishes
stream-recorder.com/forum/german-deutsch-audio-und-video-streams-aufnehmen-f59.html
greenythebeast
06-05-2012, 02:18 PM
Can you guys stop acting like children? It's embarrassing.
Svenstream
06-05-2012, 03:49 PM
My apologies. I believe you are looking for the german forum.
Best wishes
stream-recorder.com/forum/german-deutsch-audio-und-video-streams-aufnehmen-f59.html
Thank you very much! Iam waiting so long for this ...
My apologies.
I know you are a good guy and you know deep inside your haert it was a mistake, to start with "spelling errors" and the other shit!
I think it´s time for a big big hug!
Ahhh, that feels good! ;)
And now, with this new power you can use this place, to give support, for your own projekts.
Svenstream
svnpenn
06-05-2012, 03:56 PM
svnpenn
06-06-2012, 02:14 AM
github.com/svnpenn/dotfiles/commit/74ee
Dump non-live and live commands to capture file
Previous version would simply dump command directly from RtmpSrv. I found this
to be a problem because even with KSV RtmpSrv, not all live streams are being
detected, e.g.
http://showtvnet.com/player/index.asp?ptype=1
rtmp-host will now simply dump a non-live and live command. If the non-live
fails then the live will be tried.
svnpenn
06-07-2012, 07:17 PM
github.com/svnpenn/dotfiles/commit/6806
Remove ProcDump dependency
Previous versions of rtmp-host.sh were relying on 3rd party program ProcDump to
create process dumps of plugin-container.exe. I realized that this can be done
with "dumper.exe", a standard Cygwin tool.
NOTE
"dumper.exe" requires a 32-bit Firefox.
IrenePappel
06-10-2012, 01:45 PM
I love rtmp-host.sh, I'm using it to download all Nick Jr. MP4s for my children in higher resolution (with RTMPEXplorer I can only get the low res version).
One issue: I've just noticed that my hosts file is empty since it was modified by rtmp-host.sh. Somehow it was not restored to the original state. Now a few of my registered applications are not registered anymore...;)
So to all users (especially the people who are "using" the hosts file for whatever reasons...): Be careful to check that it is always been restored properly.
Do I have the chance to find my old hosts file somewhere in the system or is is lost now? I had various important entries in there and it would be a bit annoying.
svnpenn
06-10-2012, 03:52 PM
I've just noticed that my hosts file is empty since it was modified by rtmp-host.sh. Somehow it was not restored to the original state. Now a few of my registered applications are not registered anymore
I dont use my hosts file for such purposes. To fix this you could make a backup beforehand
$ cp hosts hosts-backup
$ printf "127.0.0.1 host.host.com" > hosts
$ cp hosts-backup hosts
Svenstream
06-10-2012, 04:08 PM
Sorry guys,
I ´ve believed that the script worked and that is possible to create a fast video-tutorial but ...
The script worked not for me!
Example-URL:
http://www.zdf.de/ZDFmediathek/hauptnavigation/startseite/#/beitrag/video/257404/heute-100SEC
1. Press enter after video starts
At this point "dumper.exe" dumps all rtmp-urls.
2. Enter host
In my case:
cp125301.edgefcs.net
I believe "rtmp-host.sh" OVERWRITE and not EDIT my hosts-file!
http://img7.imagebanana.com/img/vdbe1rgb/thumb/hosts.png (http://www.imagebanana.com/view/vdbe1rgb/hosts.png)
3. Press enter to start RtmpSrv, then restart video.
I press "enter and I restart the video.
Now "rtmpsrv.exe" creates the right rtmpdump-commandline
but "rtmp-host.sh" dont delete the entry, in my hosts-file!
4. RTMPDUMP will try to start but thats impossible!
Result (No miracle, the entry is still in my hosts-file):
http://s13.postimage.org/mgg0mcoib/compare01.jpg (http://postimage.org/image/mgg0mcoib/)
RTMPDump v2.4-34-g30cf8a8
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
Closing connection... done!
INFO: Connected...
ERROR: WriteN, RTMP send error 10054 (42 bytes)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
rtmpdump -r "rtmp://cp125301.edgefcs.net:1935/ondemand" -a "ondemand" -f "WIN 11,2,202,235" -W "http://www.zdf.de/ZDFmediathek/flash/Main.swf?version=2123" -p "http://www.zdf.de" -y "mp4:zdf/12/06/120610_2002_hko_vh.mp4" -o 120610_2002_hko_vh.flv
WARNING: Trying different position for client digest!
Closing connection... done!
I create in the next days a simple video-Tutorial with the classic way WITHOUT "rtmp-host.sh"!
Perhaps is RTMPDUMPhelper (http://www.nirsoft.net/utils/rtmp_dump_helper.html) better ???
Thank you for the advice, svnpenn :)
Svenstream
svnpenn
06-10-2012, 04:24 PM
http://www.zdf.de/ZDFmediathek/hauptnavigation/startseite/#/beitrag/video/257404/heute-100SEC
RTMP Server v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Closing connection... done!
RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
rtmpdump -r "rtmp://cp125301.edgefcs.net:1935/ondemand" -a "ondemand" -f "WIN 11
,1,102,55" -W "http://www.zdf.de/ZDFmediathek/flash/Main.swf?version=2123" -p "h
ttp://www.zdf.de/ZDFmediathek/hauptnavigation/startseite/#/beitrag/video/257404/
heute-100SEC" -y "mp4:zdf/12/06/120610_2002_hko_vh.mp4" -o 120610_2002_hko_vh.fl
v
qConnecting ...
INFO: Connected...
Closing connection... ERROR: WriteN, RTMP send error 10054 (42 bytes)
done!
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
q
Exiting
RTMPDump v2.4-34-g7340f6d
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting download at: 0.000 kB
INFO: Metadata:
INFO: duration 116.24
INFO: moovPosition 32.00
INFO: width 852.00
INFO: height 480.00
INFO: videocodecid avc1
INFO: audiocodecid mp4a
INFO: avcprofile 77.00
INFO: avclevel 30.00
INFO: aacaot 2.00
INFO: videoframerate 25.00
INFO: audiosamplerate 48000.00
INFO: audiochannels 2.00
INFO: tags:
INFO: cprt-deu (c) 2012 ZDF
INFO: trackinfo:
INFO: length 116240.00
INFO: timescale 1000.00
INFO: language deu
INFO: sampledescription:
INFO: sampletype avc1
INFO: length 5577726.00
INFO: timescale 48000.00
INFO: language deu
INFO: sampledescription:
INFO: sampletype mp4a
INFO: length 10461600.00
INFO: timescale 90000.00
INFO: language und
INFO: sampledescription:
INFO: length 5581824.00
INFO: timescale 48000.00
INFO: language und
INFO: sampledescription:
1155.901 kB / 6.12 sec (5.2%)
svnpenn
06-18-2012, 12:58 AM
github.com/svnpenn/dotfiles/commit/9ea4
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, 12:52 AM
github.com/svnpenn/dotfiles/commit/d1af
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
svnpenn
06-25-2012, 02:41 AM
github.com/svnpenn/etc/blob/master/rtmp-host.sh
New link, moderator please update.
svnpenn
07-01-2012, 05:46 PM
github.com/svnpenn/etc/commit/a712
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
svnpenn
07-08-2012, 01:41 AM
github.com/svnpenn/etc/commit/fef0
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
svnpenn
07-23-2012, 01:34 PM
github.com/svnpenn/etc/commit/9eda
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
svnpenn
07-27-2012, 10:50 PM
github.com/svnpenn/etc/commit/977c
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
louieg
08-08-2012, 11:07 PM
I'm using this method to access hbogo without success. Link
http://www.hbogo.com/#series/video&assetID=GOROSTGP25853?videoMode=embeddedVideo?show SpecialFeatures=false/
This is what I get in the Cygwin terminal:
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=613ce7c1934202645d90132b86a0676e77a02f878ee4 fd514b791c9105ff7abd" -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?show SpecialFeatures=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=613ce7c1934202645d90132b86a0676e77a02f878ee4 fd514b791c9105ff7abd' -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?show SpecialFeatures=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! :confused:
svnpenn
08-08-2012, 11:25 PM
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.
louieg
08-08-2012, 11:41 PM
Thanks for the prompt response. I had my hopes up because Chap had success one week ago, see:
http://stream-recorder.com/forum/showpost.php?p=50324&postcount=5
I guess they've been busy implementing the change this week. If anyone has any suggestions for any other methods, please post.
Thanks for the prompt response. I had my hopes up because Chap had success one week ago, see:
http://stream-recorder.com/forum/showpost.php?p=50324&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
svnpenn
10-02-2012, 05:17 PM
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
xrspook
10-08-2012, 06:58 AM
i use Cygwin + rtmp-host.sh try to download
http://www.wwe.com/videos/alberto-del-rio-runs-down-the-wwe-universe-in-albany-wwe-app-exclusive-26054665
but this happened...
./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 :)
svnpenn
10-08-2012, 07:37 AM
./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
PATH+=:.
For the long term I think I will put up a warning to this effect if RtmpSrv is not on the PATH.
xrspook
10-08-2012, 10:13 AM
- 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!!!
$ ./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~~~~~
jmersh
10-11-2012, 04:37 PM
this looks good but how do you use it? compile it? i am a bit confused.
svnpenn
10-11-2012, 06:11 PM
this looks good but how do you use it? compile it? i am a bit confused.
svnpenn.github.com/2012/rtmp-host
jmersh
10-13-2012, 02:32 PM
no it breaks:
./rtmp-host.sh: line 37: rtmpsrv: command not found
sucks, I also don't see any option to add multiple links.
svnpenn
10-13-2012, 10:20 PM
./rtmp-host.sh: line 37: rtmpsrv: command not found
You could try, oh I dont know, reading up four posts.
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
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
jmersh
10-14-2012, 04:58 PM
the bash for multiple videos doesn't work.
svnpenn
10-15-2012, 06:26 AM
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
someguy9
01-06-2013, 12:30 PM
Is rtmp-host.sh not available anymore? I tried to access the following link, but it came back file not found.
http://github.com/svnpenn/etc/blob/master/rtmp-host.sh
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.