Page 1 of 1

Rotate filter AND crop filter [command line]

Posted: 23 Nov 2009 08:07
by schnorginator
I am trying top open a video, rotate it and add crop filter (because the rotate filter add some black borders ..)
So i tried this :

Code: Select all

path/vlc.exe path/file1.vob :vout-filter=transform :transform-type=270 :vout-filter=crop :croppadd-paddleft=100 :croppadd-paddright=100
I did not find any help on vlc documentation.
(i found the documentation very bad IMHO :( no example, no explanations about possible arguments and their differences ...)
And i dont find with google too
Some filters cancel the action of another filter or arguments... It's very frustrating !

Please help !

Re: Rotate filter AND crop filter [command line]

Posted: 23 Nov 2009 08:14
by Jean-Baptiste Kempf
use ',' to separate filters in vout-filter= like vout-filter=rotate,noise

Re: Rotate filter AND crop filter [command line]

Posted: 05 Feb 2010 05:45
by skadood1
I am trying to do video filter of tranform (flip vertically), and tryed and tryed to do it through the GUI method on mac version. No go. I dont think you can transcode with filters currently. Following is a mac example similar to the one used in this forum. I found myself wanting to see more ppl with unix/mac commands posted!

I instead took a while to learn the command line method and eventually came out with this working command line:

Code: Select all

/Applications/VLC.app/Contents/MacOS/VLC -I rc --vout-filter=transform --transform-type=vflip /Movie.mov --sout='#transcode{vcodec=h264,vb=800,scale=1,acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=ts,dst=/output.mp4}'
you can type 'status' or 'stats' while it chugs along
-I rc is so that it doesnt open the GUI, but stays on the command line version
--vout-filter defines the filter to use
--transform-type defines the attributes of the transform filter
/Movie.mov is the file to convert
--sout= is the stream output chain
/output.mp4 is the output movie