mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-26 05:27:31 +02:00
add ffmpeg-arm
This commit is contained in:
parent
39b7596d0d
commit
46dbf7abda
13
ffmpeg/arm/Dockerfile
Normal file
13
ffmpeg/arm/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for ffmpeg-arm
|
||||||
|
#
|
||||||
|
|
||||||
|
FROM easypi/alpine-arm
|
||||||
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
|
RUN apk add --no-cache ffmpeg
|
||||||
|
|
||||||
|
WORKDIR /data
|
||||||
|
|
||||||
|
ENTRYPOINT ["ffmpeg"]
|
||||||
|
CMD ["--help"]
|
@ -27,7 +27,7 @@ server:
|
|||||||
|
|
||||||
client:
|
client:
|
||||||
image: easypi/rtmp-client-arm
|
image: easypi/rtmp-client-arm
|
||||||
# command: ffmpeg -i /dev/video0 -vf "hflip,vflip" -f flv rtmp://cctv.easypi.info/live/webcam
|
# command: ffmpeg -i /dev/video0 -video_size 640x480 -vf "hflip,vflip" -f flv rtmp://cctv.easypi.info/live/webcam
|
||||||
devices:
|
devices:
|
||||||
- /dev/video0:/dev/video0
|
- /dev/video0:/dev/video0
|
||||||
environment:
|
environment:
|
||||||
@ -83,9 +83,18 @@ $ cd ~/fig/rtmp/
|
|||||||
$ docker-compose up -d client
|
$ docker-compose up -d client
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## OBS
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
Stream Type: Custom Streaming Server
|
||||||
|
URL: rtmp://192.168.31.254/live/
|
||||||
|
Streaming key: webcam
|
||||||
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
- https://github.com/arut/nginx-rtmp-module/wiki/Directives
|
- https://github.com/arut/nginx-rtmp-module/wiki/Directives
|
||||||
- https://trac.ffmpeg.org/wiki/StreamingGuide
|
- https://trac.ffmpeg.org/wiki/StreamingGuide
|
||||||
- https://trac.ffmpeg.org/wiki/Capture/Webcam
|
- https://trac.ffmpeg.org/wiki/Capture/Webcam
|
||||||
|
- https://trac.ffmpeg.org/wiki/EncodingForStreamingSites
|
||||||
- http://apk-dl.com/vlc-for-android/org.videolan.vlc/
|
- http://apk-dl.com/vlc-for-android/org.videolan.vlc/
|
||||||
|
@ -2,10 +2,9 @@
|
|||||||
# Dockerfile for rtmp-client-arm
|
# Dockerfile for rtmp-client-arm
|
||||||
#
|
#
|
||||||
|
|
||||||
FROM easypi/alpine-arm
|
FROM easypi/ffmpeg-arm
|
||||||
MAINTAINER EasyPi Software Foundation
|
|
||||||
|
|
||||||
RUN apk add --no-cache ffmpeg
|
MAINTAINER EasyPi Software Foundation
|
||||||
|
|
||||||
ENV RTMP_DEV=/dev/video0 \
|
ENV RTMP_DEV=/dev/video0 \
|
||||||
RTMP_FMT=flv \
|
RTMP_FMT=flv \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user