logo Sign In

Brooks's Adventures in VHS preservation (Released) — Page 2

Author
Time

Possibly installing FFDSHOW's VFW mode could fix it too?

"Right now the coffees are doing their final work." (Airi, Masked Rider Den-o episode 1)

Author
Time

I'm not sure what codecs you need, but it does sound like FFDSHOW.

Brooks said:

This is feeling really complicated to me, is there no commercial program that can do this more simply?  Is the ivtc really a dramatic improvement?  :(

It restores the the video to it's original, progressive film format (from 29.97fps to 23.976fps).  Depending on your final output, it can be a very big improvement...especially if you are resizing.  It's hard to imagine converting anything from 4x3 to 16x9 without IVTC.

I don't know of any commercial programs, but there are many AviSynth filters at the AviSynth website that can do it automatically.  Not sure which ones are best.  I just have a habit of doing it manually.

Author
Time

Don't mess with FFDSHOW if you don't want to have f***ed up Windows. Install the XviD codec, that's ALL you need

Author
Time

Brooks said:

Is the ivtc really a dramatic improvement?  :(

In my opinion, IVTC is the most important step in improving these if you are going to watch them on anything other than an old NTSC TV.

Author
Time

The Divx codec did the trick.  So now I've opened my script in vdub and tried looking for the frames like omegamattman said but I don't really know what to look for or how to count them.  

 here's about 100 frames uncompressed from vdub after running the separate fields script if any of you has the free time and inclination to look at it and see if you can help me figure out what frames need to go (57mb)

http://www.mediafire.com/?6i85yub38uzyram

This is a complicated hobby! :)

Author
Time

Brooks said:

 here's about 100 frames uncompressed from vdub after running the separate fields script if any of you has the free time and inclination to look at it and see if you can help me figure out what frames need to go (57mb)

http://www.mediafire.com/?6i85yub38uzyram

This is a complicated hobby! :)

You shouldn't need to render it to figure out the frames.  Just count by areas of 10s, which is why the later part of the sample script I posted said "Selectevery (10,.....)".  You are literally selecting the the individual frames (which are separated) out of every group of 10.

I had to teach myself how to do this a few years back.  For some reason, I never could find a guide online...and I guess I figured it out by luck.  It is a lot easier than it sounds.  Let me see if I can walk you through it a bit simpler:

1) Start with a basic field-separation script and open it in VirtualDub:

avisource ("yourfile.avi")
separatefields


2) Pick an early set of frames (in the actual movie) which have some movement you can see.  Let's take the "20th Century Fox" logo.  The spotlights move back and forth.  Now, move to a frame in that which ends in "0" (i.e. 270).  The frame numbers are displayed on VirtualDub.

3) Now, slowly go frame-by-frame for 10 frames (i.e. 270 to 280).  You should see a pattern.  2 frames will match, then 3 frames will match, then 2 frames will match, then 3 frames will match.  Your goal is to change that pattern from 2,3,2,3 to all pairs.

4) Grab a pen and write down the pattern based on the last number of the frame (i.e. 0&1, 2&3&4, 5&6, 7&8&9).  You may want to double-check that pattern by slowly moving through the next ten frames.

5) Next, it's time to modify your script to reflect this pattern and actually IVTC the movie.  For the sake of this example, we will use the sample pattern I listed in step 4.  We will throw out the 3rd frame of each group of three in this pattern (i.e. frames 4 and 9).

Update your script by adding the "SelectEvery" and "Weave" functions.  Your pattern will go in the "SelectEvery" function follwing the number "10".  That "10" specifies the number of frames being considered.

avisource ("yourfile.avi")
separatefields
selectevery (10,0,1,2,3,5,6,7,8)
weave

6) Once your script has been modified and saved with the new pattern, reopen the script in VirtualDub.  The fields should be weaved back together into progressive frames.  Now, scan through the film to look for combing.  Because of dropped frames and reel changes, the TC pattern will likely change every so often.  When combing appears, you know the pattern has changed.

7) Create an "mark-out" point where the combing begins and render your video up until that point.  Then, repeat the above steps starting where the new combing began.

8) If you're lucky, there will be no combing and you'll have a single file.  Or, you may wind-up with several videos that you'll need to splice together.

I hope this makes some sort of sense.  Best of luck.

Author
Time
 (Edited)

I have no video editing experience but :-)

It seems to me that this process could be easily automated since you are searching for duplicate frames (relatively easy to compare?).  Is there no software out there to scan an entire video clip and report the IVTC frame drop numbers and where the patterns change?

Author
Time

There's several automatic IVTC filters.

I usually try TFM.TDecimate and if that doesn't work I use SRestore.

"Right now the coffees are doing their final work." (Airi, Masked Rider Den-o episode 1)

Author
Time
 (Edited)

Ok, I've attempted an ivtc.  I don't know if you can tell if it's working on vimeo or not (it looks all stuttery when I stream it on my computer, but my connection is really slow, does vimeo convert back to 30fps??), but here it is on vimeo and mediafire.  Does it look like it worked to you guys?

 

vimeo:

https://vimeo.com/45876395

 

(mediafire link 35mb):

http://www.mediafire.com/?7v3j5k3b362yc5i

Author
Time

Success!

Vimeo has download links so I checked out the big version, and all the frames look progressive and IVTC'd. 

I'm still shocked at the great color, too. This is really cool!