Page 1 of 1

Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Tue Nov 19, 2024 8:20 pm
by RaulTuniac
If you couldn't build projectM, try this one, which is influenced by G-Force! Source code is included below!
Here's a picture of the visualizer:
Image
(do not confuse with the sonique plugin with the same name!)

Re: Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Fri Nov 22, 2024 9:30 am
by Brett
I did build ProjectM and linked it in the other thread.

Re: Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Fri Nov 22, 2024 11:25 am
by Brett
I just went to check out libvisual.
Their site list apps libvisual should be in
https://github.com/Libvisual/libvisual/ ... plications

But it appears almost all those apps have removed support for libvisual a very long time ago
https://github.com/KDE/amarok/commit/75 ... caec7bbfb8
https://github.com/MythTV/mythtv/commit ... 62dbcf6edd


So I turned to gstreamer which was also listed as supported.
I believe this should work:
gst-launch-1.0 directsoundsrc ! libvisual_infinite ! d3dvideosink

But libvisual_infinite is not found.
No other libvisual plugin that should be in gstreamer appears to actually be included either:
https://gstreamer.freedesktop.org/docum ... language=c

Perhaps the plugins are only available for Gstreamer on Linux.

Goom appears included and does work:
gst-launch-1.0 directsoundsrc ! goom ! video/x-raw,width=800,height=600 ! videoscale ! video/x-raw,width=1920,height=1200 ! d3dvideosink

The first resolution is the actual visual res, second is what to scale to.
Due to very poor performance at high res, I had to keep the visual to actual resolution of 800x600 and then scale it up to larger.
directsoundsrc will take audio from your soundcard, so you can play the music from Tuniac if you like.

During gstreamer install make sure to pick "full" install as directsoundsrc is marked as a "bad plugin" and is not installed in the "Typical" package.

Re: Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Sat Nov 23, 2024 1:08 pm
by RaulTuniac
Libvisual is also available for Amarok for Trinity Desktop Environment. You should use the attachment I put above because I think it will work as a Tuniac plugin.

Re: Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Wed Nov 27, 2024 9:37 am
by Brett
You linked the source to a visual for a media player called Audacious.
Audacious visual API is not the same or related to Tuniacs so it will not work as a Tuniac visual plugin.
I could rewrite it with some effort but I don't want to rewrite random visuals.

If you like these visuals you should try your hand at reworking the code to get it to run in Tuniac.

These libvisual related visuals appear to be more orientated to Linux and are really old code so there is likely extra hurdles to get it to work also.

Re: Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Wed Nov 27, 2024 11:54 am
by RaulTuniac
well, thanks for telling me! also, that goom source code i gave you is from xmms, an github user compiled it and did a online goom visualizer and it worked.

Re: Request: Infinite (XMMS/Libvisual) visualization for Tuniac

Posted: Wed Nov 27, 2024 11:45 pm
by Brett
Just compiling goom for xmms makes goom for xmms.
That will not work elsewhere.
With modifications to the code you can make it do other things eg run in a different player. Or for code intended for Linux it may need reworking to work under Windows.