Skip to content

rihwan/local_video_streaming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Local Video Streaming

Local video streaming is a simple open-source video streaming server using Node.js / express / UIkit. This server allows video streaming server in your local network (intranet / in-home network).

Installation

  1. Download and install Node.js
  2. Clone Local Video Streaming Code
  3. Open a terminal (Linux) or a command prompt (Windows)
  4. Go to the cloned directory
  5. Install requirements by calling npm install

Usage

  1. Open a terminal (Linux) or command prompt (Windows)
  2. Go to the cloned directory
  3. Check your computer's IP address and choose your own port
    • Find your computer's IP address using
      • ifconfig (Linux) or ipconfig (Windows)
    • Choose your own port (e.g., 3000)
  4. Create your own config.json file
    • Copy config_template.json file, and change the content (server ip, port, local video directory, etc).
  5. Run server by
    • npm start <<<Your config file>>>
  6. Access your local streaming webpage in any devices in your local network
    • http://<<<IP address>>>:<<<port>>>

How to create screenshots

  1. Python3 is needed as a pre-requisite.
  2. Install ffmpeg (ffmpeg should be added in PATH)
  3. Open a terminal (Linux) or command prompt (Windows)
  4. Go to tools directory under the cloned directory
  5. Run the recursive screen capture script
    • python recursively_capture_screenshot.py <<<local video directory>>>
    • This will take some time depending on the number of videos in the given directory.

Supported Video File Formats

  1. MP4
  2. MOV
  3. WEBM

License

MIT

This project is completely free of charge, use, copy, merge, publish and distribute without any limitations.

About

Local video streaming or In-home streaming

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published