[Libav-user] blackdetect using libavfilter C API

Venkateswaran.S venketeswaran2015 at gmail.com
Fri Mar 8 17:05:58 EET 2019


I'm using libavfilter to detect black frame in my video. I followed this
example https://ffmpeg.org/doxygen/3.4/filtering_video_8c-example.html ,
but this example doesn't shows how to print black frame detected duration,
instead it prints out video frames. As of now, I have replaced
const char *filter_descr
= "scale=78:24,transpose=cclock"; to const char *filter_descr
= "blackdetect=d=2:pix_th=0.00";
in the code.

Thanks & regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20190308/ddf0f15a/attachment.html>

More information about the Libav-user mailing list