[maemo-developers] [maemo-developers] How to play a WAV from command line in 770?

From: Zeeshan Ali zeenix at gstreamer.net
Date: Fri Dec 15 13:10:07 EET 2006
Hello!
    There is gstreamer on the device but no command-line gstreamer
utilities like gst-launch, which you can compile (using scratchbox)
and install yourself if you like. Playing a wav file should be as
simple as:

`gst-launch-0.10 filesrc location=whatever.wav ! wavparse ! dsppcmsink`

   IIRC, wavparse is installed on the device but in case it's not, you
can get it compiled from the source (gst-plugins-good).

On 12/15/06, m-d at zipzero.us <m-d at zipzero.us> wrote:
>
> I am trying to play a .WAV file from the Nokia 770 command
> line, without triggering a GUI audio player. In principle,
> this seems like the simplest thing in the world. Normally,
> I'd just use "aplay" and that would be it.
>
> However, although the Nokia 770 has alsa, it does not have
> aplay. So I went to install aplay. It's part of the
> alsa-utils package, and installing alsa-utils on the Nokia
> 770 is even discussed somewhat on this page:
>
> http://maemo.org/maemowiki/EnablingGstreamerSupport
>
> So I thought it would be simple to install alsa-utils.
> However, using the ARM build, I get this error message:
>
> dpkg: error processing alsa-utils_1.0.8-4_arm.deb (--install):
>  package architecture (arm) does not match system (armel)
> Errors were encountered while processing:
>  alsa-utils_1.0.8-4_arm.deb
>
> Looking around, I gather that the Nokia 770 (at least the
> 2006 edition) uses the "armel" architecture, which is
> distinct from the "arm" architecture listed on the Debian
> stable download options. I looked around for "armel" in the
> testing and unstable branches of Debian, and using google,
> but found nothing informative that way.
>
> Question 1: Is there a way to get alsa-utils working on
> the Nokia 770, 2006 operating system?
>
> Question 2: Is there any other way to play a .WAV file from
> the Nokia 770 command line?
>
> I suppose it might be possible to write a driver, or tap
> into the alsa, esd or gstreamer libraries in some fashion. I
> don't have experience doing this, but am willing to learn if
> there is something possible along these lines. But it seems
> rather excessive, as playing a .WAV file is about as simple
> as it gets, and it would be surprising if there is no more
> direct way to achieve this goal.
>
> -------------------------------------------
> Terence
> m-d at zipzero.us
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
>


-- 
Regards,

Zeeshan Ali
Design Engineer, SW
Open Source Software Operations
Nokia Multimedia

More information about the maemo-developers mailing list