EDIT: As of version 1.1.5, VLC definitely supports video game music. GME support is now included by default in the Windows binaries.
I was thinking about writing a video game music plugin for VLC this Summer using the Game_Music_Emu (a.k.a. libgme) library. Libgme decodes pretty much all video game music formats (AY, GBS, GYM, HES, KSS, NSF/NSFE, SAP, SPC, and VGM/VGZ), so it's a perfect candidate. I did a quick search and found this and only this: http://www.videolan.org/.../gme_8cpp.html. There's also a corresponding --enable-gme switch in the configure script, but other than that there's no evidence that VLC plays video game music at all. So it appears that someone else has already written such a plugin and that VLC can play video game music if compiled properly.
I was able to compile the latest VLC source code (the new and improved 1.1.0), but could not get the gme plugin to work. There's an additional configure switch --with-gme-tree= that expects a path to a compiled libgme.a (required). The libgme from Ubuntu repositories (sudo apt-get install libgme-dev) provides the shared object libgme.so. Compiling libgme from scratch also provides libgme.so. VLC will not accept this so I'm at a standstill.
If you are trying to compile VLC 1.1.0 on Ubuntu, I can at least tell you this much:
1. Remove all traces of previous versions. If you still have previous versions installed when you go to run the newly compiled VLC, you will get an error preventing it from running.
sudo apt-get purge vlc
sudo apt-get autoremove
2. Install dependencies:
sudo apt-get build-dep vlc
sudo apt-get install libxcb* libx11-xcb lua5.1
3. Download and compile.
wget http://downloads.sourceforge.net/project/vlc/1.1.0/vlc-1.1.0.tar.bz2
tar -xjf vlc-1.1.0.tar.bz2
cd vlc-1.1.0
./configure
make
sudo make install
I was not able to get the Lua part to work so you can use the --disable-lua switch if needed.
Forum post, for reference: http://forum.videolan.org/viewtopic.php?f=2&t=78168
Please reply if you know how to compile VLC with gme support!! I really hope I can get it working so I can stop using crappy Audacious once and for all.
To answer an anonymous post, yes, VLC 1.1.0 supports GPU acceleration.
ReplyDeleteHave you found a solution since this post? According to my search, the forums have had this question pop up a couple times, but I've seen no good answers (which is too bad in its own right).
ReplyDeleteNo, in fact I've pretty much given up on VLC because of the low quality of version 1.1 and switched to MPlayer. The questions you saw on the forums were probably from me, none of the devs gave me any help on how to compile with gme support.
ReplyDeleteThanks, I need to investigate mplayer then. If vlc has that sort of community "support," I hope they won't be surprised as people abandon their player. Likely, they just won't care.
ReplyDeleteḮ got it to work in Arch Linux via installing libgme through the package manager and then searching the web for vlc-plugin-gme, finding it in an RPM (Fedora) package, finding out about a RPM extractor in arch simply called rpmextract, extracting it and copying the file into, in my case, /usr/lib/vlc/plugins/demux and then launching vlc. It doesn't list the file when the file type is set to anything but "all files", but it plays them back flawlessly. The only problem now though, is that when I'm playing NSF's in foobar it automatically extracts it into its individual tracks, while VLC just starts playing. I have no idea how to switch tracks, or if extracting an NSF to individual tracks is easy. But then I haven't looked into that at all yet, so it may be easy.
ReplyDeleteI found the RPM here: http://pkgs.org/mandriva-cooker/mandriva-contrib-release-x86_64/vlc-plugin-gme-1.1.11-4-mdv2012.0.x86_64.rpm/download/
But otherwise you can just e-mail me and I'll send you the plugin. fleur X .nomdeguerre AT gmail X .com (join it and remove the X's)