This commit is contained in:
Sami Salkosuo 2020-04-14 15:36:42 +03:00
parent 15ee2509f7
commit bd0ab5ad37

View File

@ -1,6 +1,6 @@
= FFMPEG API
An web service for converting audio/video/image files using FFMPEG.
A web service for converting audio/video/image files using FFMPEG.
Based on:
@ -51,13 +51,19 @@ the link:src/endpoints.js[src/endpoints.js] file.
* Run image in background:
** `docker run -d --name ffmpeg-api -p 3000:3000 kazhar/ffmpeg-api`
=== Logging
=== Environment variables
Default log level is INFO. Set log level using environment variable.
Default log level is INFO. Set log level using environment variable, _LOG_LEVEL_.
- Set log level to debug:
- `docker run -it --rm -p 3000:3000 -e LOG_LEVEL=debug kazhar/ffmpeg-api`
Default maximum file size of uploaded files is 512MB. Use environment variable _FILE_SIZE_LIMIT_BYTES_ to change it:
- Set max file size to 1MB:
- `docker run -it --rm -p 3000:3000 -e FILE_SIZE_LIMIT_BYTES=1048576 kazhar/ffmpeg-api`
== Background
Originally developed by https://github.com/surebert[Paul Visco].