1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00

update ffmpeg

This commit is contained in:
kev 2016-07-07 18:17:27 +08:00
parent 54f70c5dbe
commit 1b84e71180
3 changed files with 16 additions and 4 deletions

@ -90,13 +90,14 @@ A collection of delicious docker recipes.
## Media
- [x] ffmpeg
- [x] ffmpeg-arm
- [x] ffserver :beetle:
- [x] live555
- [x] minidlna
- [x] plex :moneybag:
- [x] red5 :+1:
- [x] red5-arm :construction:
- [x] rtmp-client
- [x] rtmp-client-arm :+1:
- [x] rtmp-server
- [x] youtube-dl
- [x] youtube-worker :beetle:

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

@ -33,6 +33,8 @@ $ docker-compose restart
$ ffmpeg -i /dev/video0 -video_size 800x600 -f flv rtmp://easypi.info/live/webcam
```
> Please try [easypi/rtmp-client-arm][2] on Raspberry Pi.
## Player Setup
```bash
@ -50,3 +52,4 @@ $ ffplay 'rtmp://easypi.info/live/webcam live=1'
- <http://kodi.wiki/view/Internet_video_and_audio_streams>
[1]: https://github.com/Red5/red5-server
[2]: https://hub.docker.com/r/easypi/rtmp-client-arm/