A simple RTMP streaming TV station in Bash. Uses FFMPEG.
Go to file
Matt McWilliams 7be5c09934 Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00
.gitignore Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00
README.md Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00
common.sh Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00
default.env Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00
encode.sh Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00
tv.sh Work in progress. Most of concept fleshed out 2022-12-28 11:41:42 -05:00

README.md

Bash TV

A simple RTMP streaming TV station in Bash.

Dependencies

  • Bash
  • ffmpeg
  • sqlite3

Scripts

tv.sh

This script runs the TV station by looping over a collection of files in a directory and playing them randomly until they have all been played one time.

encode.sh

This script can be run on a cronjob to detect new video files and re-encode them for playback in the tv station.

.env

This configuration file contains the environment variables that are used by the other scripts to operate the streaming station.

common.sh

Script containing common helper functions and environment configuration scripts used between the tv.sh and encode.sh scripts.