On 28/07/2020 18:37, andrei ka wrote:
> hi all
> 
> i have multicast sources that sometimes actually switch to  just static
> images encoded at very low bitrates, bitrate drops from 2Mbps when it's a
> decent signal to 500kbps when it's static. so, I don't know how to detect
> it on a fly, ffmpeg keeps happily encoding. Wish we had some input filter
> with bitrate caps... running  a probe process in background and killing
> ffmpeg is so ugly to me... any ideas how to do it without help from bash ?
> 
> cheers, &rei

hi,

I sadly dont have a solution for automatically killing FFmpeg,
but for finding out when the stream switches to a static image
you could try the freezedetect filter:
https://ffmpeg.org/ffmpeg-filters.html#freezedetect

I hope that helps and good luck,
Valentin
_______________________________________________
ffmpeg-user mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to