OK, I think that puts us back to my previous reply with the screenshot where I acknowledged a lack of understanding of the difference between RTSP and RTMP or whether they were compatible. I think your reply to that suggests it's not, so your RTMP transcoder doesn't help me convert to RTSP for Scrypted - "OctoPrint (with or without your plugin) doesn't supply that kind of stream."
That seems about right, if RTSP stream is what scrypted is expecting I assume, then my plugin will do you no good. What does scrypted actually accomplish for you and I might be able to guide you in a better direction.
I use it to get non-HomeKit cameras into HomeKit. I currently use it for UniFi Protect and Ring cameras. It works flawlessly for those. I think it would be useful to also have the OctoPrint camera in HomeKit as well.
Not natively. Scrypted transcodes various camera feed protocols to others as needed using a plugin architecture. So, I have the HomeKit plugin (output) installed alongside the UniFi Protect and Ring plugins (input). There are other input plugins available, but not for RTMP or FFmpeg. There is an RTSP plugin, but it doesn't sound like your RTMP plugin would make a compatible stream for that.
Here's a simple diagram of a working data flow:
[UniFi Protect] > [Scrypted: UniFi Protect plugin] > MAGIC > [Scrypted: HomeKit plugin] > [HomeKit]
Here's the data flow I think I'm after:
[OctoPrint FFmpeg camera (does not natively stream)] >[OctoPrint: plugin that provides stream compatible with a Scrypted plugin (does not exist yet)>[Scrypted: plugin compatible with OctoPrint plugin (also does not exist yet)> SIMILAR MAGIC AS BEFORE > [Scrypted: HomeKit plugin] > [HomeKit]
did you happen to test the ONVIF plugin with the default mjpg stream from OctoPi? The new camera-stack gives a couple of more options like HLS and webrtc.
after a little more searching, I'm seeing lots of references to an ffmpeg camera plugin. If you have that option available you should be able to use it to stream the default stream url with http://192.168.0.2/webcam/?action=stream as input and enable the transcoding options.
My understanding is that transcoding setting is in the scrypted ffmpeg plugin settings. Sorry, didn't realize that was what the screenshots were from. The options would need to be -f mjpeg -i http://192.168.0.2/webcam/?action=stream I think.
For those trying to make sense of this in the future, I enabled transcoding under the Extensions tab of the newly created FFmpeg OctoPrint camera in Scrypted.
I was able to get an OctoPrint stream into Scrypted ffmpeg using the OctoPrint plugin "Camera Streamer Control" (I was using this for a webrtc stream at one point):
ffmpeg input stream: -i http://OCTOPRINTIP/webcam/video.mp4 (I'm not using any additional settings for the stream, but I assume the Scrypted ffmpeg plugin will work with those).
Ah yes, thanks for the clarification/correction. I did switch to the new camera-streamer webcam stack a little after that blog post (and apparently forgot that this plugin was part of that, rather than something I downloaded after the fact).
The webrtc stream would also be available to scrypted I suspect without the plugin. The plugin just makes the webrtc implementation of camera-streamer work within OctoPrint.
Everything else was default. I was able to add this to Homekit and stream live once this was in place. I'm using an nginx proxy in front of my octoprint server, but other than that it is pretty vanilla and I only changed what I posted above.
Apologies in advance if the formatting is a mess here with pictures inline and such.
This works (thank you) but the camera that the HKSV Scrypted plugin generates for Homkit does not have any of the features that other cameras I own in Scypted have. No notification options in the Home app settings for it, for instance -- I can't record on it, etc. So I'm wondering if there are more settings to adjust to get these?