Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage

Reply
 
Thread Tools Display Modes
Old 14th January 2009, 10:18   #1  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
The power of Avisynth: restoring old 8mm films.


==================================================================
*EDIT*
Update 17/09/2009:

New improved version version of the script, it can be downloaded from here:
http://www.64k.it/andres/data/f/film...ration_v03.rar


This is a full package with all needed plugins, source code included.
With special thanks to buzzqw for helping me with this.

I have also added a small helpfile (not finished yet)
The code is cleaned up, and the script needs less plugins now.
Both sharpening and denoising are improved, too.

Lots of frames, generated with the improved script, can be found on my website.
Please keep always in mind: this is real 8mm film, no video, no digital tape.
==================================================================




I have posted an example clip on Vimeo to show the people the incredible power of Avisynth.

http://www.vimeo.com/2823934

With special thanks to Fizick, Didée, Manao for making these exellent plugins available for all of us.

Special thanks to Josey_Wells too for the multithreaded version.
Averaging more then 4 frames in MVDegrainMulti() works very well for removing film dirt spots.

The example clip is showing the result of a special film restoring script I have made.

The filmtransfer itself was done by me, but that film needs a second wetgate transfer.
There was a dirt spot on the CCD from my camera too. But that's easy enough to fix.

I just could not wait to show you all these first results.

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest

Last edited by videoFred; 18th September 2009 at 10:01.
videoFred is offline   Reply With Quote
Old 14th January 2009, 13:51   #2  |  Link
mikeytown2
Resize Abuser
 
mikeytown2's Avatar
 
Join Date: Apr 2005
Location: Seattle, WA
Posts: 613
Awesome vid, thats quite amazing! It really shows the power of AviSynth. What did you use to stabilize the image, Deshaker?

As a side note, I think AviSynth could use more promotion and how-to's.
http://forum.doom9.org/showthread.php?t=142451
__________________
Computer: E6850, 4GB, 3x500GB, Nvid 8400 GS, 22" LCD & 19" CRT, XP SP3
DV: Panasonic PV-DV910
HDV: Canon HV20

AVS News

AVS Script Editor[AvsP]
Capture HDV[HDVSplit], DV[WinDV]
mikeytown2 is offline   Reply With Quote
Old 14th January 2009, 14:01   #3  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Quote:
Originally Posted by mikeytown2 View Post
What did you use to stabilize the image, Deshaker?
DepanStabilize() of cource! The script does everything in one pass. But I use a special service clip for DepanEstimate().

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 14th January 2009, 14:03   #4  |  Link
halsboss
likes to tinker
 
Join Date: Jan 2004
Location: girt by sea
Posts: 638
Nice Job. Yes, what stabilisation ? Also, could you please post some of your scripts ? It'd be of use to the DV camcorder user base too Thanks.
halsboss is offline   Reply With Quote
Old 14th January 2009, 14:08   #5  |  Link
ankurs
N00B !
 
Join Date: Jun 2006
Posts: 221
awesome work !

i'd love to see the script :P
ankurs is offline   Reply With Quote
Old 14th January 2009, 17:38   #6  |  Link
Blue_MiSfit
fit 10 in 5
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Santa Clara, CA
Posts: 3,665
Very nice!!

~Misfit
__________________
CBR does NOT mean each frame gets the same number of bits!
Blue_MiSfit is offline   Reply With Quote
Old 14th January 2009, 17:59   #7  |  Link
sumawo13
Learning Avisynth user
 
sumawo13's Avatar
 
Join Date: Sep 2008
Posts: 42
Excellent work.
sumawo13 is offline   Reply With Quote
Old 14th January 2009, 18:34   #8  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Thank you all for the kind words so far.

I will post the script here as soon as possible.

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 14th January 2009, 19:31   #9  |  Link
NerdWithNoLife
Registered User
 
NerdWithNoLife's Avatar
 
Join Date: Jul 2007
Posts: 129
It really is a fantastic demonstration. AviSynth is severely overlooked. I've seen other forums, where basically the advice goes like this: get a Mac. Get Final Cut Pro. Buy expensive stuff. But on the fundamentals of video and compression, the majority of people are clueless. I know a guy who works on video all the time (he's the video guy for a local institution) and he didn't know that film is 24fps and US TV is [approximately] 30. I don't say this to slam anyone, for we're all students at some level, it's just a shame they aren't getting more out of software/equipment that can cost thousands. Not every video should be processed with the same one-size-fits-all settings.
__________________
f=33
NerdWithNoLife is offline   Reply With Quote
Old 14th January 2009, 20:40   #10  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,616
@videoFred,

