gst pipeline for two audio source file mixure

Sebastian Dröge sebastian at centricular.com
Fri Nov 22 11:55:51 PST 2013


On Mi, 2013-11-20 at 09:13 -0800, baibhavk wrote:
> Hi, i am a newbie in constructing the gstreamer pipeline. 
> I want to construct the pipeline that will take two audio file source, the
> mixture will mix this files and will give a single output file.
> I need your help in constructing this pipeline.
> Thanks in advance.

Something like this should work for example:

uridecodebin uri=file:///path/to/file1 ! audioconvert ! audioresample ! a.
uridecodebin uri=file:///path/to/file2 ! audioconvert ! audioresample ! a.
adder name=a ! queue ! audioconvert ! audioresample ! vorbisenc ! oggmux ! filesink location=/path/to/outputfile

-- 
Sebastian Dröge <sebastian at centricular.com>
Centricular Ltd - http://www.centricular.com
Expertise, Straight from the Source
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 966 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131122/6575af74/attachment.pgp>


More information about the gstreamer-devel mailing list