1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-05-13 22:06:55 +02:00

update go2rtc

This commit is contained in:
kev 2025-05-08 12:04:11 +08:00
parent fcc6075caa
commit d03e4f1fd5

View File

@ -11,7 +11,8 @@ $ 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/api/stream.mp4?src=bunny&duration=15' -o clip.mp4
$ curl 'http://127.0.0.1:1984/api/frame.jpeg?src=bunny' -o output.jpeg
$ curl 'http://127.0.0.1:1984/api/stream.mp4?src=bunny&duration=15' -o output.mp4
```
[1]: https://github.com/AlexxIT/go2rtc