Heimdall Gitea / Detect CI scope (push) Successful in 6s
Heimdall Gitea / Build and tests (push) Successful in 19m19s
Heimdall Gitea / Publish versioned release (push) Skipped
Heimdall Gitea / Build and scan server image (push) Successful in 6m13s
Heimdall Gitea / Build and scan agent image (push) Successful in 14m44s
Heimdall Gitea / Publish Docker Hub latest tags (push) Successful in 1m48s
Heimdall Gitea / Build and scan NVIDIA Agent image (push) Successful in 19m9s
Heimdall Gitea / CI policy (push) Successful in 10s
Merge pull request #138 Co-authored-by: Arnaud Dartois <admin@tordais.cc>
23 lines
931 B
YAML
23 lines
931 B
YAML
# Test-only synthetic camera source. Exposes one local RTSP port so an Agent
|
|
# can be configured through Central to pull this generated H.264 stream.
|
|
services:
|
|
synthetic-camera:
|
|
image: bluenviron/mediamtx:1.21.3
|
|
restart: unless-stopped
|
|
ports:
|
|
- "127.0.0.1:${HEIMDALL_SYNTHETIC_RTSP_PORT:-18554}:8554/tcp"
|
|
volumes:
|
|
- ./mediamtx.synthetic-source.yml:/mediamtx.yml:ro
|
|
networks:
|
|
- heimdall-net
|
|
|
|
synthetic-camera-publisher:
|
|
image: jrottenberg/ffmpeg:7.1-alpine
|
|
restart: unless-stopped
|
|
entrypoint: ["/bin/sh", "-c"]
|
|
command: ["while true; do ffmpeg -nostdin -hide_banner -loglevel error -re -f lavfi -i testsrc2=size=640x360:rate=25 -an -vf format=yuv420p -c:v libx264 -profile:v baseline -tune zerolatency -bf 0 -g 25 -f rtsp -rtsp_transport tcp rtsp://synthetic-camera:8554/synthetic; sleep 2; done"]
|
|
depends_on:
|
|
- synthetic-camera
|
|
networks:
|
|
- heimdall-net
|