Log in

View Full Version : A script that automatically detect and replace broken frames?


Pages : 1 [2]

StainlessS
7th July 2014, 03:42
Hallo JohnMeyer, are you out there ?

Not quite on topic, but can you tell me, what is the maximum realistic number of consecutive flash frames ?
I want the maximum number of frames exposed for a single flash.

I'm currently working on a update to SC_SceneSelect.avs and SC_MakeTrimFile.AVS (Scene Change Detection, as included in RT_Stats),
and they are working pretty darn good. :) Have got em avoiding detection of single, double and triple flash frames, just wondering if
there was a need for more. (I'm currently downloading two of your example clips from this thread and shall ensure that they do give problems).

Have got 3 Channel (YUV/RGB) scene change detector on a hair trigger (so as to not miss any scene changes), but additional overrides which eg detect
flash frames on +ve detections, and also overrides via 3 channel Histograms detecting eg panning. Works much better than anything I've tried including
MC detectors.

Oh, and multi-instance scripts to boot, thanks to Martin53 and Gavino's excellent work.

EDIT: Oops, just realized, it aint your thread. :(

johnmeyer
7th July 2014, 04:29
Hallo JohnMeyer, are you out there ?

EDIT: Oops, just realized, it aint your thread. :(I can understand the confusion because I semi-hijacked the thread trying to fix a similar, but fundamentally different "flash frame" problem. Thanks to our discussion, I solved my problem.

To answer your question for my problem (flash frames that happen at the beginning of each scene filmed with an traditional 8mm or 16mm film camera), I've never seen more than four flash frames. Because they are caused by the spinning wheel shutter getting up to speed, each subsequent flash is not as strong as the previous one.

BTW, if you have a moment, perhaps you can figure out why my attempt to fix the mess caused by resizing interlaced footage without first deinterlacing ends up creating thin horizontal lines. Here's a link to the place in the thread where I introduce my "solution:"

repair bad deinterlacing (http://forum.doom9.org/showthread.php?p=1685967#post1685967)

If you have a hint you could throw my way, I'd appreciate it. I need either one of these two hints: how to avoid creating the thin horizontal lines; or how to get rid of them once they appear.

Now I've really hijacked the thread. Hopefully the OP will respond and give you his answer for the number of flash frames.

StainlessS
8th July 2014, 09:08
Hi again John. Took another look at the thread on bad deinterlace, phew, you got your work cut out, thats one nasty clip.

In this post (this thread) http://forum.doom9.org/showthread.php?p=1669576#post1669576
I pointed out FrameSel as being able to delete flash frames without audio, I posted this other
function a few weeks ago which also copes with audio, just in case you missed it, tis here:http://forum.doom9.org/showthread.php?p=1683559#post1683559

johnmeyer
8th July 2014, 15:31
Many, many thanks!