Page 1 of 1

What's the simplest way to remove overscan?

Posted: 14 Feb 2008 07:00
by krystal_pepsi
Quick rundown:
- Dell Optiplex GX1/PIII/512MB RAM
- Onboard ATI Rage 128/Rage Pro Turbo 8MB AGP (2x)
- Avermedia DVD EZMaker PCI using S-Video input
- Onboard Crystal Audio I/O
- Windows 2000 SP4
- DirectX 9.0c

Standard 4:3 US NTSC coming from a Comcast-owned Motorola cable box via s-video.

I use the following batch file to start VLC and watch TV:
(Added newlines for clarity)

Code: Select all

CD \PROGRA~1\VIDEOLAN\VLC\ vlc.exe -f dshow:// :dshow-vdev="TV Capture Card 7130" :dshow-adev="Crystal WDM Audio" :dshow-size="640x480" :dshow-caching=200 :no-dshow-config :no-dshow-tuner :dshow-video-input=2 :dshow-audio-input=3 :dshow-video-output=-1 :dshow-audio-output=-1 --filter=deinterlace --deinterlace-mode=blend
Specifically, I want to be able to either zoom the whole screen, or add thin black bars to the top and bottom, to get rid of what I'm guessing is the closed-captioning telemetry that flickers at the top of the screen. I got as far as adding --custom-crop-ratio=(whatever), but it doesn't seem to be fine enough to do it (I'm estimating that 3.8:3 would do it, but it seems to only be able to go by the half (x.5).)

Thanks in advance!

Re: What's the simplest way to remove overscan?

Posted: 14 Feb 2008 15:36
by krystal_pepsi
Alrighty, a little more digging and I found this:viewtopic.php?f=14&t=11352, which works,
The relevant part now looks like

Code: Select all

--filter=deinterlace --deinterlace-mode=blend --filter=crop --crop-geometry="640 x 475 + 0 + 5"
And while it does crop, it no longer deinterlaces. I suspect this has to do with the windows-specific syntax, which is why I didn't move it to the general area.
Can anyone help me figure out how to have my deinterlace and crop it too? :)

Re: What's the simplest way to remove overscan?

Posted: 14 Feb 2008 19:06
by Jean-Baptiste Kempf
--filter= crop, deinterlace ?

Re: What's the simplest way to remove overscan?

Posted: 16 Feb 2008 05:25
by krystal_pepsi
Thanks very much, but I'm not quite there yet.
--filter= crop, deinterlace ?
Same effect, cropping works but deinterlace still has to be started manually.
(--filter=(SPACE)crop etc doesn't work at all, again I assume it's windows syntax, removing the space gets it at least to recognize)

It seems erratic, here's what I've tried so far:
--filter=crop, deinterlace - crops, does not deinterlace
--filter=deinterlace, crop - crops, does not deinterlace
--filter=crop,deinterlace (without the space) - no effect (ignored?)
--filter=deinterlace,crop (without the space) - no effect (ignored?)
--filter="deinterlace, crop" - deinterlaces, does not crop (weird, yeah?)
--filter="crop, deinterlace" - crops, does not deinterlace
--filter="deinterlace,crop" (without the space) - deinterlaces, does not crop
--filter="crop,deinterlace" (without the space) - crops, does not deinterlace

Anyone else care to verify?
Some of these that do crop don't let you even deinterlace manually.
As a side note, plugging an odd number into the crop geometry (ie "640 x 475 + 0 + 5") crops, but screws up the color. The only way I can describe it is that the yellow channel is separated and wrapped halfway across the picture horizontally. I assume it has to do with VLC trying to crop a half a pixel (5/2=2.5). No big deal, just thought it was worth mentioning.

Re: What's the simplest way to remove overscan?

Posted: 01 May 2008 06:20
by BrentNewland
Sorry to bump an old topic, but try using --filter=crop:deinterlace

I've been trying to fix what I think is overscan when watching video files in VLC (a broken bar of white/gray a few pixels tall flashes rapidly when video is playing, flashes slowly when paused). When enabling both crop and deinterlace filters, I noticed it showed crop:deinterlace for the filters.