Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/orthdron/subatic-transcoding
Video to HLS converter
https://github.com/orthdron/subatic-transcoding
ffmpeg hls python video-encoder video-processing
Last synced: 4 months ago
JSON representation
Video to HLS converter
- Host: GitHub
- URL: https://github.com/orthdron/subatic-transcoding
- Owner: orthdron
- License: gpl-3.0
- Created: 2024-08-04T02:28:38.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-10-08T01:41:54.000Z (4 months ago)
- Last Synced: 2024-10-13T08:22:27.989Z (4 months ago)
- Topics: ffmpeg, hls, python, video-encoder, video-processing
- Language: Python
- Homepage: https://subatic.com
- Size: 50.8 KB
- Stars: 12
- Watchers: 1
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Subatic Transcoder
Subatic Transcoder is a tool designed for media transcoding. It offers flexibility in deployment, allowing you to use either a Docker container or Ansible to deploy it on your servers. This README provides the necessary information to get started with both methods.
## Deployment Options
### 1. Docker Container
To deploy Subatic Transcoder using Docker, follow these steps:
1. Clone the repository:
```sh
git clone https://github.com/orthdron/subatic-transcoder.git
cd subatic-transcoder
```2. Build the Docker image:
```sh
docker build -t subatic-transcoder .
```3. Run the Docker container:
```sh
docker run -d --env-file .env subatic-transcoder
```### 2. Ansible Deployment
To deploy Subatic Transcoder using Ansible, follow these steps:
1. Clone the repository:
```sh
git clone https://github.com/orthdron/subatic-transcoder.git
cd subatic-transcoder/ansible
```2. Update the `hosts` file with your server details.
3. Run the Ansible playbook:
```sh
ansible-playbook -i hosts playbook.yml
```## Configuration
A sample environment file is provided below. Update it with your specific details and save it as `.env` in the root directory of your project.
```plaintext
# Enable or disable SQS
ENABLE_SQS=false
SQS_URL=YOUR_SQS_URL# Download bucket configuration
RAWFILES_S3_ENDPOINT=http://localhost:9000
RAWFILES_S3_ACCESS_KEY_ID=YOUR_RAWFILES_S3_ACCESS_KEY_ID
RAWFILES_S3_SECRET_ACCESS_KEY=YOUR_RAWFILES_S3_SECRET_ACCESS_KEY
RAWFILES_S3_REGION=YOUR_RAWFILES_S3_REGION
RAWFILES_S3_BUCKET=YOUR_RAWFILES_BUCKET_NAME# Upload bucket configuration: Can be same as download if public
PROCESSED_S3_ACCESS_KEY_ID=YOUR_PROCESSED_S3_ACCESS_KEY_ID
PROCESSED_S3_SECRET_ACCESS_KEY=YOUR_PROCESSED_S3_SECRET_ACCESS_KEY
PROCESSED_S3_REGION=YOUR_PROCESSED_S3_REGION
PROCESSED_S3_BUCKET=YOUR_PROCESSED_BUCKET_NAME
PROCESSED_S3_ENDPOINT=YOUR_PROCESSED_S3_ENDPOINT# Webhook configuration
WEBHOOK_URL=http://localhost:3000/
WEBHOOK_TOKEN=YOUR_WEBHOOK_TOKEN
```More detailed documentation will be available soon. For any bugs, please report them using GitHub Issues.
If you have questions, feel free to reach out:
- [Contact on X](https://x.com/orthdron)