Page 1 of 1

Green line under the picture.

Posted: 09 Aug 2005 23:10
by django29
Somebody knows why I have always a green line under the picture in VLC, even in full screen ?

Thanks.

Posted: 10 Aug 2005 06:55
by zcot
are you using the latest version?

OpenGL video output?

What kind of files? mpg? avi? mov?

Have you tried different output settings?

Green line under the picture

Posted: 10 Aug 2005 09:02
by django29
VLC Version : 0.8.2.

I don't know if it's OpenGL output (and I don't know what it means)

The files are mpeg 2. 1280X720 pix.

There is hundreds of settings incomprehensible.

I tried VLC because Windows Media Player could not play these files.

Green line under the picture

Posted: 10 Aug 2005 10:14
by django29
A detail :

I have not this green line under my mpeg2 captures from my FX1 Sony (1440X1080 interlaced). Only with these captures converted in 1280X720.

Posted: 10 Aug 2005 15:04
by The DJ
MPEG allows you to have a smaller 'visible' output then the actual 'decoded' output. Basically applications should do automatic cropping on these files. VLC currently cannot do this.

Green line

Posted: 10 Aug 2005 17:43
by django29
Among the hundreds of settings that I don't understand, is their one that can change the colour of the green line in black ?

And why does the deinterlace (blend or others) does'nt work with my files converted in 720X1280 (in Ulead Mediastudio pro), and it works with the captures in 1080X1440i (1920) ?

Thanks.

Posted: 11 Aug 2005 09:01
by zcot
though vlc does not current offer this more intelligent type of automatic cropping there are a couple of manual solutions..

perhaps autocrop will cut enough of the line away(the unwanted green must be very small)?

to add on the commandline it would be:

Code: Select all

--vout-filter crop --autocrop
maybe you want to do full cropping and use this commandline switch:

Code: Select all

--crop-geometry
Here's a commandline example where a video is 186 x 130.. there is a green line on the right side of the screen and a larger strip across the bottom that is blurry.. here's the solution:

Code: Select all

vlc.exe --vout-filter crop --crop-geometry "180 x 120 + 0 + 0"
(this makes the vid width = 180, and the height = 120, and starts the crop at pixel coordinate 0, 0 which is x then y)

You can accomplish the same thing from the GUI.. in the crop geometry box you would type -> 180 x 120 + 0 + 0

Re: Green line under the picture.

Posted: 11 Jun 2009 15:26
by tatoosh
can someone please help me, i dont get a result to do this:
want to crop autmatically doesnt work - i tried this (%1 is my file opened by batch)

C:\Portable\VLC\vlc.exe %1 --autocrop --croppadd-croptop=55 --croppadd-cropbottom=55 --croppadd-cropleft=10 --croppadd-cropright=10

thx

Re: Green line under the picture.

Posted: 11 Jun 2009 16:21
by Arite
--autocrop is for automatcially cropping black bars/borders and is a prat of the vout cropping filter. Instead you want to enable the crop filter, so e.g.:

Code: Select all

vlc --vout-filter crop --croppadd-croptop 55 --croppadd-cropbottom 55 --croppadd-cropleft 10 --croppadd-cropright 10 INPUT
Where INPUT is you input (so %1). You can use "=" instead of spaces too if you prefer.

In theory that should work however doesn't appear too :?. Might be a bug.

If you want to just autocrop:

Code: Select all

vlc --vout-filter crop --autocrop INPUT
There are more options (for setting e.g. max ratio etc.):

Code: Select all

Crop video filter --crop-geometry <string> Crop geometry (pixels) Set the geometry of the zone to crop. This is set as <width> x <height> + <left offset> + <top offset>. --autocrop, --no-autocrop Automatic cropping (default disabled) Automatically detect black borders and crop them. (default disabled) --autocrop-ratio-max <integer [0 .. 15000]> Ratio max (x 1000) Maximum image ratio. The crop plugin will never automatically crop to a higher ratio (ie, to a more "flat" image). The value is x1000: 1333 means 4/3. --crop-ratio <integer [0 .. 15000]> Manual ratio Force a ratio (0 for automatic). Value is x1000: 1333 means 4/3. --autocrop-time <integer> Number of images for change The number of consecutive images with the same detected ratio (different from the previously detected ratio) to consider that ratio chnged and trigger recrop. --autocrop-diff <integer> Number of lines for change The minimum difference in the number of detected black lines to consider that ratio changed and trigger recrop. --autocrop-non-black-pixels <integer> Number of non black pixels The maximum of non-black pixels in a line to consider that the line is black. --autocrop-skip-percent <integer [0 .. 100]> Skip percentage (%) Percentage of the line to consider while checking for black lines. This allows to skip logos in black borders and crop them anyway. --autocrop-luminance-threshold <integer [0 .. 128]> Luminance threshold Maximum luminance to consider a pixel as black (0-255).
Also, as zcot said above, if you want to crop a specific region do:

Code: Select all

vlc --vout-filter crop --crop-geometry WxH+L+T
Where W = width, H = height, L = pixel shift from left, T = pixel shift from top.

The two latter commandlines work correctly.

Arite.

Re: Green line under the picture.

Posted: 11 Jun 2009 18:22
by tatoosh
Okay thanks for your suggestions.
ill check it out later.
whit this command i can firstly work: --crop=16:9 --aspect-ratio=16:9
that fits my MPEG2 records to nearly fullscreen.

Re: Green line under the picture.

Posted: 14 Jul 2011 18:43
by calande
This option doesn't work:

--vour-filter crop --crop-geometry

Re: Green line under the picture.

Posted: 16 Jul 2011 13:54
by VLC_help
What parameters you set to crop-geometry?

Re: Green line under the picture.

Posted: 16 Oct 2011 20:26
by Sidewindr
This option doesn't work:

--vour-filter crop --crop-geometry

Please use some logic and read what you are typing rather than blind cut and paste .. it's obviously a typo and --vour-filter crop should have been --vout-filter... :roll:

Re: Green line under the picture.

Posted: 16 Oct 2011 21:57
by Arite
it's obviously a typo and --vour-filter crop should have been --vout-filter... :roll:
Cheers, fixed in my post :).

Arite.