Xen Stream is a very lightweight, zero setup video streaming web app with video zoom and configurable subtitle. No login, no transcoding, no confusing settings, just put your videos in a folder and watch right away!
- Video MUST be in .mp4 / .mkv format
- Subtitle MUST be in .srt / .vtt format
- Most browsers DO NOT support .mkv format. You can convert .mkv to .mp4 with
ffmpeg -i input.mkv -c:v libx264 -c:a aac output.mp4 - Read Potential issues
Simply run docker compose up -d
npm installnpm run buildnpm run startIf you have installed and built it before, you can just run it immediately withnpm run start
- Place any video inside the
videosfolder - Place the subtitle (.srt/.vtt) file inside the
videosfolder, the subtitle file name MUST be in ALL LOWER CASE and match the video name e.g.newvideo.mp4andnewvideo.mkvwill loadnewvideo.srtornewvideo.vttfor it's subtitle - Open the web page, you can now select which video you want to watch from the dropdown menu. Changing subtitle size is also supported
Most browser only support x264 for video encoding and AAC for audio. If the video won't play it's either:
- Bitrate too high = use lower bitrate videos (nothing more than 1080p), lower the video bitrate with
ffmpeg -b:v ...command or just use it locally as a web video player - Incompatible audio/video codec = convert with:
ffmpeg -i input.mkv -c:v libx264 -c:a aac output.mp4