[FFmpeg-user] is there any way to abort ffmpeg if source bitrate gets too low

andrei ka andrei.k.gml at gmail.com
Wed Jul 29 15:13:22 EEST 2020

yep, guess i'll have try to play with tsduck for my needs, it has tools
that inspect and switch ts stream inputs on the fly.
i need a solution asap, so, coding a patch is not feasible...kinda shame
that our omnicapable ffmpeg doesn't have more
extensive source properties controls...

On Wed, Jul 29, 2020 at 11:26 AM Valentin Schweitzer <vs at nativewaves.com>

> 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
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".

More information about the ffmpeg-user mailing list