Cropping and transforming; combining both on commandline

This forum is about all development around libVLC.
Timothy Grove
Blank Cone
Blank Cone
Posts: 33
Joined: 07 Sep 2011 13:17

Cropping and transforming; combining both on commandline

Postby Timothy Grove » 19 Jul 2017 13:05

What is the correct way to use multiple video filters in the command line? I'm trying to crop and tranform in one go with the following commands:

vlc.exe some_movie_file --video-filter=croppadd --croppadd-croptop=20 --croppadd-cropright=20 --croppadd-cropbottom=20 --croppadd-cropleft=20
--video-filter=transform --transform-type=90

Cropping or transforming on their own works fine, but together as above, only the transforming is performed.

Currently testing with 2.2.6 on Windows. Thanks for any suggestions.

Timothy Grove
Blank Cone
Blank Cone
Posts: 33
Joined: 07 Sep 2011 13:17

Re: Cropping and transforming; [SOLVED]

Postby Timothy Grove » 19 Jul 2017 20:23

Some documentation somewhere said that more than one filter could be used by separating them with a comma, so I tried "--video-filter=croppadd,transform", which didn't work. An inspired guess led me to try using a colon instead of a comma, which worked! Making the necessary changes to my previous attempt gave me the following successful command line:

vlc.exe some_movie_file --croppadd-croptop=20 --croppadd-cropright=20 --croppadd-cropbottom=20 --croppadd-cropleft=20
--transform-type=90 --video-filter=croppadd:transform


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests