Gnolin/Python - decoding 2 video streams
Luis de Bethencourt
luis at debethencourt.com
Thu Feb 17 03:52:59 PST 2011
On Tue, Feb 15, 2011 at 11:25 PM, Matt Veenstra <matt at tribalmedia.com> wrote:
> Solved. My bug. Copy and paste error on the caps.
>
> self.stream1.set_property("caps", gst.caps_from_string("video/x-raw-yuv"))
> self.stream2.set_property("caps", gst.caps_from_string("audio/x-raw-yuv"))
>
> I am sure there will be more questions.
>
> On Tue, Feb 15, 2011 at 1:07 PM, Matt Veenstra <matt at tribalmedia.com> wrote:
>> Hi,
>>
>> I am now trying to get 2 video streams connected end to end in gnolin
>> and I am still missing a some pieces.
>>
>> I have 2 streams. Each in a "gnlfilesource". Each filesource in
>> "gnlcomposition". I have a callback for "pad-added" to each
>> composition. From what I have found and read. "gnlfilesource"
>> handles its own decodebin.
>>
>> The callback is never called in the case of 2 video streams. I get a
>> decodebin error. Below...
>> 'gstdecodebin2.c(3135): gst_decode_bin_expose ():
>> /GstPipeline:mypipeline/GnlComposition:gnlcomposition1/GnlFileSource:gnlfilesource1/GstURIDecodeBin:internal-uridecodebin/GstDecodeBin2:decodebin20:\nno
>> suitable plugins found'
>>
>> If I do the 2 audio streams this works. And I can connect this to an
>> "input-selector"
>> If I use just gnlfilesource without the compositions I have the same
>> problem as well.
>>
>> It still seems like I am missing something fundamental. Do I need to
>> build my own input's using "gnlsource" and not "gnlfilesource"?
>>
>> Thanks,
>> Matt
Glad we could help ;)
just kidding, good that you got it solved.
Luis
_______________________________________________
gstreamer-devel mailing list
gstreamer-devel at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list