I think it would be a great idea to write a guide about this subject on avisynth.org (ie about restoring old 8mm films)! I hope you are interested and i will help you if necessary.
Wilbert is offline   Reply With Quote
Old 14th January 2009, 21:32   #11  |  Link
EuropeanMan
Registered User
 
Join Date: Nov 2006
Posts: 520
wow - just saw the clip - AMAZING - specially the trains...what a difference

can't wait to see the script and the tools for your colour corrections.
EuropeanMan is offline   Reply With Quote
Old 15th January 2009, 07:22   #12  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Quote:
Originally Posted by NerdWithNoLife View Post
AviSynth is severely overlooked.
Yes it is! That's why I have uploaded this clip on Vimeo in the first place.
The second reason was to show the quality from the old double-8mm film system.

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 15th January 2009, 07:24   #13  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Quote:
Originally Posted by Wilbert View Post
I think it would be a great idea to write a guide about this subject on avisynth.org
OK Wilbert, I will send you a PM.

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 15th January 2009, 14:20   #14  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
*EDIT 16/09/2009*
The updated script is available for download now.
Please see top of this thread.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest

Last edited by videoFred; 16th September 2009 at 09:30.
videoFred is offline   Reply With Quote
Old 15th January 2009, 15:48   #15  |  Link
jollye
Registered User
 
Join Date: Oct 2006
Posts: 40
Hi,

That's really an amazing result. However I've noticed that when we pause the movie (for example on the cactus trees), there seem to be no details in the source. As it's impossible to get details that weren't present in the original, I suspect it's a compression side effect. It looks as if the original image is more compressed than the processed one.

Do you have an explanation?

Thanks
jollye is offline   Reply With Quote
Old 15th January 2009, 17:23   #16  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Hello Jollye,

The old double-8mm film frame format is very tiny: 4.20x3.60mm. And because of the used anamorphic lens, that film was not so sharp to begin with. I have seen better. Second, I have captured the film with gamma set pretty high on my machine vision camera. It's a trick to be able to capture the dynamic range of real film.

So yes, the compression from my mpeg4 example clip is removing some detail from the original indeed.


Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 15th January 2009, 19:45   #17  |  Link
smok3
videographer
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 1,703
Quote:
Originally Posted by videoFred View Post
So yes, the compression from my mpeg4 example clip is removing some detail from the original indeed.
Fred.
And you were doing so well..., you do understand that this single fact actually breaks all the 'movie magic' ?
smok3 is offline   Reply With Quote
Old 16th January 2009, 06:20   #18  |  Link
tedkunich
Potentate
 
Join Date: Mar 2003
Posts: 211
Quote:
Originally Posted by videoFred View Post
Here is the script:

Code:
# film restoring script by videoFred.

CLeft=30  CTop=30  CRight=30  CBottom=30  #crop values after Depan and before final resizing (40,30,40,30)
All suggestions to improve it are welcome.

Fred.
Fred,

One recommendation is to make the crop values multiples of 8 - LSF corrupts the output with the non-mod8 crop. (at least with my original 1008x1008 source (cropped HDV cam output))

I'm looking to replace the MVxxxMulti calls with Fizick's MVToolsV2 equivalents

Thanks again.

Ted
tedkunich is offline   Reply With Quote
Old 16th January 2009, 07:48   #19  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Quote:
Originally Posted by tedkunich View Post

One recommendation is to make the crop values multiples of 8 - LSF corrupts the output with the non-mod8 crop.
Good hint! I did not realise this because it works without error messages. My machine camera source is 1024x768. When cropping 30 pixels on each side I get 964x708. But 960x704 would be better indeed. I will test this at once.

Quote:
I'm looking to replace the MVxxxMulti calls with Fizick's MVToolsV2 equivalents
I have several versions of the script here, including with MVToolsV2.. with the 'super' clip. Works very fine too.

Thank you Ted and more tips are very welcome.

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Old 16th January 2009, 07:56   #20  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Belgium, Europe
Posts: 303
Quote:
Originally Posted by smok3 View Post
And you were doing so well..., you do understand that this single fact actually breaks all the 'movie magic' ?
It's an internet upload! Easy to download for everybody.

It shows very well the effect from the script.

Fred.
__________________
Using Avisynth/virtualDub for this:
http://www.super-8.be
Example clips:
http://www.vimeo.com/user678523/videos/sort:newest
videoFred is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 18:45.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.