Building a pipeline to merge two audio tracks, use a video track, and add a watermark

Matt Veenstra matt at tribalmedia.com
Wed Mar 30 16:27:32 PDT 2011


Below...

On Wed, Mar 30, 2011 at 4:04 PM, Ayron Jungren <ajungren at 0x3b.com> wrote:
> On 3/24/2011 2:24 PM, Matt Veenstra wrote:
>> You can do all of this in python if you like.  C of course as well.
>>
>> We have a setup that does similar on a server.  It will take some time
>> getting this going.  But it is not so bad.
>>
>> First build you simple path's in python with gstreamer.  Then start
>> adding the dynamic gnolin elements.
>>
>> We use "coglogoinsert".  To add the png watermark.
>>
> Thank you for the help Matt! coglogoinsert works perfectly for what I
> need. The only problem is, I'm still not sure how to combine the two
> streams. Do I need more than one pipeline? If I do, how do I merge the
> results from the two? Any help you could give about that would be much
> appreciated. :)

- Use one pipeline.
- A gnolin file source for each stream.  In the case of an A/V file
use the same file in 2 sources/
- Set the start and stop times for each stream.
- Drop into a mux or display.
- If you need to merge audio then you need to use the plugin to do
this.  I forget the name "adder" maybe.  Video that overlaps can be
determined by priority in gnolin.

Cheers,
Matt


More information about the gstreamer-devel mailing list