 Re: How to use rtmpsrv in Windows
on 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
|