audioresample generate silence data to alsasink

Keyul Panchal keyulpanchal at gmail.com
Mon Jul 2 05:27:08 PDT 2012


Hi,

 I am new to gstreamer

 Testing is done on the target board

 Req. Audio from alsasrc to be resampled and passed on to alsasink.
 Audio source : mono
 Input audio rate:  8KHz
 Output audio rate: 44.1KHz
 Observation : There is no audio heard in speakers

 Pipeline used
 1. gst-launch-0.10 alsasrc device=hw:1,1,0 ! audioconvert ! audioresample
! audio/x-raw-int, rate=44100 ! alsasink device=hw:0,0,0
 and
 2. gst-launch-0.10 alsasrc device=hw:1,1,0 ! audioconvert !
audio/x-raw-int, channels=1 ! audioresample ! audio/x-raw-int, rate=44100 !
alsasink device=hw:0,0,0

 Test Performed
 1. Play test tone : Test tone is heard
 gst-launch-0.10 audiotestsrc ! alsasink device=hw:0,0,0

 2. Record in a file and Play back :: Audio is getting recorded and audio
heard when played back
 a. Record audio
  gst-launch-0.10 alsasrc device=hw:1,1,0 ! audioconvert ! audioresample !
audio/x-raw-int, rate=44100 ! wavenc ! filesink location="test.wav"
 b. Playback audio
  gst-launch-0.10 filesrc location="test.wav" ! audioconvert !
*audio/x-raw-int,
channels=1* ! audioresample ! audio/x-raw-int, rate=44100 ! wavenc !
alsasink device=hw:0,0,0
 *Note! *Playback audio is heard only when the No. of channels is set to 1


 Let me know
 1. If some more inputs are required.
 2. How can i debug from here.
 3. Is there any role of sync, async or interleave?


-- 
*
*
*Regards,**
*
*Keyul A. Panchal*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120702/e817d66c/attachment.html>


More information about the gstreamer-devel mailing list