DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   Techniques for Independent Production (https://www.dvinfo.net/forum/techniques-independent-production/)
-   -   Deinterlacing (https://www.dvinfo.net/forum/techniques-independent-production/38539-deinterlacing.html)

Riley Harmon April 6th, 2005 02:50 PM

Im extremely excited to see what avisynth can do for us, its incredibly flexible, but has quite a learning curve, so im interested to see what the tutorial can do for me

Riley Harmon April 6th, 2005 11:34 PM

I was looking around on the doom9 avisynth forums and found a really good thread about 30i to 24p conversions. This german guy made a really darn good conversion if you ask me. He has a link to the video there.

He has scripts and everything that may aide in the tutorial.

I would try it myself but I know absolutely nothing about avisynth and dont even know where to begin. Hopefully Jonathan's tutorial will help out.

Look at the stuff posted by 'scharfis_brain'
http://forum.doom9.org/showthread.php?s=&threadid=92292

Jonathon Wilson April 7th, 2005 09:22 AM

Well, the tutorial's not completely done yet, but Riley sounds eager to get started! (I still need to make links for some of the filters).

So here's a link to the 'alpha' version of an Avisynth Deinterlacing Tutorial:

http://aqua-web.dyndns.org/d/page.ph...hDeinterlacing

Bear in mind that this part of my site isn't available through the 'front door' and that anyone who heads in there is becoming a bit of a Beta Tester :)

Also - this kind of article is meant to help answer questions or make it easier to do these things. If the article doesn't accomplish that, and you have suggestions for things you wish it explained -- and doesn't -- or things you wish it explained better -- just let me know. Plus -- if other people have contributions (scripts, tips, etc.) , I'll certainly include them.

Drew Mandac April 7th, 2005 01:39 PM

Jonathon,
Thank you very much for writing that tutorial...it's excellent!

Drew

Jonathon Wilson April 7th, 2005 03:36 PM

Note -- the current tutorial only covers deinterlacing -- and is aimed at helping get avisynth set up and working.

I'm currently working on the next one, which discusses how to use Avisynth to go from 30i (or 60i depending on how you name it) to 24p... I'm hoping to finish that one by the end of the weekend.

By the way -- does anyone have some MiniDV (interlaced) source, that they'd like to provide for the basis of this tutorial? My old camcorder is too low-res and hurts the results. I'd be happy to use someone's source footage as the basis for the article... I just need a few seconds -- and I'll probably crop in to a small area of the frame.

If worse comes to worse, I can use my crappy old cam -- or generate stuff, but for this tut in particular, I think real MiniDV sources would be the best value for readers.

(Thanks Drew... it's really no problem... I like writing these kinds of things).

Riley Harmon April 7th, 2005 03:38 PM

id be willing to share some source footage, my aim name is FilmmakerFX or send me an email and ill host on my ftp. How detailed is the tutorial going to be, Im probably needing step-by-step stuff because even the basic avisynth stuff is boggling my mind.

Jonathon Wilson April 7th, 2005 03:46 PM

That'd be great, Riley. Sending an email now...

You did see that the deinterlacing tutorial is available, right? Between the 'Avisynth Basics' tutorial and the Deinterlacing one, I hope that its enough to get you going.

If its confusing (and it may be...) let me know. I'll be happy modify it, add some more setup stuff -- whatever.

The basics link:

http://www.aqua-web.com/d/page.php?ID=AvisynthBasics

and the deinterlacing link (again):

http://www.aqua-web.com/d/page.php?I...hDeinterlacing

Ignacio Rodriguez April 7th, 2005 04:11 PM

Is there anything like Avisynth for OS X?

Jonathon Wilson April 7th, 2005 04:14 PM

Unfortunately, no. Avisynth is windows-only, and to my knowledge (and to that of my Mac Os friends), there's no corresponding program over there...

I'd love to be proven wrong on this... anyone else know of something similar for Macheads?

John McManimie April 8th, 2005 10:25 AM

I don't know about a scriptable program like Avisynth, but you might check out JES Deinterlacer (and additonal free tools) for Macs at:

http://www.xs4all.nl/~jeschot/home.html#DEI

Drew Mandac April 8th, 2005 10:46 AM

Johnathon (or any other AVISynth experts). I get CFHD and DVSD fourcc errors. Do you know how I go about telling AVISynth where the decompressors are on my computer? Is there some sort of "include" line that needs to be in the script?

TIA...


EDIT: I seemed to have solved the DVSD error by downloading the Panasonic codec from http://users.tpg.com.au/mtam/install_panvfwdv.htm

Jonathon Wilson April 8th, 2005 02:50 PM

Avisynth relies on the underlying operating system for codec registration. There's no separate avisynth-specific 'registration' of codecs. If it's available to windows, its available to avisynth. However, this varies by the type of source function you use:

AVISource() needs proper VFW (Video For Windows) registration. I've found these to be things like straight uncompressed AVI and HuffyYUV, and little else.

If your codec is a DirectShow codec (which I'm guessing yours are), you'll need to use:

DirectShowSource() instead of AVISource. The big trick here is to specify the framerate of your source material. Given that you're in the USA, I'm guessing your framerate will be 29.970.

Try a line like:

Code:

src = DirectShowSource("C:\MyAviFile.avi", 29.970)
return src


Kyle Edwards April 10th, 2005 12:18 AM

<<<-- Originally posted by Jonathon Wilson : AVISource() needs proper VFW (Video For Windows) registration. I've found these to be things like straight uncompressed AVI and HuffyYUV, and little else.-->>>

Just about everything minus WMV, RM, and Cineform's codec that comes with Premiere. Directshow takes care of that just fine.

Benjamin Durin April 11th, 2005 01:21 AM

Jonathon, your tutorial is great. I already used avisynth to convert some video before but I especially liked the comparison you made of the different filters. I find it very useful. The only reproach I would make is the jpeg compression is too much. The artifacts don't help to compare the filters. Otherwise it's all good !

Jonathon Wilson April 11th, 2005 06:25 AM

new 'Film Look' article available
 
Agreed! It's even worse for movies, as any kind of compression on the video makes it really hard to compare... but making full AVIs available isn't really a possibility unfortunately. However, providing links to PNGs or similar for images is probably a good idea. I'll see if I can do some retrofitting.

By the way -- I've added a new article, which makes an attempt at a 'Film Look' using some footage provided by Riley.

See it here: http://aqua-web.dyndns.org/d/page.php?ID=Avisynth24p

And yep -- the images are JPGs again. They are saved with 100% quality, but there's still compression. Movies also have pretty serious compression, but that's the reality of limited bandwidth.

On another note, Kin provided me with his script for cleaning video using Avisynth and it really works well. I've had the chance to run it, and it has some really nice features -- which I will now be including in my own stuff :) Another advantage for some of you overseas folks -- his original script is for PAL sources. I've adapted it for NTSC and will include links to both versions.

Once I get the time, I'll put another article up showing his approach. Highlights include a nice 'deringer' for removing oversharpening, and good noise reduction, among others.


All times are GMT -6. The time now is 09:01 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2025 The Digital Video Information Network