Ferux
20th February 2007, 14:38
I'm capturing home video's which were made by an analog camera. For some reason, in every 4 frames this camera recorded, the first one was darker and the second one brighter. This results in flickering when watching the video.
I tried anti-flicker filters as Antiflicker, Deflicker and even deinterlaced an entire 3h-video with MVBob, but these filters don't solve the problem.
With ApplyEvery I reached a solution:
JDL_SimpleApplyEvery("tweak(sat=1.25)",4,"1")
JDL_SimpleApplyEvery("tweak(sat=0.9)",4,"2")
This brightens the first, darker frame of every 4 and darkens the second, brighter frame of every 4. The result is very good, but the point where the 4 frames start to count, is different in every cut since it was caused by the camera.
The solution is probably implenting a scene-change detection and then by every scene change applying this filter 4 times, each time with a different starting frame, and then something has to find out which of the 4 possibilities gives the good result.
Does anyone have an idea to implent this? Or maybe another way to search which is the darker/lighter frame of the 4?
Many thanks on beforehand.
Ferux
I tried anti-flicker filters as Antiflicker, Deflicker and even deinterlaced an entire 3h-video with MVBob, but these filters don't solve the problem.
With ApplyEvery I reached a solution:
JDL_SimpleApplyEvery("tweak(sat=1.25)",4,"1")
JDL_SimpleApplyEvery("tweak(sat=0.9)",4,"2")
This brightens the first, darker frame of every 4 and darkens the second, brighter frame of every 4. The result is very good, but the point where the 4 frames start to count, is different in every cut since it was caused by the camera.
The solution is probably implenting a scene-change detection and then by every scene change applying this filter 4 times, each time with a different starting frame, and then something has to find out which of the 4 possibilities gives the good result.
Does anyone have an idea to implent this? Or maybe another way to search which is the darker/lighter frame of the 4?
Many thanks on beforehand.
Ferux