CJBurkey

LISTEN_FOR_STREAM.bat

Feb 7th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.66 KB | None | 0 0
  1. :: This script will listen for a stream started by this script: https://pastebin.com/VLB9WgwH
  2. :: Make sure the IP in your STARTVID.sh file matches the ip of this computer.
  3.  
  4. :: If Windows ask you to allow this through firewall, YOU HAVE TO CLICK YES.
  5. :: If you deny it access, you will have to move this to another folder and try again, or disable firewall all-together,
  6. :: It only asks the FIRST TIME YOU RUN, and will not ask again, even if you click no.
  7. :: As previously stated, if you click no, move this script and associated resources to another folder and try again.
  8. :: You cannot move it back to this location if this occurs, so be careful to click allow the very first time.
  9.  
  10. :: This script will require both the "MPlayer-x86_64-r38005+g6d00905f81" folder and the "netcat-win32-1.12" folder to be present in the directory of this batch file. A zip file containing both can be found here: https://bit.ly/2GSz4gd
  11. :: (That link is safe, I created it to link to a DropBox download that contains the necessary programs)
  12.  
  13. :: Usage: Double click this file on the Windows computer listening for the stream BEFORE you launch the stream script.
  14.  
  15. :: Customize:
  16. ::   p: This is the port, change it to what you have set in your streaming script.
  17. ::   fps: 31 seems to work best, it's best not to change it.
  18. ::   cache-min: The minimum percentage of the cache that should be filled.
  19. ::   cache: How much ram should be allocated for the stream
  20. ::   vo: The method for displaying the stream, direct3d uses native graphics and is probably the fastest.
  21.  
  22. netcat-win32-1.12\nc64.exe -L -p 5000 | "MPlayer-x86_64-r38005+g6d00905f81/mplayer.exe" -vo direct3d -fps 31 -cache-min 50 -cache 2048 -
Add Comment
Please, Sign In to add comment