[maemo-developers] [maemo-developers] problem with gstreamer and dsppcm

From: Reinhard Enders Reinhard.Enders at web.de
Date: Tue Aug 22 19:36:51 EEST 2006
> - instead of raw data, it would be even better to use dspilbc.
>   Is there a way to store the captured data to a file, in a way it can
>   be played back again (some wrapper)?

The sources of maemo-recorder finally answered that question:
the scripts below can record and play ilbc encoded files:

#!/bin/sh
gst-launch  filesrc location="$1" ! \
     audio/x-iLBC,rate=8000,channels=1,mode=20 ! \
     dspilbcsink

#!/bin/sh
gst-launch -t -m -v dspilbcsrc dtx=0 ! \
     audio/x-iLBC,rate=8000,channels=1,mode=20 ! \
     filesink location=$1


Thanks

     Reinhard


More information about the maemo-developers mailing list