[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
Sun Oct 20 17:06:51 CEST 2013
Hi.
I found at
http://www.marshut.com/xnhnq/strange-behavior-with-sub-sources-i-can-show-custom-marquee-while-playing-yet-not-in-transcode-section.html
a different way to pass options via the Python bindings to the VLC library in my
application: basically I have to pass them directly as parameters to the vlc.Instance()
(and not in media_new() ).
I updated my code - you can find it at
https://docs.google.com/file/d/0B2enkKQJt-AyTkhWcVI4V0YtUUk/edit?usp=sharing .
Note that I am still not able to show marquee in the played video from my
application: option --sub-filter=marq{marquee=Atext} passed via VLC Python bindings does
not go to libvlc.
Still the first issue I wrote about remains: VLC (either standalone - from the
command line - or from my application) does not allow simultaneous rotate and adjust
brightness, contrast, etc of a video played.
Best regards,
Alex
On 10/19/2013 11:20 AM, RCU wrote:
> 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