logo Sign In

Deinterlacing with Avisynth

Author
Time
I'm trying to deinterlace footage in an avs file so I can import it into premiere. I downloaded Decomb521.dll and I'm not sure, but I think I'm not writing the avs file correctly:

LoadPlugin("ABOSLUTE PATH TO MPEG2DEC.DLL\MPEG2DEC.DLL")
MPEG2Source("ABSOLUTE PATH TO THE DVD2AVI PROJECT FILE\PROJECT FILENAME.d2v")
LoadPlugin("ABSOLUTE PATH TO DECOMB.DLL")
Telecide()
Decimate(5)

I'm working off of Ermac's guide here. Anyway I've managed to get the video into Premiere Pro, but I either get a blank screen (which the guide tells me to resize the moniter window until I see the image, which I never do) or I get what really looks like the image, just all split up into horizantal lines I guess. So I figure it's something wrong with the interlacing. If anyone can help that's be great.

Here are the versions I'm using
DGIndex 1.4.6.0
Avisynth: 2.56

Spaced Out - A Stoner Odyssey (five minute sneak peek)

Author
Time
I assume you installed the AVISynth Import Plugin for Premiere, mentioned in that guide?

You can confirm the script is working by opening in VirtualDub. Or, trim it to the basics: comment out the last 3 lines (put a # in front of them) and try opening in your media player.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
Maybe I should mention the Decomb plugin filename is Decomb521.dll--is that a different version? might that be interfering with my results?

I do have the im_avisynth plugin or whatever its called and the cm_avisynth plugin or whatever that one's called. The avs file opens in both windows media player and virtualdub without the problems I'm having in premiere. And I added the # to the last three lines.

----------------------------------------------------------
Add-On to earlier whining about blank screen:
So I have that black screen. I set the clip in "interpret footage" to square pixels, "deinterlace" is checked in the clip's "frame hold" options, and "always deinterlace" is checked in the clip's "field options." I then open the clip in the source moniter and set the zoom to 100% and get an image--the slanted streached lines of interlaced video I assume.
----------------------------------------------------------

Okay so that add-on's probably a tad redundent, but basically I still can't see the deinterlaced...well here:

http://content.bolt.com/uploads/photo/4/7/3/473/medium/1144050119856.jpg


Is this even an interlaced image? Am I even asking the right questions? Thanks.

Spaced Out - A Stoner Odyssey (five minute sneak peek)

Author
Time
The version of decomb I have is 5.2.2, but I don't think that's your problem.

It looks like Premiere is not reading the file correctly (the "slanted" lines are not interlacing artefacts, what you are seeing is just corrupt video).

Never having used Premiere before I can't offer a lot of advice; the only suggestion I can make is to open the AVS file in VirtualDub, and save out a lossless (huffyuv) AVI file (if you have the space). Then see if Premiere will read the AVI.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
211GB sounds like uncompressed RGB.

Do you have huffyuv installed? 2 hours of video saved with huffyuv lossless compression would be roughly about 80GB.

The folks at the Doom9 forums might be able to help you with the Premiere issue.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
You can find the latest version of the Decomb package at neuron2.net. I'd advice you not to deinterlace because that way you retain motion fluidity. If you must deinterlace, then the best way available right now is:


[code]For TFF Clips:
Interp = SeparateFields().SelectEven().EEDI2(field=1)
TDeint(order=1,field=1,edeint=Interp)

For BFF Clips:
Interp = SeparateFields().SelectEven().EEDI2(field=0)
TDeint(order=0,field=0,edeint=Interp)[/code]


You need TDeint and EEDI2, which you can find at the Doom9 forums.
Author
Time
try what Byakko says,that is what i use now,it is a little slow but looks and works great.
DJ
Author
Time
Originally posted by: Moth3r
211GB sounds like uncompressed RGB.

Do you have huffyuv installed? 2 hours of video saved with huffyuv lossless compression would be roughly about 80GB.

The folks at the Doom9 forums might be able to help you with the Premiere issue.


Oh I feel like an idiot--yeah I have huffyuv I just wasn't using it, 80 gigs is still too big, but thanks for clearing that up for me. I'll head to Doom9 and see what they have to say (maybe I won't deinterlace after all--besides it really hasn't turned out to be why I'm screwing this up, thanks though).

Spaced Out - A Stoner Odyssey (five minute sneak peek)

Author
Time
this place and Doom9 are the best internet hangouts
DJ