LibVLC Visualization

This forum is about all development around libVLC.
micfort
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:33

LibVLC Visualization

Postby micfort » 17 Jul 2013 11:35

hey,

I have been building an application where i use LibVLC as audio player and i wanted to include visualizations as an option in my application.
But beside command line options, I can't find any function to activate the visualization.
Can someone point me in the right direction?

with kind regards,

Michiel

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: LibVLC Visualization

Postby mangokm40 » 17 Jul 2013 14:58

I used something like this when creating the media (audio) object:
libvlc_media_t *vlcMedia = libvlc_media_new_path(vlcInstance, audioPath);
libvlc_media_add_option(vlcMedia, "audio-visual=visual");
libvlc_media_add_option(vlcMedia, "effect-list=scope");

Hope you find that useful.

micfort
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:33

Re: LibVLC Visualization

Postby micfort » 22 Sep 2013 00:41

hey,

I have tried those options and it won't work. (it doesn't work either as VLCInstance parameter or as media option).
I have also tried "--audio-visual=goom" as media option and that also doesn't work. That does work as VLCInstance parameter, but I have a video as well Audio files that i want to play, and for video it isn't necessary to visualize the audio. So is there a possibility to set the visualization option per media object?

MichaelMc
Blank Cone
Blank Cone
Posts: 63
Joined: 10 Jun 2009 17:55

Re: LibVLC Visualization

Postby MichaelMc » 24 Sep 2013 15:01

libVLC audio visuals haven't been 'available' from anything 2.x or later. Visuals are available in 1.x though.

micfort
New Cone
New Cone
Posts: 5
Joined: 19 Mar 2011 20:33

Re: LibVLC Visualization

Postby micfort » 24 Sep 2013 22:18

hey,

If it's not available in libvlc 2,x, how does VLC 2.x visualize the audio?

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: LibVLC Visualization

Postby Jean-Baptiste Kempf » 27 Sep 2013 01:21

libVLC audio visuals haven't been 'available' from anything 2.x or later. Visuals are available in 1.x though.
What?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: LibVLC Visualization

Postby mangokm40 » 27 Sep 2013 15:12

I didn't know about this (because I've stopped using visualizations). However, I am unable to set the visualization per media, only in the instance parameters.

This thread discusses that: https://forum.videolan.org/viewtopic.php?f=32&t=98277


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 7 guests