Deinterlacing

Prev

Next

 






































































































Deinterlacing

Description

DEINTERLACING


A) Deinterlacing through the VMR9 video renderer

If you don't need to capture frames or perform graphics or text overlays, set FrameGrabber = fg_Disabled and VideoRenderer = vr_VMR9, then the VMR9 will deinterlace the video automatically, to need to enable anything else.

B) Deinterlacing by enabling the VideoProcessing_Deinterlacing property

The deinterlacing is activated by the VideoProcessing_Deinterlacing property, that accepts the following values:

di_Disabled : deinterlacing is disabled (embedded)
di_HalfSize : built-in half-size deinterlacing (embedded)
di_FullSize : built-in full size deinterlacing (embedded)
di_DScaler : deinterlacing through the DScaler deinterlacer (third-party filter).
di_AVISynth : deinterlacing through AVISynth (third-party library, AVISynth must be installed)
di_FFDShow : deinterlacing through FFDSHOW (third-party library, FFDSHOW must be installed)
di_ThirdPartyDeinterlacer: deinterlacing by using a third-party deinterlacer specified by name to the ThirdPartyDeinterlacer property

Deinterlacing through the built-in deinterlacer

di_HalfSize: performs a half-size deinterlacing,
di_FullSize: performs a full size deinterlacing (the frame grabber must be enabled)

Deinterlacing through FFDSHOW

- FFDSHOW must be installed (see Video and Audio decoders)
- set VideoProcessing_Deinterlacing = di_FFDSHOW

then start the preview, recording or playback.

Deinterlacing through AVISynth

The deinterlacing through AVISynth produces a very good quality, however it is available only for video clips, not for a video capture device being captured.

- download AVISynth 2.5 or higher (the .exe version) from http://avisynth.org
- install AVISynth with its default options
- set VideoProcessing_Deinterlacing = di_AVISynth

then open the clip a normal way, e.g.:

VideoGrabber.PlayerFileName = "...the video clip.avi"
VideoGrabber.OpenPlayer

and the video clip will be deinterlaced automatically in the background through this library.

Deinterlacing through a specified deinterlacer filter

Register the deinterlacer filter with regsvr32.exe, then it will appear in the DirectShowFilters list after restarting the application.

Then invoke:
VideoGrabber.ThirdPartyDeinterlacer = "....." // specify the deinterlace filter name as it appears in the DirectShowFilters list
VideoGrabber.VideoProcessing_Deinterlacing = di_ThirdPartyDeinterlacer

Deinterlacing through DScaler

TVideoGrabber supports the DScaler deinterlacer, however we do not recommend it.

You have to use the Deinterlace120ax.zip package that can be downloaded here:
http://sourceforge.net/project/showfiles.php?group_id=7420

Simply unzip the package and register the filter by running regsvr32.exe Deinterlace.ax

The DScaler deinterlacer must be activated as follows:

- set VideoProcessing_Deinterlacing = di_DScaler
- invoke ShowDialog (dlg_DScaler) to adust the deinterlacer settings.
- then invoke StartPreview to see to changes.

Remark: when using a DV source, if you get either:
- a interlacing that looks like colored snow in 8 bits colors
- frozen video frames (e.g. one each 2 seconds)
use the following settings:
- set DVReduceFrameRate = true
- you may have to check or uncheck the "Is Odd field first" checkbox
- you may have to choose another deinterlacing method than the default one.



Important notes:

1. with DV sources, be sure to alway select the "full" video size in the VideoSizes list, whatever the deinterlacing method used.

2. if applying deinterlacing on the recording, be sure to disable it during playback, otherwise it will be applied 2 times, e.g.:
-> you start DV preview in full size,
-> you apply half-size deinterlacing during capture, OK.
-> therefore the AVI clip contains half size video, OK.
-> you forget to disable the half-size deinterlacing before opening the clip, the half-size deinterlacing is applied a 2nd time -> WRONG
-> the AVI clip appears as quarter-size