Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
How to use rtmpsrv in WindowsHow to use rtmpsrv in Windows
Quote:
|
#2
|
|||
|
|||
Re: How to use rtmpsrv in WindowsI don't really understand how it works. May be that's because I know nothing about grep and sed.
Why do we need to get a host with grep from the plugin_container if we use rtmpsrv > rtmpsrv.txt? And where do we use the host value? Also I don't understand how the following works for changing the hosts file. Code:
cd C:\Windows\System32\drivers\etc & sed s/#// hosts > tmp & mv tmp hosts cd C:\Windows\System32\drivers\etc & sed "s/^/#/" hosts > tmp & mv tmp hosts |
#3
|
|||
|
|||
Re: How to use rtmpsrv in Windowsrtmpsrv is an integral part of rtmpexplorer. and RTMPexplorer is even easier to use than the instructions here.
So if someone wants to use rtmpsrv in Windows, i would suggest taking rtmpexplorer for that purpose OR do it in the original way: manually editing the hosts file. |
#4
|
|||
|
|||
Re: How to use rtmpsrv in WindowsQuote:
|
#5
|
|||
|
|||
Re: How to use rtmpsrv in Windowsok, i see. you want to learn. learning new things is always good, i guess. ok then. i want to learn it too.
so where is Steven? |
#6
|
|||
|
|||
Re: How to use rtmpsrv in Windowson windows you cannot just use rtmpsrv by itself. you have to:
1. modify the hosts file 2. start rtmpsrv 3. start video 4. restore host file 5. download video with rtmpdump steps 1 and 4 can be done many different ways. method 1 modify: open hosts in notepad and set it to something like this 127.0.0.1 cp27886.edgefcs.net restore: open hosts in notepad and just delete everything method 2 uncomment the hosts file, for use with running rtmpsrv and getting rtmpdump parameters cd C:\Windows\System32\drivers\etc & sed s/#// hosts > tmp & mv tmp hosts this command opens the hosts file, replace comment symbol "#" with nothing, saves to a temp file, then replaces the original host file with the temp file comment the hosts file, for use with actually downloading the file with rtmpdump cd C:\Windows\System32\drivers\etc & sed "s/^/#/" hosts > tmp & mv tmp hosts this command opens the hosts file, adds a comment symbol (#) to every line, saves to a temp file, then replaces the original host file with the temp file method 3 probably the easiest of all would be do something similar to method 2, but just wrap it in a batch file. i would go ahead and make that, but i have neglected that blog post because currently rtmpdump does not work with hulu, the only reason i used it |
#7
|
|||
|
|||
Re: How to use rtmpsrv in WindowsQuote:
the workaround is to pull the server (--host) directly from your RAM. with firefox the process for adobe is plugin-container.exe. so the idea is to create a dump file of that process after the video has loaded, then search through that file and find the server (--host) information. grep is the easiest tool to do that. once you have the (--host), modify the hosts file and boom, rtmpsrv working. the fact is you can actually find all the rtmpdump parameters in the dump file, and you do not even need to use rtmpsrv. i choose to use it because it seems easier to find the host then to sift through and try to figure out all the other rtmpdump parameters. |
#8
|
|||
|
|||
Re: How to use rtmpsrv in WindowsThanks a lot, Steven!!! This was really helpful and educational!
|
#9
|
|||
|
|||
Re: How to use rtmpsrv in WindowsThis procedure seems incomplete. where does it pushes the detected host to hosts file.
Code:
cd C:\Windows\System32\drivers\etc & sed s/#// hosts > tmp & mv tmp hosts cd C:\Windows\System32\drivers\etc & sed "s/^/#/" hosts > tmp & mv tmp hosts |
#10
|
|||
|
|||
Re: How to use rtmpsrv in WindowsQuote:
And when there's some actual download task to do, call me. I'll then take out my GetFLV and download the stream, no prob. |
Tags: rtmpsrv, windows |
Thread Tools | |
Display Modes | |
|
|