[gst-embedded] Play 2 mp3 file at same time.
Paul Fleischer
paul at xpg.dk
Tue Apr 20 00:46:53 PDT 2010
2010/4/20 giorgio <giorgio at ketron.it>:
> So I think the only way to play two differetne mp3 at same time for my
> hardware is to realize a pipe line with an aggregator ( or audio
> Mixer) .
>
> Src -> Decode ->\
> ----> AGGREGATOR -> AUDIO SINK
> Src -> Decode ->/
>
> Someone could explain me, how to realize a similar pipe line?
> How can I create an Aggregator ( or Audio mixer) element?
> Is Agregator a factory standard element provided with gstream
> framework?.
The "adder" element does exactly what you want. A little example:
gst-launch filesrc location=file1.mp3 ! mp3parse ! mad name=stream1 \
filesrc location=file2.mp3 ! mp3parse ! mad name=stream2 ! adder
name=adder ! alsasink \
stream1. ! adder.
Cheers,
Paul
More information about the Gstreamer-embedded
mailing list