matthiasbock / gstreamer

Raspberry Pi gstreamer with UVC H.264 and OpenMAX plugins
26 stars 7 forks source link

gstreamer-0.10's eglglessink doesn't work on Raspberry Pi #11

Open matthiasbock opened 11 years ago

matthiasbock commented 11 years ago
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src/GstCapsFilter:capsfilter2: caps = video/x-raw-yuv, format=(fourcc)AYUV, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)Y444, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)NV12, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)NV21, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)Y42B, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)Y41B, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }
/GstPipeline:pipeline0/GstUvcH264Src:src: ready-for-capture = FALSE
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src0: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src/GstCapsFilter:capsfilter3: caps = video/x-h264, profile=(string)baseline, width=(int)1024, height=(int)576, framerate=(fraction)15/1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1: num-buffers = -1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1: device = "/dev/video0"
/GstPipeline:pipeline0/GstUvcH264Src:src/GstCapsFilter:capsfilter4: caps = video/x-raw-yuv, format=(fourcc)AYUV, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)Y444, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)YV12, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)NV12, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)NV21, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)YUY2, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)YVYU, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)UYVY, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)Y42B, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }; video/x-raw-yuv, format=(fourcc)Y41B, width=(int)320, height=(int)240, framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)[ 0/1, 2147483647/1 ], interlaced=(boolean){ true, false }
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstUvcH264Src:src: ready-for-capture = TRUE
Pipeline is live and does not need PREROLL ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
/GstPipeline:pipeline0/GstUvcH264Src:src/GstFFMpegCsp:ffmpegcsp4.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstUvcH264Src:src/GstFFMpegCsp:ffmpegcsp4.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstUvcH264Src:src.GstGhostPad:vfsrc: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstUvcH264Src:src.GstGhostPad:vfsrc.GstProxyPad:proxypad0: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
/GstPipeline:pipeline0/GstEglGlesSink:eglglessink0.GstPad:sink: caps = video/x-raw-yuv, format=(fourcc)I420, width=(int)320, height=(int)240, interlaced=(boolean)false, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
0:00:02.704510227  4079   0x608f80 ERROR   eglglessink-platform video_platform_wrapper.c:167:platform_create_native_window: Can't create native window
0:00:02.706705124  4079   0x608f80 ERROR            eglglessink gsteglglessink.c:461:gst_eglglessink_create_window: Could not create window
0:00:02.708590035  4079   0x608f80 ERROR            eglglessink gsteglglessink.c:1123:gst_eglglessink_configure_caps: Internal window creation failed!
0:00:02.710636938  4079   0x608f80 ERROR            eglglessink gsteglglessink.c:1149:gst_eglglessink_configure_caps: Configuring caps failed
ERROR: from element /GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1: Internal data flow error.
Additional debug info:
gstbasesrc.c(2633): gst_base_src_loop (): /GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1:
streaming task paused, reason not-negotiated (-4)
Execution ended after 204439345 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
/GstPipeline:pipeline0/GstEglGlesSink:eglglessink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstUvcH264Src:src.GstGhostPad:vfsrc: caps = NULL
/GstPipeline:pipeline0/GstUvcH264Src:src/GstFFMpegCsp:ffmpegcsp4.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstUvcH264Src:src/GstFFMpegCsp:ffmpegcsp4.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstUvcH264Src:src/GstV4l2Src:v4l2src1.GstPad:src: caps = NULL
Setting pipeline to NULL ...
Freeing pipeline ...
matthiasbock commented 11 years ago

Different patches for eglglessink exist:

Read more:

matthiasbock commented 11 years ago

same error with egglessink from commit b10b9693b95796a9bf0615bd62205758199d91c8