https://github.com/octoober/prepare-stream
https://github.com/octoober/prepare-stream
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/octoober/prepare-stream
- Owner: Octoober
- Created: 2023-12-10T14:27:55.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-10T23:41:45.000Z (over 1 year ago)
- Last Synced: 2023-12-11T00:28:54.597Z (over 1 year ago)
- Language: Shell
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Prepares video for streaming by dividing it into segments (Transport Stream) and producing a playlist file.
Automatically creates an `input-playlist.txt` file and fills it with the paths to the videos you want to stream
```console
sudo bash make-input-file.sh ./input
```Creates the `./results` directory, writes segments to it and creates the `./results/playlist.m3u8` file, which is needed for streaming
```console
sudo bash make-playlist.sh ./input/input-playlist.txt
```Combines `make-input-file.sh` with `make-playlist.sh`.
```console
sudo bash prepare-stream.sh ./input
```Globally installs the `make-playlist`. `make-input-file` and `prepare-stream` commands.
```console
sudo bash install.sh
```