Monitors an RTSP camera stream and publishes image changes to a directory or RabbitMQ
1.5K
RtspCaperaCapture is an application which uses FFMPEG to grab an image from an RTSP enabled camera at a specified interval. Upon capturing an image, the application compares the image to the prior captured image. If the content of the image has changed by more than a certain amount, then the image will optionally be (1) saved to a file, (2) have it's grayscale thumbnail image saved to a file, or (3) write a JSON encoded message to a RabbitMQ server.
$ docker run -d -e CAMERA_RTSP_URL=rtsp://test:[email protected]/live -e CAMERA_THUMBNAIL_DIR=/images/thumb -e CAMERA_NATIVE_DIR=/images/native -v /mnt/data/:/images dsmithson/rtspCameraMonitor
$ docker run -d -e CAMERA_RTSP_URL=rtsp://test:[email protected]/live -e RABBITMQ_HOST=myrabbit.local -e RABBITMQ_USER=user -e RABBITMQ_PASS=pass -e RABBITMQ_EXCHANGE=my.exchange -e RABBITMQ_ROUTING_KEY=actions.write dsmithson/rtspCameraMonitor
Environment Variables
Content type
Image
Digest
sha256:48c84f8ed…
Size
578.5 MB
Last updated
over 3 years ago
docker pull dsmithson/rtspcameracapture