Page 1 of 1
How to crop and resize?
Posted: 08 Jan 2011 23:22
by BRotondi
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
Re: How to crop and resize?
Posted: 09 Jan 2011 04:16
by sylvia.plath
and pan-scan?
Re: How to crop and resize?
Posted: 09 Jan 2011 12:01
by BRotondi
and pan-scan?
How? What I primarily need is a the horizontally stretch...
Re: How to crop and resize?
Posted: 09 Jan 2011 17:02
by VLC_help
There are crop and croppadd filters.
viewtopic.php?f=14&t=67740&p=233793&hil ... dd#p234226 (in case you want to transcode)
Re: How to crop and resize?
Posted: 09 Jan 2011 17:42
by BRotondi
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?
Re: How to crop and resize?
Posted: 10 Jan 2011 17:54
by VLC_help
Yes, but you have to enable those filters via Tools -> Preferences (Show settings: All) Video -> Filters
Re: How to crop and resize?
Posted: 10 Jan 2011 21:52
by BRotondi
Thanks for your help!
I tried it in all variations, but really no effect:
What's wrong?
Re: How to crop and resize?
Posted: 11 Jan 2011 15:12
by VLC_help
Did you try from Video output filter module section? (also restart VLC after Save)
Re: How to crop and resize?
Posted: 11 Jan 2011 15:41
by BRotondi
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).
This Crop works, but has no stretch.
Re: How to crop and resize?
Posted: 12 Jan 2011 16:22
by VLC_help
"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.
Re: How to crop and resize?
Posted: 12 Jan 2011 21:59
by BRotondi
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?
Re: How to crop and resize?
Posted: 13 Jan 2011 15:59
by VLC_help
Re: How to crop and resize?
Posted: 14 Jan 2011 09:30
by BRotondi
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?
Re: How to crop and resize?
Posted: 14 Jan 2011 15:20
by VLC_help
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.
Re: How to crop and resize?
Posted: 14 Jan 2011 22:03
by BRotondi
Hmmm... let's see if this will work in future versions.
Thanks for your help!
Bruno
Re: How to crop and resize?
Posted: 15 Jan 2011 23:33
by BRotondi
Got a nice workaround for resize/stretch:
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"
Does someone know a nice workaround also for this?
Re: How to crop and resize?
Posted: 16 Jan 2011 10:35
by BRotondi
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) ...