Libvlc and Visualizations

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.
SteveBickell
Blank Cone
Blank Cone
Posts: 13
Joined: 10 Sep 2008 01:18

Libvlc and Visualizations

Postby SteveBickell » 07 Nov 2008 02:23

Does anybody know what the option string is for for the visualizations other than Goom? I can get Goom to work ok but can't find spectrum etc. This is for 0.9.4.

Incidentally, if you try to change the width/height of goom via an option it either runs very slowly or not at all.

Cheers.

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

Re: Libvlc and Visualizations

Postby VLC_help » 07 Nov 2008 19:41

Goom effect
--goom-width=<integer> Goom display width
This allows you to set the resolution of the Goom display (bigger
resolution will be prettier but more CPU intensive).
--goom-height=<integer> Goom display height
This allows you to set the resolution of the Goom display (bigger
resolution will be prettier but more CPU intensive).
--goom-speed=<integer> Goom animation speed
This allows you to set the animation speed (between 1 and 10,
defaults to 6).
http://wiki.videolan.org/VLC_command-line_help

those are only options I can find for Goom.
--audio-visual=<string> Audio visualizations
This adds visualization modules (spectrum analyzer, etc.).
and if you use visualizer you also have to use
Visualizer filter
General:
--effect-list=<string> Effects list
A list of visual effect, separated by commas.

SteveBickell
Blank Cone
Blank Cone
Posts: 13
Joined: 10 Sep 2008 01:18

Re: Libvlc and Visualizations

Postby SteveBickell » 07 Nov 2008 21:25

Hi,

Thanks for the reply.

I've been using --audio-visual=goom and that's fine but what's the <string> for the others?

Also when you set any of the goom parameters (eg --goom-height=123) the visualization runs very very slowly.

Steve

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

Re: Libvlc and Visualizations

Postby VLC_help » 08 Nov 2008 15:46

viewtopic.php?p=101183#p101183

I cannot launch goom from command-line, if I type

Code: Select all

vlc test.mp3 --audio-visual=goom --goom-height=128 --goom-width=128 --verbose 2 --extraintf=logger
VLC doesn't launch

Code: Select all

vlc --audio-visual=goom --goom-height=128 --goom-width=128 --verbose 2 --extraintf=logger
works

how big resolutions you use? 512x512 worked well for me.

SteveBickell
Blank Cone
Blank Cone
Posts: 13
Joined: 10 Sep 2008 01:18

Re: Libvlc and Visualizations

Postby SteveBickell » 09 Nov 2008 00:13

Thanks for the link. I can now get scope and spectrum visualizations to work.

As for the goom resolution I'm using Libvlc via some C# code, not running VLC from a command line but I imagine it ends up with pretty much the same thing.

If I set the goom height and width to the height and width of the window I'm using for output the visualization runs very slowly. If I don't touch the height or width goom runs ok but doesn't quite fill the window width. It's not much of a problem but could be a bug. It also runs slowly if I set the goom speed.

The documentation for the command line options is very poor.

Cheers

Steve

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

Re: Libvlc and Visualizations

Postby VLC_help » 11 Nov 2008 13:18

You get same poor performance if you run goom+VLC manually (so not as plugin)?

SteveBickell
Blank Cone
Blank Cone
Posts: 13
Joined: 10 Sep 2008 01:18

Re: Libvlc and Visualizations

Postby SteveBickell » 13 Nov 2008 01:52

Goom runs OK if you run VLC manually but you can't change the goom height or width to fill the VLC window so you can't create the same situation.

Steve

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

Re: Libvlc and Visualizations

Postby VLC_help » 13 Nov 2008 15:10

You can change the height and width and you can also scale it runtime by dragging it from corners.

SteveBickell
Blank Cone
Blank Cone
Posts: 13
Joined: 10 Sep 2008 01:18

Re: Libvlc and Visualizations

Postby SteveBickell » 13 Nov 2008 21:35

Hi,

It works fine if you change the size of the VLC player window - Goom carries on playing normally.

I tested it again with Libvlc and it definitely doesn't work. I set the following options before playing the file.
--audio-visual=goom
--goom-height=height of window
--goom-width=width of window

before eventually calling the Play function on a media player object. The window is filled with a goom visual but it is stationary. Movement sometimes occurs but after many seconds and then it it just one change to the visual and it freezes again.

Using the VLC player has raised another question. Using Libvlc how can I change the visualization from say Goom to spectrometer while the file is playing. The VLC player does it but I can't see any obvious way with Libvlc that this can be achieved. The effects are set up with a call to libvlc_media_add_option and there does not seem to be any way to modify the options once the file is playing.

Steve

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

Re: Libvlc and Visualizations

Postby VLC_help » 14 Nov 2008 10:26

I think there should be some callback that you can use to re-initalize stuff after you change values.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 48 guests