Can't get dynamically added sinks to work.
Stirling Westrup
swestrup at gmail.com
Wed May 7 09:31:38 PDT 2014
Hmm. Took that code and compiled it, and tried to run it in my environment
and it died. Here was the entire output:
stirling at Wally:~/Work/userful-videowall$ ./dynamic-tee-vsink
~/Videos/content/lifeofpi-tlr1_h1080p.mov
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/dri/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
Hardware limitation is set on HaswellMax 4096X4096
*** You are using hardware decoder ***
add
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 1
libva error: va_getDriverName() failed with operation
failed,driver_name=i965
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/dri/nvidia_drv_video.so
libva info: va_openDriver() returns -1
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 1
libva error: va_getDriverName() failed with operation
failed,driver_name=i965
added
ERROR: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstvideofilter.c(291): gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
invalid video buffer received
ERROR: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstvideofilter.c(291): gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
invalid video buffer received
ERROR: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstvideofilter.c(291): gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
invalid video buffer received
ERROR: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstvideofilter.c(291): gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
invalid video buffer received
ERROR: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstvideofilter.c(291): gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
invalid video buffer received
ERROR: from element /GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
Internal GStreamer error: code not implemented. Please file a bug at
http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer.
Additional debug info:
gstvideofilter.c(291): gst_video_filter_transform ():
/GstPipeline:pipeline0/GstVideoConvert:videoconvert1:
invalid video buffer received
Segmentation fault
stirling at Wally:~/Work/userful-videowall$
On Tue, May 6, 2014 at 3:23 PM, Stirling Westrup <swestrup at gmail.com> wrote:
>
>
> On Tue, May 6, 2014 at 3:18 PM, Sebastian Dröge <sebastian at centricular.com
> > wrote:
>
>> On Fr, 2014-05-02 at 16:02 -0400, Stirling Westrup wrote:
>>
>> > The basic idea of the test program is that I have this pipeline already
>> > running:
>> >
>> > gst-launch videotestsrc ! tee name=t t. ! queue ! fakesink
>> >
>> > And I mutate it dynamically into this pipeline.
>> >
>> > gst-launch videotestsrc ! tee name=t t. ! queue ! fakesink t. ! queue
>> !
>> > xvimagesink display=:0
>> >
>> > The idea is that the test program will alternately add or remove the
>> > xvimagesink every few seconds, but this fails to work. Any
>> > help/suggestions/criticism of my code would be most welcome. It can be
>> > found here:
>>
>> This sounds like something I've written here as a demo application:
>> https://coaxion.net/blog/2014/01/gstreamer-dynamic-pipelines/
>>
>> (the second example)
>>
>
> Thanks! Having some working example code should immensely simplify things!
>
>
> --
> Stirling Westrup
> Programmer, Entrepreneur.
> https://www.linkedin.com/e/fpf/77228
> http://www.linkedin.com/in/swestrup
> http://technaut.livejournal.com
> http://sourceforge.net/users/stirlingwestrup
>
--
Stirling Westrup
Programmer, Entrepreneur.
https://www.linkedin.com/e/fpf/77228
http://www.linkedin.com/in/swestrup
http://technaut.livejournal.com
http://sourceforge.net/users/stirlingwestrup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20140507/44b71219/attachment.html>
More information about the gstreamer-devel
mailing list