View Single Post
  #1  
Old 01-26-2011, 01:10 AM
srpenn82 srpenn82 is offline
Banned
 
Join Date: Dec 2010
Posts: 29
srpenn82 is on a distinguished road
Default

How to use rtmpsrv in Windows


How to use rtmpsrv in Windows
Quote:
Originally Posted by srpenn82.blogspot.com/2011/02/rtmpsrv.html
  1. put grep.exe and sed.exe into the same folder as rtmpdump.exe
  2. Find the Host
    1. Windows Task Manager
      right click plugin-container.exe > Create Dump File
    2. get host
      Code:
      grep -Pao rtmp.{40} plugin-container.DMP | sort -u
  3. start monitoring
    Code:
    rtmpsrv > rtmpsrv.txt
  4. edit hosts file
    Code:
    cd C:\Windows\System32\drivers\etc & sed s/#// hosts > tmp & mv tmp hosts
  5. start the audio/video stream
  6. after rtmpsrv captures the parameters kill the processes
    Code:
    taskkill /im plugin-container.exe /im rtmpsrv.exe /f
  7. restore hosts file
    Code:
    cd C:\Windows\System32\drivers\etc & sed "s/^/#/" hosts > tmp & mv tmp hosts
  8. the command to download the video will be in the text file
    Code:
    rtmpdump --verbose --flv output.flv  
    --swfVfy  http://www.hulu.com/player.swf --rtmp  
    rtmpe://hulufs.fplive.net --app   
    "hulu/593/50111593?sessionid=0BFAD9DD35D19ED8B6CB274534A8BFE3&token=c3RhcnRfdGltZT0yMDExMDEyNjA3NTEzMCZlbmRfdGltZT0yMDExMDEyNjA3NTQzMCZkaWdlc3Q9NDllOWMwNWQzODlhN2E0M2ZmMTZjNzM4ZGFjMTY4YTY=&mbr=1&hgt=OZU7Pvs7j27-nhteNno7wh2rW2KI7E9RRATmcsvy_NF5xCHAoM7C8u_J91OZBxBR9DnvqD7raxmXD1j6B_Vd8D0KoHAe6m0_yAr8olsIPsaw9xk756zhNlD5YwyJ2Sp_1zr6BoZJszElO98gvx-Fiaas94sNlr65RihN6nJmzBAJKF6_xuXsDvJlBGskVLT5pKYys4g8MS46syG8YG_N81peD_6dR_Y1YdXHPWg6q6fT7Tt8ycDp7ogMw0xHWRwTRQcpP6y_lXKjoQYOXIYIrg==&hgt_ver=331370278"
      --playpath mp4:agave50111593_4261809_H264_1000.mp4
rtmpdump might not work if BitTorrent is running. with Hulu you have 3 minutes to make a connection with rtmpdump after the video has started
Reply With Quote