https://github.com/webini/transco-service
transcoding service
https://github.com/webini/transco-service
Last synced: about 1 year ago
JSON representation
transcoding service
- Host: GitHub
- URL: https://github.com/webini/transco-service
- Owner: Webini
- Created: 2017-01-08T18:28:09.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-08T18:41:46.000Z (over 9 years ago)
- Last Synced: 2025-02-06T19:47:37.520Z (over 1 year ago)
- Language: JavaScript
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
API
===
## /processable
### POST
#### Parameters
```json
{
"preset": " media preset"
}
```
#### Description
Determine if the given preset is processable or not
#### Return 200
```json
{
"success": true,
"data": {
"processable": ""
}
}
```
Config
======
Put your transcoder configuration in the directory `config` at the root of this project,
then pass the configuration name to env variable `CONFIG_NAME`.
Env
===
Variable | Default | Description
-------- | ------- | -----------
RABBITMQ_URL | amqp://localhost | RabbitMQ url
RABBITMQ_TRANSCODING_EXCHANGE | transcoding | Transcoding exchange, it will received transcoding status messages
LISTEN_QUEUE_NAME | transco-service | Queue name where the transcoding tasks are sent
LISTEN_ROUTING_KEY | process.default | Routing key to watch
CONFIG_NAME | default | Config name
STORAGE_PATH | /mnt/data | Storage path, where the file to transcode are located
TRANSCODED_PATH | /mnt/transcoded | Storage where the transcoded file must be created