Skip to content

A web server to convert RTSP IP camera streams to MPEG

License

Notifications You must be signed in to change notification settings

piersfinlayson/rtspmpeg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Create container

To create a container image called rtspmpeg:

docker build -t rtspmpeg .

Set up

Create a cgi-bin folder, put suitably edited versions of samplestream and sampleframe in there and link it to the docker volume /var/www/cgi-bin when running the container.

Run container

docker run --restart always -d -p 8080:80 -v my_cgi_bin_folder:/var/www/cgi-bin --name rtspmpeg-server rtspmpeg

Viewing

You can view the pages via http://server:port/cgi-bin/samplestream and http://server:port/cgi-bin/sampleframe

Acknowledgements

Based on https://stevethemoose.blogspot.com/2021/07/converting-rtsp-to-mjpeg-stream-on.html

About

A web server to convert RTSP IP camera streams to MPEG

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published