||4 years ago|
|control||4 years ago|
|liq||4 years ago|
|.editorconfig||4 years ago|
|.gitignore||4 years ago|
|README.md||4 years ago|
|index.js||4 years ago|
|package-lock.json||4 years ago|
|package.json||4 years ago|
This project is an attempt at continuous video streaming with Liquidsoap in order to create a basic WebTV type of stream.
Included is a simple scheduling system which also draws a schedule over the fallback (default) stream.
It streams video to a configured RTMP server, m'kay?
gstreamer- I'm not sure which plugins you actually need, but I just install
gstreamer1.0-plugins-*and it usually does the trick
theoraocaml modules in addition to
- youtube-dl to queue videos from websites like YouTube.
- An RTMP server
- (optional) A Google Calendar for your events, along with an API key from here
- Some patience and knowledge on how to Google your errors
- A relatively good machine that can handle continuous decoding and encoding of video
- ..just sheer luck tbh
Installation & Running
- Follow the requirements
- Clone this repository
- Start the application using
When running the application for the first time, it will create a
config.json file that you'll have to modify.
The Node application features command line commands that you can input.
restart- Start/stop/restart Liquidsoap
queue- Queue a file, or pretty much anything supported by
skip- Skip the currently playing media
status- Reports the status of your Liquidsoap process
events- Refreshes your calendar
reload- Reloads the configuration file
You can safely exit the application via
SIGINT for you nerds out there.
You just need a Google calendar and an API key. To schedule a queue, simply put
$: followed directly by the media (e.g. a YouTube URL) you want queued when the event starts in the event's description. The first line in the description is also used in the schedule overlay.
License & Credits
This project is licensed under CC0. Feel free to modify and redistribute as you please.
Some bits and pieces of code were "borrowed" from Parasprite Radio. Go check it out.
It doesn't F***ING work!!!!!11!
Read point 8 in Requirements.
My CPU is on fire!!!
You're actively decoding and encoding video, wtf are you screaming at me for?