Problems using Logo with orientation.

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.
topolittle
New Cone
New Cone
Posts: 4
Joined: 19 Oct 2008 15:34

Problems using Logo with orientation.

Postby topolittle » 23 Oct 2008 17:17

Hi everyone,

I use the Logo feature and it work as expected when I use it alone, but when combined with the transform filer (ex: transform-type=90), the logo is displayed twice.

Any idea?

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problems using Logo with orientation.

Postby VLC_help » 24 Oct 2008 12:12

You apply it from command-line? or from GUI?

topolittle
New Cone
New Cone
Posts: 4
Joined: 19 Oct 2008 15:34

Re: Problems using Logo with orientation.

Postby topolittle » 24 Oct 2008 16:30

Using version 0.9.2, 0.9.3 or 0.9.4,
I Have the same issue with the GUI and by calling the libs.

In the GUI,
For the transform filter:
Tools -> Preferences (Show settings: [ALL]) -> Video-> Filters
Video transformation filter "checked"
Under filters -> transformation - Transform Type: Rotate by 90 defrees
For the Logo:
Tools -> Preferences (Show settings: [ALL]) -> Video-> Subtitles/OSD
Under Overlay/Subpictures filter module, Logo sub filter "checked"
Under Subtitles/OSD -> Logo overlay
Filename : any .png files
X Coordinate:0
y Coordinate: 0
Logo individual image time in ms : 1000
Logo animation # of loops: -1
Transparency of the logo: 128
Logo Position: Bottom Right
SAVE

This you will have a logo in the bottom right AND in the upper right (It is like the logo filter is being processed 2 times; one at 0 degrees and one at 90 degrees)

And using code, my argument list is created this way:

Code: Select all

Dim argv() As String = {"-I", "--dummy-quiet", "--ignore-config", "--vout=direct3d", "--no-video-title-show"} If RtspCaching > 0 And Filename.ToUpper.StartsWith("RTSP") Then Dim intL As Int32 = argv.Length ReDim Preserve argv(intL) argv(intL) = "--rtsp-caching=" & CStr(RtspCaching) End If If Orientation > 0 Then Dim intL As Int32 = argv.Length ReDim Preserve argv(intL + 1) argv(intL) = "--vout-filter=transform" argv(intL + 1) = "--transform-type=" & CStr(Orientation) Else Dim intL As Int32 = argv.Length ReDim Preserve argv(intL + 1) argv(intL) = "--vout-filter=" argv(intL + 1) = "--transform-type=" & CStr(Orientation) End If If _ShowLogo Then Dim intL As Int32 = argv.Length ReDim Preserve argv(intL + 3) Dim strA As String = System.AppDomain.CurrentDomain.BaseDirectory argv(intL) = "--logo-file=" & strA & "player_logo.png" argv(intL + 1) = "--logo-position=10" argv(intL + 2) = "--logo-transparency=128" argv(intL + 3) = "--sub-filter=logo" Else Dim intL As Int32 = argv.Length ReDim Preserve argv(intL) argv(intL) = "--sub-filter=" End If

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: Problems using Logo with orientation.

Postby VLC_help » 25 Oct 2008 16:45



Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 20 guests