![]() |
mplayer or other audio software as backend
Hi,
I want to write a *very* simple audio player in pygtk as part of a much bigger project related to ornitology and bird photography. My idea was to use mplayer in slave mode as backend to play the bird songs, since it has a volume gain feature (many bird songs records are quite low). My problem is that mplayer crashes (both in my PC and in the N800) with the message: "MPlayer interrupted by signal 13 in module: unknown" I was unable to find the meaning of this... Interestingly, mplayer does not crash if the same command is executed in the console. This is the relevant part of my code: os.popen('mplayer -slave -input file=/tmp/mpfifo '+self.file) So: 1) Do you have an idea why mplayer is crashing? 2) If not, which other backend software with volume gain to use as backend? 3) Do you know how to use madplay as backend? 4) Any other software to use as backend, even without volume gain? Thanks a lot, L. |
Re: mplayer or other audio software as backend
You should try YouAmp. It allows you to adjust the gain from inside the program.
|
Re: mplayer or other audio software as backend
Quote:
I want exactly the opposite, a backend decoding audio software since I don't want to redo all the actual audio decoding. Mplayer would be perfect, but it just crashes. Thanks! L. |
Re: mplayer or other audio software as backend
gstreamer is the suggested backend for maemo. You'll also get DSP accelerated decoding this way.
I'm pretty sure there are python bindings for it. |
Re: mplayer or other audio software as backend
Quote:
BTW, I got mplayer working in slave mode. But still, you awoke my curiosity... probably gstreamer is indeed better. Thanks a lot!!! L. |
Re: mplayer or other audio software as backend
Quote:
There's a nice pygst tutorial at http://pygstdocs.berlios.de/pygst-tutorial/index.html . Specially check http://pygstdocs.berlios.de/pygst-tutorial/playbin.html . Quote:
|
Re: mplayer or other audio software as backend
Quote:
Thanks!!!!! Best, L. |
Re: mplayer or other audio software as backend
Did you get to a working playbin for Maemo? I'd be interested.
My target is a 770. |
Re: mplayer or other audio software as backend
Quote:
Cheers, L. |
Re: mplayer or other audio software as backend
Well, I implemented the mplayer backend in slave mode, but it REALLY sucks. mplayer for maemo is highly broken.
I tried to get python-gst package for maemo4, but failed miserably. Where can I find this? Thanks! L. |
All times are GMT. The time now is 00:55. |
vBulletin® Version 3.8.8