[gst-devel] Selecting Audio and Video Streams from gnlfilesource
123sandy at gmail.com
Thu Jun 24 10:57:42 CEST 2010
I am writing a Simple Non Linear editing application using GNonLin gstreamer
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
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. I have also tried setting the caps of gnlcomposition
comp = gst_element_factory_make("gnlcomposition", "mycomposition");
audio1 = gst_element_factory_make("gnlfilesource", "audio1");
gst_bin_add (GST_BIN (comp), audio1);
g_object_set (comp, "caps", gst_caps_from_string ("audio/x-raw-int"), NULL);
In this case the pipeline is hanging.
Plz help me out with alternatives and options.
Thanks in advance
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Selecting-Audio-and-Video-Streams-from-gnlfilesource-tp2266649p2266649.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel