Skip to content

iamtakagi-lab/videos

Repository files navigation

videos

A Video Streaming Server that people watch on Browser feat uploader and yt-dlp with supports MPEG2-TS and HTML5 Player

Features

Supporting Media Formats

  • .ts
  • .m2ts
  • .mp4
  • .webm

Upload Limit

See a .env and edit it.

References

FFmpeg

Version: 5.0.1

yt-dlp

Version: Latest

mpegts.js

Using this Fork and Build

Get Started

docker-compose up -d --build

docker-compose.yml (example)

version: '3.8'

services:
  app:
    container_name: videos
    image: videos:latest
    build: 
      context: .
      dockerfile: Dockerfile
    volumes:
      - ./storage:/app/storage:rw
      - ./thumbnail:/app/thumbnail:rw
    env_file:
      - .env
    environment:
      - TZ=Asia/Tokyo
      - LANG=ja_JP.UTF-8
      - PORT=3000
    networks:
      - default
    ports:
      - 3000:3000
    restart: unless-stopped

.env

ADMIN_USER=hoge
ADMIN_PASS=foo
UPLOAD_LIMIT_MB=1000
SITE_BASEURL=https://foo.com

Run Development Server

yarn dev

Build

Bundle by Webpack and Copy built mpegts.js

yarn build

Start as Production Mode

node app.js

LICENSE

MIT License.

About

動画配信する何か

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors