LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Blogs > rainbowsally
User Name
Password

Notices

Rate this Entry

New-Make And MC2, Meet MPG123 (terminal app to play MP3 and other file formats)

Posted 12-25-2012 at 08:11 PM by rainbowsally
Updated 09-04-2013 at 09:04 PM by rainbowsally (wrong acronym for alsa)

After that last rant about screwy software, I found some GREAT software. mpg123 is outstanding.

Today's Features
  • Me eating my words, even about assembler coding. ;-)

Famous last words galore! I even have to eat my words about asm. In fact this app is so cool I had to add the ability to compile asm and C sources in the same directory to the mc2 code.

MPG123 (sandboxed relocatable binary installation OR compile from code, modify, experiment, etc.) is linked below if you want to take a peek.

Having the new-make as the installer section, it's very easy to simply change the PREFIX in the INST makefile to put this somewhere else.

By default it goes into the usual Mad Science Folders ~/usr32/bin and ~/usr32/lib folders and requires those in the PATH and LD_LIBRARY_PATH in order to function.

NO SUPERUSER NEEDED. NONE WANTED!

This is some of the nicest code I've seen in a long time. Hat's off to the Hipp gang! ;-)

Mc2 users: Check out the CFLAGS. --omit-frame-pointer gives the ASM code access to the stack for passing parameters around. ALL the loops are blown out for maximum speed. This thing runs smooth as silk. If you weren't too impressed with Mad mp3, give this a shot. It smokes.

License: GPL v.3

Requires lzma to untar it. (tar xaf <blah>.tar.xz should unpack it if you don't have a gui app to handle this type.)

I'm really excited by this app.

BTW, I stripped it all down to just the alsa support (Advanced Linux Sound Architecture) because that's where the action is these days.

If you have mc2, you can build the original files and use the config.h and maybe some of the other files to modify this sandbox version to your liking.

Take control... Resistance Is NOT Few-Tile!

Here's the toy. It's about a meg and if you have an i686 system (or better) you might be able to run the pre-built binaries if all you want to do is test the thing without needing superuser privs.

That's what the new-make system is about.

(Bear in mind that a real installation from the mpg123 page might have more features that you want to use on your system, such as jack, etc.)

1. mpg123 sandbox build using mc2. (This link will not change but the file might get pulled in a year or two.)
http://rainbowsally.net/rainbowsally...2-build.tar.xz

2. mc2
http://www.linuxquestions.org/questi...support-34783/

3. new-make (aka tying up loose ends)
http://www.linuxquestions.org/questi...staller-34641/

We use both of these apps a LOT here at the Computer Mad Science Laboratory. Hope you enjoy them too.

And the mpg123 thing: Very nice inside as well as out.

- The Computer Mad Science Team

:-)
Posted in Uncategorized
Views 563 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 05:24 PM.

Main Menu

My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration