Cannot set the RTSP link of an Axis IP camera under camera settings in the WEB GUI.
link would look like this: rtsp://192.168.1.103/axis-media/media.amp
I noticed someone else also wanting support Here
As a workaround you could hack your camera to install mjpg-streamer there. I am in process of doing that for Xiaomi Ants.
Browsers can't play RTSP streams, so I'm not sure how valuable this would be. Seems like this would be better solved via modifying the camera, or setting up some sort of mjpg-streamer like proxy.
rtsp no only for webcam image in octoprint...
i would like to see getting timelapse videos from other cams than usb/raspi-cam.
i could be done with ffmepg like this:
ffmpeg -i $RTSPURL -y -f image2 -ss 8 -sameq -t 0.001 $CAMIMGPATH/$MONT/$DATE/$DATETIME.jpeg
would like to see the octoprint webif to support this option...
would also be nice to trigger linux-scripts on startup of printing (not only gcode-ones), as we are already on an debian-raspberry..
mjepg with ffmpeg-server is a lot of fiddling...
this seems also a requstable feature:
http://www.makermusings.com/2015/09/01/making-time-lapse-video-of-3d-prints/
"put nozzle out of the way to take the screenshot"
maybe it could also be done with a "@execute-" postprocessor./script-trigger..? would be a fine feature in octoprint...
Renha whats your status with mjpeg-streamer for Xiaomi Ants?
@nonnos sorry no big progress, Ants have too small amount of Ram to compile anything there and no swap support so i need to setup virtual env, in which I have no much experience.
maybe someone got a workaround to convert the stream?
I use this shell script for streaming to YouTube. Just put in your livestream-code instead of PUTYOUTUBE-IDHERE :
ffmpeg -re -f mjpeg -framerate 5 -i "http://localhost:8080/?action=stream" -ar 44100 -ac 2 -acodec pcm_s16le -f s16le -ac 2 -i /dev/zero -acodec aac -ab 128k -strict experimental -s 640x480 -vcodec h264 -pix_fmt yuv420p -g 10 -vb 700k -preset ultrafast -crf 31 -framerate 5 -f flv "rtmp://a.rtmp.youtube.com/live2/PUTYOUTUBE-IDHERE"
My plugin allows for viewing YouTube live stream in a seperate tab of OctoPrint. I may look into incorporating this command-line to enable starting the stream.
Any news about RTSP stream in Octoprint ?
Been another year, just checking in if there's been any new support options?
Wyze cameras have released an official firmware that allows RTSP streams now, would be nice to be able to utilize those since they're dirt cheap and easy as pie to set up.
As it is now, I'll probably have to set up some kind of ffmpeg/mjpegstreamer instance to make this work
You may want to check out this thread in the community forum.
https://community.octoprint.org/t/wyze-cam-v2-support/6651/24?u=jneilliii
I'd already implemented an ffmpeg + ffserver solution, but this looks like it might be less overhead.
Anyhoo, it's all well and good for someone like me, who's experienced in linux backend, to do something like this. I just wish there was an easy front-end solution I could point people to.
Maybe I'll use this as an opportunity to learn how to make an octoprint plugin
@jneilliii Any chance you could help me debug using vlc for this? ffmpeg isn't playing very nice, and at the moment I'm not able to get the vlc command line to work either. Don't think this is an appropriate thread to continue conversation on, however
You should go over to the community forum where it's mentioned for the VLC command line. I've never personally done it, but one if the posters over there did.
https://community.octoprint.org/t/wyze-cam-v2-support/6651/24?u=jneilliii
Most helpful comment
I'd already implemented an ffmpeg + ffserver solution, but this looks like it might be less overhead.
Anyhoo, it's all well and good for someone like me, who's experienced in linux backend, to do something like this. I just wish there was an easy front-end solution I could point people to.
Maybe I'll use this as an opportunity to learn how to make an octoprint plugin