mirror of
https://github.com/vimagick/dockerfiles
synced 2024-06-16 03:48:44 +00:00
Compare commits
No commits in common. "a30324bc4ca85826f06f9e882499d6dfa560ab2d" and "1e5a753aa3a20464f3a26078cf4abd48702e2d9c" have entirely different histories.
a30324bc4c
...
1e5a753aa3
@ -168,7 +168,6 @@ A collection of delicious docker recipes.
|
||||
- [x] ffmpeg
|
||||
- [x] ffmpeg-arm
|
||||
- [x] ffserver :beetle:
|
||||
- [x] alexxit/go2rtc :camera:
|
||||
- [x] icecast :musical_note:
|
||||
- [x] live555 :camera:
|
||||
- [x] minidlna
|
||||
|
@ -1,17 +0,0 @@
|
||||
go2rtc
|
||||
======
|
||||
|
||||
[go2rtc][1] is a ultimate camera streaming application with support RTSP, RTMP,
|
||||
HTTP-FLV, WebRTC, MSE, HLS, MP4, MJPEG, HomeKit, FFmpeg, etc.
|
||||
|
||||
## up and running
|
||||
|
||||
```bash
|
||||
$ mkdir -p data
|
||||
$ wget -P data https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4
|
||||
$ vi data/go2rtc.yaml
|
||||
$ docker compose up -d
|
||||
$ curl http://127.0.0.1:1984
|
||||
```
|
||||
|
||||
[1]: https://github.com/AlexxIT/go2rtc
|
@ -1,29 +0,0 @@
|
||||
api:
|
||||
listen: ":1984"
|
||||
#username: "admin"
|
||||
#password: "pass"
|
||||
|
||||
rtsp:
|
||||
listen: ":8554"
|
||||
#username: "admin"
|
||||
#password: "pass"
|
||||
#default_query: "video&audio"
|
||||
|
||||
webrtc:
|
||||
listen: ":8555"
|
||||
|
||||
streams:
|
||||
bunny: "ffmpeg:BigBuckBunny_320x180.mp4"
|
||||
#usbcam: "ffmpeg:device?video=0&video_size=1280x720#video=h264"
|
||||
|
||||
#publish:
|
||||
#bunny: "rtmps://xxx.rtmp.youtube.com/live2/xxxx-xxxx-xxxx-xxxx-xxxx"
|
||||
|
||||
log:
|
||||
level: info
|
||||
api: trace
|
||||
exec: debug
|
||||
ngrok: info
|
||||
rtsp: warn
|
||||
streams: error
|
||||
webrtc: fatal
|
@ -1,14 +0,0 @@
|
||||
version: "3.8"
|
||||
services:
|
||||
go2rtc:
|
||||
image: alexxit/go2rtc
|
||||
ports:
|
||||
- "1984:1984"
|
||||
- "8554:8554"
|
||||
- "8555:8555"
|
||||
volumes:
|
||||
- ./data:/config
|
||||
#devices:
|
||||
# - /dev/video0
|
||||
#privileged: true
|
||||
restart: unless
|
@ -7,7 +7,7 @@ v4l2rtspserver
|
||||
|
||||
```bash
|
||||
$ docker-compose up -d
|
||||
$ vlc --network-caching=50 --rtsp-tcp rtsp://127.0.0.1/live
|
||||
$ vlc rtsp://127.0.0.1/live
|
||||
$ ffmpeg -rtsp_transport tcp -i rtsp://127.0.0.1/live -acodec copy -vcodec copy -t 60 cctv.mp4
|
||||
$ vlc cctv.mp4
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user