I've been looking to do some high quality divx backups using the 50fps deinterlace smooth filter as described on www.100fps.com.
Having overcome a number of avisynth/virtualdub problems already (first time using AVS) I thought I had cracked it by using a combo of DGIndex and the following script:
LoadPlugin("C:\Documents and Settings\My Documents\Downloads\Programs\dgmpgdec148\DGDecode. dll")
video=mpeg2source("C:\SONY_DVD_RECORDER_VOLUME\Vob clip.d2v")
audio=wavsource("c:\SONY_DVD_RECORDER_VOLUME\Vobcl ip T01 2_0ch 256Kbps 48KHz.wav")
audiodub(video,audio)
separatefields
Virtualdub-MPEG2/VirtualdubMOD (tried both) load this up fine so that I can add the deinterlace smooth filter, null transform to crop black areas of the 720x576 by 16 all the way round and finally a resize filter (to 640x360) before setting up the 2 pass in divx pro 6.2.
All I get for my trouble is an error before it moves straight onto the next job in the queue.
Anyone know what I'm missing?
+ Reply to Thread
Results 1 to 7 of 7
-
-
Hi-
Why defeat the purpose of using AviSynth as the frameserver by then using VDub filtering and slowing the encoding and getting inferior results? Do everything inside of the AviSynth script and use Fast Recompress in VDub (Video->Fast Recompress). Handle the audio separately:
LoadPlugin("C:\Documents and Settings\My Documents\Downloads\Programs\dgmpgdec148\DGDecode. dll")
LoadPlugin("C:\Path\To\LeakKernelDeint.dll")#fill in correct path and name
mpeg2source("C:\SONY_DVD_RECORDER_VOLUME\Vobclip.d 2v")
LeakKernelBob(Order=1) #if TFF
Crop(16,16,-16,-16) #crop 16 pixels all around
LanczosResize(640,360)
The results will be better than separating the fields and then running it through the Smooth Deinterlace filter. By the way, cropping the video by 16 pixels all the way around and then resizing the way you want will introduce some amount of Aspect Error (not much, though). With a 25fps source, that'll give you 50fps output. You can find LeakKernelDeint at the bottom of this page:
http://neuron2.net/kerneldeint/kerneldeint.html
And for me, "high quality divx backups" and 100fps.com are contradictory. -
Hi Manono and thanks, I really appreciate the help and will definately try that.
I am really only a novice and thought this might be the best method seeing as the author didn't seem to be using Avisynth exclusively.
Isn't 16 the magic number when cropping? Or have I got it wrong?
If you have any other advice on best practice I'd be interested as I am in the process of freeing up space on my HDD recorder by encoding all my favourite films to avi.
Baldrick: Error message was just that, "error" followed by a dialog box that seemed to do some rapid loading or something and was labelled "planning strategy." -
Hi, me again.
Just wanted to say thanks once again. It worked a treat and was a real eye opener. I'll definately look at avisynth more closely for my future processing needs.
I still got the error at first, although it occured to me that I should try encoding with xvid and low and behold everything worked fine.
Looks like it was a divx related problem afterall and not my scripting skills. -
Hi-
Good going, although I don't understand why it would work for XviD and not for DivX. Maybe DivX doesn't like Bobbed video?
As for adding the black around the outside, the crop/resizer in GKnot says to do it this way :
LeakKernelBob(Order=1) #if TFF
Crop(16,16,-16,-16)
LanczosResize(640,352)
This is assuming you have exactly 16 pixels of black around the entire video which has to be cropped away.Even that has a certain amount of Aspect Error, and it further recommends:
Crop(20,16,-20,-16)
LanczosResize(640,352)
for getting the error down to 0. I recommend using it for finding crop and resize values. You make the D2V in DGIndex, open the D2V in GKnot, and go to the Resolution Tab to crop and resize.
Similar Threads
-
What deinterlace method to choose for virtualdub?
By muffinman123 in forum Capturing and VCRReplies: 7Last Post: 6th Sep 2011, 14:06 -
VirtualDub Deinterlace Filter yadif vs blend
By kreg in forum Capturing and VCRReplies: 1Last Post: 22nd Jul 2011, 12:42 -
Virtualdub + Deinterlace?
By CactusMan in forum Newbie / General discussionsReplies: 10Last Post: 17th Jan 2010, 19:09 -
Error with Xvid4PSP when converting MKV to AVI (VirtualDub Error)
By Peter25 in forum Newbie / General discussionsReplies: 1Last Post: 9th Apr 2009, 18:10 -
VirtualDub Smart Deinterlace filter vs Xvid option
By StealthKing in forum DVD RippingReplies: 16Last Post: 17th Aug 2007, 11:37