mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-11-28 09:08:36 +02:00
update rtmp-client-arm
This commit is contained in:
parent
89e0d7a001
commit
39b7596d0d
@ -26,16 +26,18 @@ server:
|
||||
restart: always
|
||||
|
||||
client:
|
||||
image: vimagick/rtmp-client-arm
|
||||
image: easypi/rtmp-client-arm
|
||||
# command: ffmpeg -i /dev/video0 -vf "hflip,vflip" -f flv rtmp://cctv.easypi.info/live/webcam
|
||||
devices:
|
||||
- /dev/video0:/dev/video0
|
||||
environment:
|
||||
# - RTMP_DEV=rtsp://192.168.42.1/live
|
||||
- RTMP_URI=rtmp://easypi.info/live/webcam
|
||||
restart: always
|
||||
```
|
||||
|
||||
> You can run customized `ffmpeg` command.
|
||||
> - You can run customized `ffmpeg` command.
|
||||
> - Input can be stream instead of device. (It works as a relay!)
|
||||
|
||||
## Server
|
||||
|
||||
|
@ -2,12 +2,10 @@
|
||||
# Dockerfile for rtmp-client-arm
|
||||
#
|
||||
|
||||
FROM vimagick/alpine-arm
|
||||
MAINTAINER kev <noreply@easypi.info>
|
||||
FROM easypi/alpine-arm
|
||||
MAINTAINER EasyPi Software Foundation
|
||||
|
||||
RUN set -xe \
|
||||
&& apk add -U ffmpeg \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
RUN apk add --no-cache ffmpeg
|
||||
|
||||
ENV RTMP_DEV=/dev/video0 \
|
||||
RTMP_FMT=flv \
|
||||
|
@ -1,9 +1,8 @@
|
||||
client:
|
||||
image: vimagick/rtmp-client-arm
|
||||
image: easypi/rtmp-client-arm
|
||||
devices:
|
||||
- /dev/video0:/dev/video0
|
||||
environment:
|
||||
# - RTMP_DEV=rtsp://192.168.42.1/live
|
||||
- RTMP_URI=rtmp://cctv.easypi.info/live/webcam
|
||||
# net: host
|
||||
restart: always
|
||||
|
Loading…
Reference in New Issue
Block a user