Hi, i am trying to use the feature find_rect. I have a video with a single colored area which i would like to detect.
I have tested different colors (white, black, blue) without success. The box is never replaced in the video. The ffmpeg command i use is: ffmpeg -i input.mp4 -loglevel debug -report -vf find_rect=black-80.pgm,cover_rect=green.jpg:mode=cover output.mp4 For the ppm image I used imagemagick with different options. The last one I used is: convert -size 80x80 xc:black -depth 4 -colorspace gray -define png:color-type=0 -define png:bit-depth=4 input/black-80.pgm Thanks Regards Mike _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".