Probem with output-selector

Stefan Sauer ensonic at hora-obscura.de
Thu Aug 2 07:58:49 PDT 2012


On 07/31/2012 05:15 PM, rasnaut wrote:
> Hi to All!
> I try to run example with output-selector (I copied code with
> gst-plugins-base-0.11.92/tests/icles/output-selector.c in QT). GStreamer get
> next Errors:
>
> Got error message
> Error: not negotiated
> GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to
> `GstElement'
> GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to
> `GObject'
> GLib-GObject-CRITICAL **: g_object_get: assertion `G_IS_OBJECT (object)'
> failed
> GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to
> `GObject'
> GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)'
> failed
>
> I tried delete some code part, change plugins an etc. But nothing to
> changed. So anybody know what do with this?
The test now fails with
"""
Got error message
Error: not negotiated
"""

Someone will need to investigate and fix it.

Stefan
>
> And one more question: I wrote early about problem with xvimagesink plugin
> (that number of xvimagesink depends on the video card ports). So I want
> create one xvimagesink and switch it between my src streams. For implement
> this I want use output-selector. How I see this:
> v4l2src device=/dev/video0 ! videorate ! identity ! output-selector ! | ! 
> fakesink
>                                                                                                 
> |_ _ _ _ _ _ _ _ _ _ _ _ _
>                                                                                                                                      
> | 
> v4l2src device=/dev/video2 ! videorate ! identity ! output-selector ! | ! 
> fakesink                    |
>                                                                                                 
> |_ _ _ _ _ _ _ _ _ _          |
>                                                                                                                            
> |          | 
> v4l2src device=/dev/video3 ! videorate ! identity ! output-selector ! | ! 
> fakesink          ! xvimagesink
> .                                                                                               
> |_ _ _ _ _ _ _ _ _ _|         |
> .                                                                                                                                     
> |
> .                                                                                                                                     
> |
> v4l2src device=/dev/videoN ! videorate ! identity ! output-selector ! | ! 
> fakesink                    |
>                                                                                                 
> |_ _ _ _ _ _ _ _ _ _ _ _ _ _|
>                                                                                                                                        
> So, what do you think, It possible with output-selector? Or maybe I must use
> another gstreamer plugin?
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Probem-with-output-selector-tp4655762.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> 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