- built under Debian, so all codecs can be enabled - binaries are installed in a scratch container for a smaller download...no distro overhead
25 lines
715 B
Markdown
25 lines
715 B
Markdown
ffmpeg-docker
|
|
=============
|
|
|
|
This is a static-build [ffmpeg](https://ffmpeg.org/), built with
|
|
[this script](https://github.com/markus-perl/ffmpeg-build-script),
|
|
in a scratch container for easy use anywhere, with "non-free" codecs enabled.
|
|
|
|
Invoke it with something like this:
|
|
|
|
```
|
|
docker run -it --rm -v /path/to/files:/path/to/files \
|
|
cr.gitlab.alfter.us/salfter/ffmpeg-docker \
|
|
/path/to/files/infile.mkv -c copy -f mp4 /path/to/files/outfile.m4v
|
|
```
|
|
|
|
Note that the third line is just arguments passed to ffmpeg.
|
|
|
|
ffprobe is also available:
|
|
|
|
```
|
|
docker run -it --rm -v /path/to/files:/path/to/files \
|
|
--entrypoint /usr/bin/ffprobe cr.gitlab.alfter.us/salfter/ffmpeg-docker \
|
|
/path/to/files/infile.mkv
|
|
```
|