[gst-devel] Using mkv (mjpeg) files with gnlcomposition/gnlfilesource

Edward Hervey bilboed at gmail.com
Fri Jul 2 12:27:03 CEST 2010


On Fri, 2010-07-02 at 03:15 -0700, Sandeep Prakash wrote:
> 
> Edward Hervey wrote:
> > 
> > On Thu, 2010-07-01 at 11:42 -0700, Wes Miller wrote:
> > 
> >   2/ You might want to specify the stream to use from the file (if
> > there's both audio and video for example) by setting the caps property
> > on gnlfilesource (ex : caps="video/x-raw-yuv")
> > 
> 
> I have one query regarding this:
> If we give the caps as say caps="audio/x-raw-int" for the mentioned pipeline
> and say the
> .mkv has audio stream as well, Will the audio stream be selected by
> gnlcomposition?

  gnlcomposition will just forward whatever the contained gnlobjects
provide.
  Also, in your example you don't need the gnlcomposition, you can just
use the gnlfilesource directly.

> Will there be a "pad-added" signal for the audio stream?

  I don't understand what you mean.

> 
> 
> Thanks
> Sandeep Prakash
> http://sandeepprakash.homeip.net






More information about the gstreamer-devel mailing list