Visualizations working with the Activex plugin ?

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
usbhell
Blank Cone
Blank Cone
Posts: 18
Joined: 13 Jan 2006 13:11

Visualizations working with the Activex plugin ?

Postby usbhell » 13 Jan 2006 15:18

Hello,

I was wondering if anyone had managed to get visualizations working with the Activex plugin, using addTarget

If I use, on the command line

Code: Select all

vlc.exe audio.mp3 --audio-visual visual
they work fine in the regular VLC player

if under Settings->Preferences->Audio I set Audio visualisations to Visualizer filter

they work fine in the regular VLC Player and the Activex control (only they are present all the time)

if I try

Code: Select all

Dim options() As Variant options() = Array(":audio-visual=visual") VLCPlugin1.addTarget App.Path & "/audio.mp3", options, VLCPlayListReplaceAndGo, -666
I get nothing ..... Other options like ":aspect-ratio=4:3" or ":directx-wallpaper" work OK.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 13 Jan 2006 16:05

try using "--" instead of ":" . ":" is for input specific options. "--" is just a general VLC option. I don't think that visualizations are input specific.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

usbhell
Blank Cone
Blank Cone
Posts: 18
Joined: 13 Jan 2006 13:11

Postby usbhell » 14 Jan 2006 10:40

Thanks for the input; I gave it a go but without success. I’m not giving up yet though, I can see the control can handle them, I just don’t know how to turn them on at runtime.

NiCo_

Postby NiCo_ » 10 Feb 2006 11:38

If this code shows visualization when playing video or only when playing audio ? If VLC shows visualization only when audio s played, that should be interesting for me.

Sorry for my poor english, i'm french.

e6964822
Cone that earned his stripes
Cone that earned his stripes
Posts: 119
Joined: 18 Jan 2006 13:48

help

Postby e6964822 » 13 Feb 2006 13:13

I have the same problem as the first message and the last message.

Thank you very mush

MarcH

Postby MarcH » 23 Apr 2006 13:06

Anybody got it working or know it it is possible?

Code: Select all

string[] option = new string[1]; option[0] = ":audio-visual=goom"; axVLCPlugin1.addTarget(@"c:\1.mp3", option, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, 0);
thanks Marc

Guest

Postby Guest » 27 Apr 2006 17:19

Well I finally got this working and although I don't like the idea of my solution, it seems to work quite nicely.

so in your prog you would

1/ make a copy of the file "vlcrc" in your \Application Data\vlc directory

2/ change some settings in the copy for visualizations

e.g.

audio-visual=visual
effect-list=scope

put a # against vout-filter if you want to use goom because it doesn't like it.

#vout-filter=deinterlace

3/ every time you want to show visualizations you swap the two config files round, then create a new vlc control on your form, with vb6 you would use

Code: Select all

Set VLCPlugin1 = Controls.add("VideoLAN.VLCPlugin.1", "VLCActiveX1")
with this solution you can only ever have one vlc activex on the form at a time otherwise the app ends up hanging, so before you create a new one you must remove the last one with;

Code: Select all

Controls.Remove ("VLCActiveX1")
if it wasn't for that you could use load and unload with a control array.

4/ swap the config files back

if you want to turn visualizations off you need to do the same but without swapping the config files.

in vb6 you need to untick the box in the project properties about removing information re unused activex controls

Maybe I'm not going to win any awards with this but at least its possible.

usbhell
Blank Cone
Blank Cone
Posts: 18
Joined: 13 Jan 2006 13:11

Postby usbhell » 27 Apr 2006 17:21

I wasn't logged on there, but that was me....

mhwlng
Blank Cone
Blank Cone
Posts: 10
Joined: 20 Apr 2006 19:56

Postby mhwlng » 03 May 2006 12:53

it also doesn't work for me...

I'm using the active-x control inside a web page so can't use the moving files around solution...


Regards,

Marcel

Lenif
Blank Cone
Blank Cone
Posts: 11
Joined: 05 Jul 2007 16:32

Re: Visualizations working with the Activex plugin ?

Postby Lenif » 05 Jul 2007 16:45

I put this post up.

I need do to do same thing as usbhell ... but nothing to do ... No vizualisations ...

I use these 2 vars with activeX : [':audio-visual=visual', ':effect-list=scope']

How to use visualization var in runtime ? they don't work ? Bug in ActiveX

I can do it working with vlcActiveX.SetVariable('conf::audio-visual', 'visual') but when I do that, no more connection to my source is working .... grrrr ... i continue the strange research .... lol

EDIT: OK, now it's working good but I need to release and recreate activeX to "purge it" ... regards ...
@+ Lenif
EnigmaTools

Dreambox Streaming tools using VLC
http://enigmatools.devicom.be


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests