Skip to content

Docker image to grab a still image from an RTSP feed and serve it up as a snapshot

License

Notifications You must be signed in to change notification settings

dewgenenny/docker_rtsp_grab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

docker_rtsp_grab

Docker image to grab a still image from an RTSP feed and serve it up as a snapshot

Created this image as some cheap chinese cameras don't support creating a snapshot by URL (or at least, the URL is unknown).

You need to call this image with the URL environment variable set to the URL of the camera you want it to connect to. Once you've got it running, you'll be able to see the snapshot at http://your-server-ip:port/snapshot.jpg

Examples:

Using the image from DockerHub:

docker run --rm --name rtsp_grab -e URL=http://url-of-your-camera:554/live/ch0 -p 8844:80 dewgenenny/docker_rtsp_grab

Building the docker image yourself:

sudo docker build -t rtsp_grab .

Then, run your newly built docker image:

docker run --rm --name rtsp_grab -e URL=http://url-of-your-camera:554/live/ch0 -p 8844:80 rtsp_grab

I highly recommend double checking that your URL works using VLC or ffmpeg before moving to use image

About

Docker image to grab a still image from an RTSP feed and serve it up as a snapshot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published