Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Playing MP3 through the command line

Status
Not open for further replies.

spyderco

Programmer
Jan 23, 2005
107
US
I need a solution to play an MP3 file through the command line on Windows XP. It cannot launch an external player like WMP.

There is an MPEG::MP3 mod that says it will do it but it requires Xaudio libraries which are no longer downloadable so I can't get ahold of it.

Or maybe there is a MP3 to X conversion which won't kill the quality so much but will play through the system?

I really can't seem to get this to work.
 
Try
Google "windows MP3 command line" for more.

The xaudio stuff is still vailable at Is it the licensing that troubles you?

fish

["]As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.["]
--Maur
 
You could try Audio::MPEG, but it looks like it might be a *nix-only library. Easiest bet would probably be something third party, maybe something you could control via pipes/IPC::Open2 from Perl.

- Andrew
Text::Highlight - A language-neutral syntax highlighting module in Perl
also on SourceForge including demo
 
Hi.

Because there's no other way, I converted the MP3 to WAV. And right,the licensing was the problem.

"At this time, the evaluation license is not available". I couldn't downloaded it if I wanted to.
 
Magic - our software IPR is sooo valuable, you can't even use it.

f

["]As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought. Debugging had to be discovered. I can remember the exact instant when I realized that a large part of my life from then on was going to be spent in finding mistakes in my own programs.["]
--Maur
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top