[vlc] Combination of command line arguments for video-filter not working properly in VLC 2.x on Windows

RCU alex.e.susu at gmail.com
Sat Oct 19 10:20:30 CEST 2013


   Hi.
     I come back to ask this question again. I have problems to rotate and adjust 
brightness, contrast, etc of a video played in VLC from the command line (see email below) 
and even more importantly in my application.

     The application I'm using is a program written in Python and uses the VLC library, 
more exactly the VLC Python bindings from 
http://git.videolan.org/?p=vlc/bindings/python.git;a=tree;f=generated;b=HEAD .
     The application can be found here: 
https://docs.google.com/file/d/0B2enkKQJt-AyX256a05pOEh2X1E/edit?usp=sharing (or 
https://icam-mobile-revival.googlecode.com/files/iCam_WinMobile.zip ) . You can run it by 
executing on Windows run.bat (you can easily adapt on Linux the command) .

     When using the VLC Python bindings I am not able at all to rotate or adjust 
brightness, contrast, etc of the video played (which should be rotated at 90 degrees) - 
you can look in View.py, for:
	UI.media[indexVideo] = UI.instance[indexVideo].media_new(
                         pathFileName,
			...
                         "video-filter=transform",
                         "transform-type=%d" % Settings.myCfg.rotateDegrees[indexVideo])

    Please let me know if you can point me to the problem with the video filter options.
    Let me know if you have any questions.

   Best regards,
     Alex


On 11/1/2012 8:46 PM, RCU wrote:
> Hello.
> I tried quite extensively on VLC 2.x on Windows (XP, Vista) the following combination of
> command line arguments for video-filter.
> For example, when I give:
> vlc.exe --video-filter=transform --transform-type=90 --video-filter=adjust --brightness=0.5
> test.flv
> it only applies the brightness transformation, without performing the rotation . However, this
> command worked well with VLC 1.x .
>
> Has something changed in argument parsing in VLC 2.x ? Can we do something about it?
>
> Doing the transformations separately works though:
> - vlc.exe --vout-filter=transform --transform-type=90 test.flv
> - vlc.exe --video-filter=adjust --brightness=0.5 test.flv
>
> This behavior happens also when using the Python VLC bindings.
>
> Best regards,
> Alex



More information about the vlc mailing list