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 Search this Thread Display Modes
Old 14th January 2009, 10:18   #1  |  Link
videoFred
Registered User
 
videoFred's Avatar
 
Join Date: Dec 2004
Location: Gent, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
The power of Avisynth: restoring old 8mm films.

UPDATE 20/06/2012
-------------------------


Newest version of the script:
http://www.super-8.be/avisynth/Film_...vs_06_2012.zip

- improved autolevels
- improved stabilisation
- improved sharpening
- less plugins
- plugins are now in "plugins' folder.
- better helpfiles



=================================================================

UPDATE 06/06/2011
--------------------

The script discussed in this thread only works good with high quality film transfers.
The digital source must be progressive and there should be no duplicate frames.

Many people, however, are having already a digital transfer of their old 8mm films on DVD.
My script is useless here. But you can use some parts of it.
For those people, FPP has made this exellent thread:
http://forum.doom9.org/showthread.php?t=161493

===================================================================







ORIGINAL POSTING 14th january 2009:
-----------------------------------------
I have posted an example clip on Vimeo to show the people the incredible power of Avisynth.



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.

Last edited by videoFred; 20th June 2012 at 14:00.
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: 623
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
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
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.
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: 635
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: 223
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
Derek Prestegard IRL
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 5,290
Very nice!!

~Misfit
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: 80
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
Thank you all for the kind words so far.

I will post the script here as soon as possible.

Fred.
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: 155
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: 6,293
@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: 660
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
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.
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
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.
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
*EDIT 16/09/2009*
The updated script is available for download now.
Please see top of this thread.

Last edited by videoFred; 16th September 2009 at 08:30.
videoFred is offline   Reply With Quote
Old 15th January 2009, 15:48   #15  |  Link
jollye
Registered User
 
Join Date: Oct 2006
Posts: 43
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
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.
videoFred is offline   Reply With Quote
Old 15th January 2009, 19:45   #17  |  Link
smok3
brontosaurusrex
 
smok3's Avatar
 
Join Date: Oct 2001
Posts: 2,373
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' ?
__________________
certain other member
smok3 is offline   Reply With Quote
Old 16th January 2009, 06:20   #18  |  Link
tedkunich
Potentate
 
Join Date: Mar 2003
Posts: 219
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
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.
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, Flanders, Belgium, Europe, Earth, Milky Way,Universe
Posts: 583
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.
videoFred is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 11:37.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2017, vBulletin Solutions Inc.