I have couple of video files with sudden transition from black frame to blue frame, both frames have burned-in frame numbers, I would like to use ffmpeg to define the timestamp of this transition in order to automate the cutting of these files. Is there a possibility to do that. I guess I can either do it with some form of scene detection or by using OCR tool to check the frame number of the current frame and then extract the timestamp.
See signalstats filter description, it works in YUV colorspace only. With it one can extract various per frame video statistics and even graph it in real time.