VideoHelp Forum




+ Reply to Thread
Results 1 to 7 of 7
  1. Member
    Join Date
    Oct 2005
    Location
    United Kingdom
    Search Comp PM
    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?
    Quote Quote  
  2. I'm a MEGA Super Moderator Baldrick's Avatar
    Join Date
    Aug 2000
    Location
    Sweden
    Search Comp PM
    and the error msg is?
    Quote Quote  
  3. 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.
    Quote Quote  
  4. Member
    Join Date
    Oct 2005
    Location
    United Kingdom
    Search Comp PM
    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."
    Quote Quote  
  5. Member
    Join Date
    Oct 2005
    Location
    United Kingdom
    Search Comp PM
    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.
    Quote Quote  
  6. 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.
    Quote Quote  
  7. Member
    Join Date
    Oct 2005
    Location
    United Kingdom
    Search Comp PM
    Once more, thanks - pure gold for a newbie such as I!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!