Welcome Guest ( Log In | Register )


Important

The forums will be closing permanently the weekend of March 15th. Please see the notice in the announcements forum for details.

 
Avisynth Selectevery() Problem, Restoring Super 8 transfer: 30p to 18p
« Next Oldest | Next Newest » Track this topic | Email this topic | Print this topic
tymcode
Posted: Apr 5 2012, 09:31 PM


Newbie


Group: Members
Posts: 2
Member No.: 34626
Joined: 5-April 12



I had a bunch of Super 8 film transferred to video. It was projected at 18fps and captured at 29.97. I want to restore it to 18fps, discarding all the duplicated frames.

After examining the video I've determined that there is a repeating pattern of frames (yes, frames -- there is no field differentiation; the video is 30p). If A, B and C are frames from the original film, I'm seeing this pattern in every group of 5 frames from the 30fps version:

A B B C C'

(C' is a nearly exact duplicate of C, except slightly blended with its neighbor. The blend is not on fields so I'm assuming it's something with the projector that caused this.)

Therefore, of every 5 frames I only want the first, second and fourth frames.

I am using a simple AVISynth script:
CODE

film=AVISource("z:\Users\jennings\movies\transfer\reel2\Reel2.avi", audio = false)
SelectEvery(film,5,0,1,3)
AssumeFPS(film, 18000, 1001, false)

VirtualDub reports that the result is ~17.98 fps, which I want, but I'm still getting all five frames (I still get the duplicated B and the fuzzy C' frame) when I step through it in VirtualDub. I've experimented with more radical settings on the SelectEvery and there's no change, like it's commented out or something.

This seems pretty straightforward; can anyone see what I'm missing?

--Mike
 
     Top
IanB
Posted: Apr 5 2012, 09:43 PM


Avisynth Team Member


Group: Members
Posts: 121
Member No.: 22295
Joined: 23-October 07



CODE
film=AVISource("z:\Users\jennings\movies\transfer\reel2\Reel2.avi", audio = false)
film=SelectEvery(film,5,0,1,3)
AssumeFPS(film, 18000, 1001, false)

Or
CODE
AVISource("z:\Users\jennings\movies\transfer\reel2\Reel2.avi", audio = false)
SelectEvery(5,0,1,3)
AssumeFPS(18000, 1001, false)
 
     Top
tymcode
Posted: Apr 7 2012, 08:11 AM


Newbie


Group: Members
Posts: 2
Member No.: 34626
Joined: 5-April 12



Oh, I see! Thanks, that worked great!
 
     Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
2 replies since Apr 5 2012, 09:31 PM Track this topic | Email this topic | Print this topic

<< Back to Advanced Video Processing