LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Alternative to mplayer for audio playback? (https://www.linuxquestions.org/questions/linux-software-2/alternative-to-mplayer-for-audio-playback-131502/)

clausawits 01-04-2004 04:45 PM

Alternative to mplayer for audio playback?
 
I need a program that can play sound clips (in WAV, MP3, and OGG format) invoking a gui (so I can call it from a script). I can't use mplayer because for short sound clips, it cuts off the tail end of the clip ("I'll be back." becomes "I'll be").. no one seem to have any help for that aspect, ( http://www.linuxquestions.org/questi...hreadid=131317 ) so now I'm hoping to get recommendations for alternatives..

Thanks guys for any help you can give! ;)

merlin371 01-04-2004 05:11 PM

did you try xmms www.xmms.org
I don't Know if it can open OGG files

r_jensen11 01-04-2004 06:44 PM

xmms has to be my favorite. Maybe it's because I also use Winamp 2.x?

clausawits 01-04-2004 09:17 PM

Oh my.. I feel like an idiot...
Quote:

I need a program that can play sound clips (in WAV, MP3, and OGG format) invoking a gui (so I can call it from a script).
That's supposed to read "I need a program that can play sound clips WITHOUT invoking a gui." ...argh!!! sorry about the goof-up..

I don't know how to get xmms to go without trying to fire off all the gui stuff..

thanks for the replies though.. any more help? :(

DrOzz 01-04-2004 09:31 PM

this here could be what your looking for

clausawits 01-04-2004 09:47 PM

Many thanks DrOzz!!

I checked freshmeat for "audio" and "command line", but this one didn't show up on that search... maybe I shoulda tried "console" also??

I'll take a look at it and post a followup if it works out..

again, thanks for finding that for me!

DrOzz 01-04-2004 09:54 PM

not a problem at all d00d ...
i actually just tried it myself and i kinda like it ;-)
i only have mp3s, so i can't really comment on other file types, but overall works great...just got to get used to the key navigation...

the only thing i noticed which is not a problem cause i don't use it (just opened it by accident) but when i fired up gnome-terminal and press F1 (use to add files) the gnome terminal manual opens up :p, but i meant to open aterm, and it works fine in there ...

clausawits 01-04-2004 10:13 PM

Alas, mp3blaster seems to think some wavs are in fact recordings of Alvin, Simon, and Theodore (the chipmunks)... others it claims are bad file formats, (though they play fine in other software)...

looking at the mp3blaster man page, my hopes were raised regarding the overly high-speed playback by the mention of the downsampling, but trying that option didn't make any difference.. the debugging output for two attempts to fix the chipmunks is as follows (one with the -2 -d options, and the next with -2 -8 -d options):
Code:

Debugging of mp3blaster started.
Not playing, waiting to start playlist
THREAD playing woke up!
AC_PLAY: allow_repeat = 0No song to play, let's find one!
start_song()
Resetsound: samplesize = 16
Resetsound: samplesize = 16 (2)
Resetsound: rawstereo=0
Resetsound: rawspeed=16000
Allowing playlist repeat
No song to play, let's find one!
start_song()
Could not determine song in start_song()
End of playlist reached.
I want to repeat: 0
Am I allowed to?: 1
stop_list() : allow_repeat = 0
reset_playlist(1)
Debugging of mp3blaster started.
Not playing, waiting to start playlist
THREAD playing woke up!
AC_PLAY: allow_repeat = 0No song to play, let's find one!
start_song()
Resetsound: samplesize = 8
Resetsound: samplesize = 8 (2)
Resetsound: rawstereo=0
Resetsound: rawspeed=16000
Allowing playlist repeat
No song to play, let's find one!
start_song()
Could not determine song in start_song()
End of playlist reached.
I want to repeat: 0
Am I allowed to?: 1
stop_list() : allow_repeat = 0
reset_playlist(1)

Assuming mp3blaster won't work, any other suggestions? If not, I guess I'm going to have to wander blindly google and freshmeat a while longer.. unless someone thinks sending a bug report to the mplayer guys would actually be helpful...

Any more suggestions or help would be keen!

DrOzz 01-04-2004 10:21 PM

well you can look through this list that i found, they are both gui and command line ...
i don't think it looks good as of format support, unless someone else knows of something, the next best thing i can think of is mpg321, but i am pretty positive its just mp3 support with that...


All times are GMT -5. The time now is 07:42 PM.