RTSP Proxy + OnDemand Single Frame Capture + HLS? #738
Replies: 2 comments
-
|
Hello,
At the moment there isn't a hook or external command that can be run when the state transition happens. Therefore, you can monitor the state with the API and a fixed period (1sec) to catch the state transition and trigger your command. |
Beta Was this translation helpful? Give feedback.
-
|
This discussion is being locked automatically because the last update was more than 2 years ago. Do not use the content of this discussion as reference since it's probably outdated! The official documentation is the only place in which you can find up-to-date answers. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey there!
I want to see if I can make this my dream program to help me sleep better at night! Just need a little bit of help.
Here's what I am trying to do:
Now where I need help:
3. Run FFMPEG to capture a screenshot every time that the HLS stream initiates after sourceOnDemand gets called and the status of the stream goes from "state="notReady" to Ready.
What this is going to do is just save the image to a docker volume with NGINX serving the images. I wish there was a way I could get this file via API calls, but I know it's just a dream at this point.
Wondering if there was a proper way to run step 3 via docker and this image... I was so close to getting away with not using FFMPEG if it wasn't for needing an image endpoint...
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions