How to crop and resize?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

How to crop and resize?

Postby BRotondi » 08 Jan 2011 23:22

Hello

I want to cut 960 Pixels from the right and the stretch the video so it has more or less double width.

Tried everything but do not get it to work... Any ideas? (Settings, Command Line, Script, ...)

Or is there a way to resize the VLC-Window and Video without forcing aspect ratio? This would help also!

Thanks!
Bruno

sylvia.plath
New Cone
New Cone
Posts: 3
Joined: 05 Jan 2011 01:37

Re: How to crop and resize?

Postby sylvia.plath » 09 Jan 2011 04:16

and pan-scan?

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 09 Jan 2011 12:01

and pan-scan?
How? What I primarily need is a the horizontally stretch...

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to crop and resize?

Postby VLC_help » 09 Jan 2011 17:02

There are crop and croppadd filters.

viewtopic.php?f=14&t=67740&p=233793&hil ... dd#p234226 (in case you want to transcode)

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 09 Jan 2011 17:42

Thanks. I had a look. But I don't want to create a new file, only play the current and stretch it. Is there no way?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to crop and resize?

Postby VLC_help » 10 Jan 2011 17:54

Yes, but you have to enable those filters via Tools -> Preferences (Show settings: All) Video -> Filters

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 10 Jan 2011 21:52

Thanks for your help!

I tried it in all variations, but really no effect:
ImageImage
What's wrong?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to crop and resize?

Postby VLC_help » 11 Jan 2011 15:12

Did you try from Video output filter module section? (also restart VLC after Save)

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 11 Jan 2011 15:41

I always restart when testing since some settings have no effect until restart.

Which one do you mean / where is this "output filter module section"?

I tried also
right click > Inteface > Effects and Filters (Ctrl-E).
Image
This Crop works, but has no stretch.

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to crop and resize?

Postby VLC_help » 12 Jan 2011 16:22

"output filter module section"?
As you see in your screenshot, there are two places where you can select the filters you want to apply, Video output filter module and Video filter module.

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 12 Jan 2011 21:59

Do you mean
Inteface > Effects and Filters (Ctrl-E) is the Video filter module and
Preferences > Video > Filters is the Video output filter module ?

I tried both ... where's the misunderstanding?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to crop and resize?

Postby VLC_help » 13 Jan 2011 15:59


BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 14 Jan 2011 09:30

Ah! This one :).

Yes, I tried
- Only Video filter module
- Only Video output filter module .
- both

If it should work with Video output filter module we may have a look at these issues:
- whenever cropadd is selected, crop will automatically also be selected. You cannot select only cropadd.
--- in this case you also will get a "Cropping failed: VLC could not open the video output module."
- crop changes the video size but gives only a black output (sound works).

All tried with different "Video output module" (DirectX, OpenGL,...)

Is it really working on your side?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to crop and resize?

Postby VLC_help » 14 Jan 2011 15:20

One of the crop options is broken AFAIK in VLC 1.1.x (filter changes broke it), but there is one working since alt+d, alt+f and other crop hotkeys still work.

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 14 Jan 2011 22:03

Hmmm... let's see if this will work in future versions.

Thanks for your help!
Bruno

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 15 Jan 2011 23:33

Got a nice workaround for resize/stretch:
Image

Code: Select all

--monitor-par=1:2
This will stretch horizontally - even not the monitor pixels are 1:2 but the Video :)

... now only locking for a "crop 960 from the left or right" or "show only until pixel 960 and forget the rest"
Image

Does someone know a nice workaround also for this?

BRotondi
Blank Cone
Blank Cone
Posts: 46
Joined: 11 Feb 2009 10:33

Re: How to crop and resize?

Postby BRotondi » 16 Jan 2011 10:35

Ngh... found a workaround: Use VLC 1.0.5, there the filters still work...

So the solution for viewing 3D-Side by side-sources:
a) "vlc.exe" --vout-filter crop --crop-geometry 960x9999+0+0 --width=1920 --height=900 --aspect-ratio=1920:900 "F:\Video\Zeichentrick\Coraline.mkv3d"
b) "vlc.exe" --monitor-par=1000:1414 --vout-filter crop --crop-geometry 960x9999+0+0 "F:\Video\Zeichentrick\Coraline.mkv3d"

b) is perhaps better since you don't care the height, which is various. BUT: Because of an older Bug/Definition you cannot give --monitor-par=1:2, but 1:SQR(2) ...


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Bing [Bot] and 55 guests