Log in

View Full Version : Simple decimation, but I'm stumped


johnmeyer
5th March 2015, 07:12
I have a film transfer done with a Goko projector which doesn't have a shutter, but instead uses a rotating prism to move the film frames into the camera field of view. This results in no flicker, but it unfortunately creates lots of blended frames.

Here's a sample clip that I've edited down to show a few scenes that have lots of obvious motion.

18 MB AVI Blended Clip (https://www.mediafire.com/?oru5utuv9tu12yo)

If you bob the video and look at the individual fields, you'll see that every frame of the original film yields at least one video field that is free from any blending (the dirt spots on the film make it very obvious what is going on). What I'd like to do is use that one good bobbed field, and throw away the adjacent blended fields. While will I lose half the vertical resolution, it will be more than made up for by not having the blends.

However, after banging my head against the wall with TFM/TDecimate and then SRestore, I'm getting nowhere.

If anyone can throw an idea my way, I'd sure appreciate it. I think SRestore is the right tool, but I'm missing something obvious on how to use it.

Thanks!

johnmeyer
5th March 2015, 07:21
OK, I took a break, and was able to get pretty close using this:

AVISource("e:\fs.avi")
AssumeBFF()
AssumeFPS(30)
bob()
SRestore(frate=20)
AssumeFPS(16)

[edit]Looking at the clip frame-by-frame, this script is missing about one out twenty blends.

manono
5th March 2015, 09:18
I did pretty much what you did and didn't get anything worth complaining about, I don't think, given it's such a crummy source:

Yadif(Order=0,Mode=1)
Srestore(FRate=19.98)

johnmeyer
5th March 2015, 17:45
Thanks, Manono!