VideoHelp Forum




+ Reply to Thread
Results 1 to 9 of 9
  1. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Without getting into the pros & cons of deinterlacing, does anyone know how to insert a deinterlace filter into the workflow that I'm using?
    I'm coverting .wtv files to mpg and was wondering if a deinterlacer would work in the Graph, inasmuch as the two DirectShow filters (shown in the image) either refuse to co-operate or crash the program - and where would it connect in the graph.
    Looking for something similar to the Yadif filter used in VirtualDub2.
    Image Attached Thumbnails Click image for larger version

Name:	Clipboard01.jpg
Views:	69
Size:	53.8 KB
ID:	57776  

    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Perhaps you can get LAV filters into the graph and use their de-interlacing options
    Image Attached Thumbnails Click image for larger version

Name:	lav.png
Views:	39
Size:	12.5 KB
ID:	57780  

    Quote Quote  
  3. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Thank you for that hint - and yes it does what I want but the only way I can get output is to use the HAALI Matroska filter hard wired to the decoders and the resultant files are huge.
    The DirectShow codecs that I try,error-out when I initially insert them or crap out when I start the graph.

    Image
    [Attachment 57787 - Click to enlarge]
    Quote Quote  
  4. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    What is that filter on the right? I can only assume LAV is providing uncompressed video to that filter
    (there is no re-encoding step)
    Can you provide a sample interlaced wtv file? If so just upload it here
    Quote Quote  
  5. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    The filter on the right is HAALI MKV Muxer.
    It's the only filter I could use to get an output file.
    The sample is just a few frames .The wtv file was opened in VDub2 and saved as uncompressed.
    If the Yadif Deinterlace filter is applied (default values), the output pane will show the resultant lines removed.
    Sorry the sample is so short, but those few frames took twenty minutes to upload from my DSL.

    https://www.mediafire.com/file/m0f6ga78wp37z5y/video.avi/file
    Quote Quote  
  6. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    Yeah that's too short.
    Perhaps there's another way. Create a graph but leave the last pin missing,
    file/save as graph (eg. save the .grf on the desktop)
    Create a simple one line Avisynth script to open it with directshowsource like this:
    Code:
    directshowsource("C:\Users\davex\Desktop\g2.grf",audio=no)
    Open the script in Virtualdub2 and re-encode (after first setting the deinterlace filter etc.)
    Image Attached Thumbnails Click image for larger version

Name:	ge1.png
Views:	27
Size:	10.7 KB
ID:	57788  

    Last edited by davexnet; 12th Mar 2021 at 18:03.
    Quote Quote  
  7. Member
    Join Date
    Mar 2015
    Location
    Europe
    Search Comp PM
    There is also an utility named VDfilter from infognition that can eventually be used and does allow to use vdub filters and in vdub you have several deinterlace alternatives.

    "VDFilter is a DirectShow transform filter which allows to use VirtualDub filters in DirectShow applications such as GraphEdit, GraphEditPlus or your own".

    http://www.infognition.com/VDFilter/

    Never used it so cannot confirm it works as described but it will be easier to make a test and see for yourself
    Last edited by FLP437; 12th Mar 2021 at 18:56.
    Quote Quote  
  8. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    Thank you both for your kind assistance.
    @FLP437

    The VDub filter works - but it insists on hooking in the Lav Video Decoder (which has the deinterlacer included) so opening the graph in VDub to deinterlace again would be redundant, and it is deperately slow (3.5 fps).


    @davenext
    As per your suggestion I created an AVS script to open the graph in VDub.
    Note that the Lav Video Decoder is automatically inserted which creates the same situation as above - although processing is speeded up to real time.

    My aim is still to have the deinterlacing completed and the wtv file output as .mpg using the Moonlight Muxer filter (or similar).
    I'm not proficient enough using the graphing programme to figure how.

    Cheers!

    Image
    [Attachment 57803 - Click to enlarge]


    Image
    [Attachment 57804 - Click to enlarge]
    Quote Quote  
  9. Member
    Join Date
    Dec 2005
    Location
    Canada
    Search Comp PM
    I gave up on the VD Filter because of problems invoking it.
    Instead I opted to make two separate graphs (one for audio and one for video)
    The video graph using the LAV video Decoder was set to deinterlace the source.wtv file.
    An .avs file calling both graphs was opened in VirtualDub to resize and export.

    V=DirectShowSource("C:\Users\Superuser\Desktop\Wor king Graph\pin open.grf", audio=False) # video only (audio renderer removed)
    A=DirectShowSource("C:\Users\Superuser\Desktop\Wor king Graph\pin opena.grf", video=False) # audio only (video renderer removed)
    AudioDub(V, A)
    Image
    [Attachment 57841 - Click to enlarge]


    Image
    [Attachment 57842 - Click to enlarge]
    Quote Quote  



Similar Threads

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