A simple web server built on Node.js (express, ejs) to view videos. All requests are done asynchronously using fetch API.
The purpose of this project is for me to view my video files with any device; especially Anime.
An improved version of /jakelaurencesantiago/VideoStreamWebServer
- Install Node.js (requires at least v10.10)
- Place the files in a directory of your choice
- Open a terminal, navigate to the project directory
- Install required npm packages:
npm install express ejs body-parser
- Start the web server to test
node main.js
- Open a browser then go to http://localhost:7000
- Download ffmpeg from https://ffmpeg.zeranoe.com/builds/
- Follow installation guide for Windows https://video.stackexchange.com/questions/20495/how-do-i-set-up-and-use-ffmpeg-in-windows
- Install Node.js (if not yet installed)
- Open a terminal, navigate to the project directory
- Run thumbnail_generate.js
node thumbnail_generate.js
This will generate png files of your mp4 files in the videos folder. Generated png files will be found in the same location as the video file.