Replies: 1 comment
-
Hello, you can use the paths:
mypath:
runOnNotReady: ffmpeg -f image2 -loop 1 -i nosignal.png -vcodec libx264 -f rtsp rtsp://localhost:8554/mypath |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Describe the feature
I would like a still image to be streamed if a publisher is not available on a specific path.
Currently I start a ffmpeg with a ffmpeg -f image2 -loop 1 -i nosignal.png -vcodec libx264 -f flv ... but that gets interrupted when the actual publisher starts and I have to add code to check if there's a stream in progress every few seconds, if not, start the image... but even then that means there are times when there is no publisher and no image and people have to refresh and that makes for a bad experience.
Also, even so, the stream ends and the player remains in a weird state... Instead of just continuing with the still image.
Is there another easy workaround?
Beta Was this translation helpful? Give feedback.
All reactions