2016-07-03 16:01:27 +02:00
|
|
|
ffmpeg
|
|
|
|
======
|
|
|
|
|
|
|
|
![](https://badge.imagelayers.io/vimagick/ffmpeg:latest.svg)
|
|
|
|
|
2016-07-07 12:17:27 +02:00
|
|
|
[FFmpeg][1] is a complete, cross-platform solution to record, convert and stream audio and video.
|
|
|
|
|
2016-07-03 16:01:27 +02:00
|
|
|
## Tutorial
|
|
|
|
|
2016-07-07 12:17:27 +02:00
|
|
|
```bash
|
|
|
|
# Create an alias
|
2016-07-03 16:01:27 +02:00
|
|
|
$ alias ffmpeg='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data vimagick/ffmpeg'
|
|
|
|
|
2016-07-07 12:17:27 +02:00
|
|
|
# Do video transcoding
|
2016-07-03 16:01:27 +02:00
|
|
|
$ ffmpeg -i video.mov video.mp4
|
|
|
|
```
|
2016-07-07 12:17:27 +02:00
|
|
|
|
|
|
|
## Todo List
|
|
|
|
|
|
|
|
- [ ] Re-compile with fontconfig/freetype enabled to support text overlay.
|
|
|
|
|
|
|
|
[1]: http://ffmpeg.org/
|