by spapas82 · 7y ago · 0 comments
I remember that I used two techniques for extracting scene cuts:
* Difference in the brightness (Y) histogram of the YUV video between frames; when that difference is more than a threshold there's a scene cut
* Counting the number of Intra macroblocks per frame on an H.264 encoded video; if that number was more than a threshold then there's a scene cut
Other techniques being considered for future work include use of optical flow, background subtraction, and analyzing histograms.
There are some more info in the wikipedia: https://en.wikipedia.org/wiki/Macroblock and also there's a nice article explaining some of the magics of H264 compression: https://sidbala.com/h-264-is-magic/