[gst-devel] Selecting Audio and Video Streams from gnlfilesource

Luciana Fujii Pontello luciana at holoscopio.com
Thu Jun 24 22:35:20 CEST 2010

On Thu, 2010-06-24 at 01:57 -0700, Sandeep Prakash wrote:
> Hi All,
> I am writing a Simple Non Linear editing application using GNonLin gstreamer
> plugins and 
> I have a query on the gnlfilesource/gnlcomposition:
> I have an mp4 file which has both audio and video (Say MPEG-4 Video and AAC
> Audio) and 
> I need to extract only the audio stream from it for further processing (Say
> for adding 2 audio
> streams together). How do I achieve this using gnlfilesource. I have tried
> setting the gnlfilesource
> location property to the mp4 file but the pad-added signal is emitted always
> for the video stream 
> present in the stream.

Doesn't it also emit a pad-added signal for the audio stream? If so, I
think it would be enough if you just ignored the video stream and linked
the pad when you get the pad-added signal with the audio stream.


Luciana Fujii

More information about the gstreamer-devel mailing list