Hello!
I'm new to gstreamer
and this mailing list, so please don't blame me if I'm breaking any
rules.
I want to have a
functionality in my application that would enable user to record and playback
voice messages. I use speex plugin for that purpose. I have 2
problems:
1. For the purpose
of recording I'm using the pipeline suggested in speexenc example (speexenc
- oggmux) and recording is done on 2 channels by default. Due to the fact that
device I'm developing for has a simple mono microphone, the playback is done in
only one channel, which is unpleasant. What do I need to change to record in
mono mode? There's a description of src pad for speexenc:
name
src
direction
source
presence
always
details
audio/x-speex, rate=(int)[ 6000, 48000
], channels=(int)[ 1, 2 ]
and it has
channels property. Do I need to change that? How do I do that? I'm not too good
with the concepts of pads yet.
2. When I record
(even with gst-launch), the duration of the recording file that is created
is somewhat like 1 second shorter than the actual time I keep recording on. I
see such behaviour on my Ubuntu desktop and on openembedded-based
system. Is that a known problem? Is there a fix for
that?
Thanks!
Ivan.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel