Rotate filter AND crop filter [command line]

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.
schnorginator
Cone that earned his stripes
Cone that earned his stripes
Posts: 114
Joined: 16 Oct 2008 12:57

Rotate filter AND crop filter [command line]

Postby schnorginator » 23 Nov 2009 08:07

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 !

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Rotate filter AND crop filter [command line]

Postby Jean-Baptiste Kempf » 23 Nov 2009 08:14

use ',' to separate filters in vout-filter= like vout-filter=rotate,noise
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

skadood1
New Cone
New Cone
Posts: 5
Joined: 07 Nov 2007 03:24

Re: Rotate filter AND crop filter [command line]

Postby skadood1 » 05 Feb 2010 05:45

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


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 75 guests