mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 13:23:02 +01:00
add ffmpeg
This commit is contained in:
13
ffmpeg/Dockerfile
Normal file
13
ffmpeg/Dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
#
|
||||
# Dockerfile for ffmpeg
|
||||
#
|
||||
|
||||
FROM alpine
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
|
||||
RUN apk add --no-cache ffmpeg
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
ENTRYPOINT ["ffmpeg"]
|
||||
CMD ["--help"]
|
||||
14
ffmpeg/README.md
Normal file
14
ffmpeg/README.md
Normal file
@@ -0,0 +1,14 @@
|
||||
ffmpeg
|
||||
======
|
||||
|
||||

|
||||
|
||||
## Tutorial
|
||||
|
||||
```
|
||||
# create an alias
|
||||
$ alias ffmpeg='docker run --rm -u $(id -u):$(id -g) -v $PWD:/data vimagick/ffmpeg'
|
||||
|
||||
# do video transcoding
|
||||
$ ffmpeg -i video.mov video.mp4
|
||||
```
|
||||
Reference in New Issue
Block a user