On 10/1/23, Umberto Boccioni <[email protected]> wrote: > [Apologies for the cross-post from User list, but in retrospect, I thought > the post was better placed here] > > I'm trying to remove frozen frames from a video with gaps in the input > stream, and the freezedetect filter appears to accurately find/list those > sections. > > I was hoping to use the results of freezedetect to trim those sections of > video, and there was a freezedetect "discard" ("f") option in the dev > builds a few years back which appears to do exactly that ( > https://patchwork.ffmpeg.org/project/ffmpeg/patch/[email protected]/#46233 > ) > > It doesn't seem to have made its way into any of the builds (including dev > branches) as far as I can find, and it's definitely not in the official > docs. > > To my untrained eye, the patch looks complete, though possibly abandoned. > is there any chance of it being incorporated into the mainline source? It > would be quite useful.
That patch is incorrect and buggy. The solution is written bellow that patch in discussion once you real all text: freezedetect,metadata=mode=select:key=lavfi.freezedetect.freeze_amount:value=some_frozen_amount:function=greater No point in using that patch as functionality is already available: https://ffmpeg.org/ffmpeg-filters.html#toc-metadata_002c-ametadata > > -- > ub > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". > _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
