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

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Ayron Jungren
Hello,

I'm trying to build a pipeline that accepts three files as input (two
videos, and an alpha PNG). The pipeline needs to combine the two audio
tracks from the videos, use the video track of the first video file
(ignoring the video track of the second), and add in the alpha PNG as a
watermark. I've tried gst-launch but I can't seem to get the pipeline
right. I'm not against using the C API either, and I've read over the
documentation on fd.o, but I can't think of a good starting point to
build the right pipeline. Any assistance would be greatly appreciated.

Ayron Jungren
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Frans van Berckel
Would the GNonLin plug-in fits what you are looking for?

Frans van Berckel

On Thu, 2011-03-24 at 13:31 -0400, Ayron Jungren wrote:

> Hello,
>
> I'm trying to build a pipeline that accepts three files as input (two
> videos, and an alpha PNG). The pipeline needs to combine the two audio
> tracks from the videos, use the video track of the first video file
> (ignoring the video track of the second), and add in the alpha PNG as a
> watermark. I've tried gst-launch but I can't seem to get the pipeline
> right. I'm not against using the C API either, and I've read over the
> documentation on fd.o, but I can't think of a good starting point to
> build the right pipeline. Any assistance would be greatly appreciated.
>
> Ayron Jungren

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Ayron Jungren
I believe so, but I can't find any documentation, save for
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gnonlin/html/,
which doesn't seem to contain any documentation about the actual
pipeline elements. Am I missing the docs somewhere else?

On a somewhat unrelated note, I neglected to mention that the program
always will input two FLVs (and as noted an alpha PNG), and output a
FLV, so there's no need to muck about with file type detection.

Ayron Jungren

On 3/24/2011 1:47 PM, Frans van Berckel wrote:
> Would the GNonLin plug-in fits what you are looking for?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

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

Matt Veenstra
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.

Cheers,
Matt

On Thu, Mar 24, 2011 at 10:51 AM, Ayron Jungren <[hidden email]> wrote:

> I believe so, but I can't find any documentation, save for
> http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gnonlin/html/,
> which doesn't seem to contain any documentation about the actual
> pipeline elements. Am I missing the docs somewhere else?
>
> On a somewhat unrelated note, I neglected to mention that the program
> always will input two FLVs (and as noted an alpha PNG), and output a
> FLV, so there's no need to muck about with file type detection.
>
> Ayron Jungren
>
> On 3/24/2011 1:47 PM, Frans van Berckel wrote:
>> Would the GNonLin plug-in fits what you are looking for?
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel