Help using find_rect

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Help using find_rect

Mike Petersen
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


ffmpeg-user mailing list
[hidden email]

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".