[gst-devel] adder, tee and two sinks -- second try

René Stadler mail at renestadler.de
Wed Mar 21 02:44:34 CET 2007


Am Dienstag, den 20.03.2007, 15:27 +0100 schrieb Mathis Hofer:
> Hi. I've already tried it last week...
> 
> I'm trying to build a pipeline with two sources that are mixed together
> with the adder then split up with tee to finally put the signal out to
> two different soundcards.
> 
> Here is a small example in C (the old link stopped working, sorry):
> http://dmdesign.ch/data/gst_addertee_example.tar.gz
> 
> The problem is that on the second output I always get a crackling noise
> -- no matter which soundcard I choose as second. The first output is
> fine. If I only use one output (without the tee and queues) it also works.
> 
> Has this something to do with adder/capsfilter?
> Is there something missing in my pipeline?
> Or may it even be a bug in GStreamer?
> 
> I hope there is someone outthere with two outputs who can can help me...
> 
> Regards,
> Mathis

Try whether the following command runs correctly:

gst-launch-0.10 audiotestsrc ! audioconvert ! alsasink device=hw:0 \
 audiotestsrc ! audioconvert ! alsasink device=hw:1

If this fails with the same symptoms, I'd suspect you trigger a problem
with alsasink.

You could also try to replace the alsasinks in your test program with
wavenc ! filesink, sending each output to an own wav file which you can
inspect afterward.

-- 
Regards,
  René Stadler





More information about the gstreamer-devel mailing list