glimagesink PIPE_FORMAT_B10G10R10A2_UNORM

d rq iamdrq at outlook.com
Thu Dec 2 02:03:25 UTC 2021


Excuse me everyone. I have a question about use glimagesink.

gst-launch-1.0 videotestsrc ! glimagesink

I use rk3399 sbc (Linux opi4 5.15.5-rockchip64 #trunk SMP PREEMPT Sun Nov 28 03:22:48 CST 2021 aarch64 aarch64 aarch64 GNU/Linux) test this no video show and crazy print PIPE_FORMAT_B10G10R10A2_UNORM on build gst 1.19.3 source code, but change gst version to 1.18.5 deb package print PIPE_FORMAT_B10G10R10X2_UNORM.

I check the mesa source code and maybe found print in there: https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/src/panfrost/util/pan_lower_framebuffer.c#L453

Yes, panfrost isn't support PIPE_FORMAT_B10G10R10A2_UNORM now.

I watch gst 1.19.3 source code about gl have a few days but no result. Someone known how solve it ?

drq at opi4:~$ gst-launch-1.0 videotestsrc ! glimagesink -v

Setting pipeline to PAUSED ...

Pipeline is PREROLLING ...

Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayWayland\)\ gldisplaywayland0";

/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink.GstProxyPad:proxypad0: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:src: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:src: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:src: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLImageSink:sink.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorBalance:glcolorbalance0.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLColorConvertElement:glcolorconvertelement0.GstPad:sink: caps = video/x-raw(memory:GLMemory), format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, texture-target=(string)2D

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0/GstGLUploadElement:gluploadelement0.GstPad:sink: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive

/GstPipeline:pipeline0/GstGLImageSinkBin:glimagesinkbin0.GstGhostPad:sink: caps = video/x-raw, format=(string)RGBA, width=(int)320, height=(int)240, framerate=(fraction)30/1, multiview-mode=(string)mono, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

PIPE_FORMAT_B10G10R10A2_UNORM

^C

drq at opi4:~$ ^C

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211202/be5f7db8/attachment-0001.htm>


More information about the gstreamer-devel mailing list