Answer the question
In order to leave comments, you need to log in
How to get the number of changed pixels in each frame?
Ideally, you need a stable analogue
vlc --video-filter=motion speed.mp4 --verbose=2 --file-logging --logfile=log.txt
Answer the question
In order to leave comments, you need to log in
Maybe there is a filter - we need to continue the search.
But here's another idea: subtract the previous frame from the frame using the tmix filter . If the two frames are identical, the result will be completely black.
A measure of the difference or the number of unequal pixels will be the average brightness of the frame: its difference in plus from zero.
Check the option that when subtracting light from black instead of a negative value, the same 0 will remain. Then you need to run it twice: A - B and B - A.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question