I hacked together a very simple C# command line audio player that uses libvlc.
It supports the following formats:
MP2, MP3, AAC, Ogg Vorbis, Speex, FLAC, Apple Lossless, AC3, CDDA, WMA 1 and 2.
MOD formats: MOD, XM, IT, S3M, 669, MTM, STM.
Source Code: snd123-1.0.2.tar.bz2 (MD5: a315990e0ab58f30ca80589e251e2932)
Ubuntu Breezy package: snd123_1.0.2-1_i386.deb (MD5: f81e05b3bd9ed7cd8a0f5b458af78de6)
Syntax examples:
snd123 ~/Music/song.mp3
snd123 cdda:/dev/cdrom
snd123 http://a1864.phobos.apple.com/Music/y2005/m05/d25/h16/s05.yoplcihv.aac.p.m4p
Very nice little app.
I got a question… well maybe more of a suggestion. Im dont know a whole lot about the libvlc, I guess its a decoder lib, and not quite what i had in mind, but what im looking for is an app (commandline) that could convert all those formats to an SWF (Shockwave Flash) format (sound only of course).
There are MP3 to SWF converters, but supporting more sound formats would be very cool. There is really no good open source software that can do this (that i know of).
did you look at ffmpeg? swf is an advertised file format ‘ffmpeg -formats’, and i am pretty sure you can block the video stream and just encode the audio streams
Thx for the tip Tony, looks like ffmpeg might do what im looking for, and more 🙂
Altho, would be cool if you could somehow export the spectrum data…
great command line app. is there a way to pipe stdout to Justeport?
just one question and one wish. the question: I assume the license is GPL, right? 🙂
now to the wishh … I am just downloading to get a look at how you used libVLC in your code, there don’t seem to be too much tutorials around. so where’d you get your information?
thanks & greetings, axel.
Go ahead with your good hacking jobbbbbbbbb.
i enjoy using your snd123 player.
when using snd123 *.mp3 is there a key sequence to skip to the next song?