On 18.06.2021 06:19, Gyan Doshi wrote:
Instead of a specific option for silencedetect, it would be future-proof if it was an option called, say, metadata with a constant for silencedetect to start with. There are multiple per-frame analysis filters like blackframe, blackdetect, freezedetect..etc and it will be easier to just extend 'metadata' with new constantsthan to add a new option for each filter.
The only issue I see with that is a loss of flexibility.I does not seem like you can pass parameters to variables in the expression syntax.
So there would need to be two new parameters for the select filter itself. The start and the end marker metadata name. But what if a user wanted to combine multiple detection filters?I guess chaining multiple select filters would work, but can be pretty annoying, depending on the usecase.
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".