![]() |
![]() |
![]() |
GStreamer OpenGL Plugins 0.10 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
upload video frames video frames into opengl textures.
Depends on the driver and when needed, the color space conversion is made in a fragment shader using one frame buffer object instance, or using mesa ycbcr .
gst-launch -v videotestsrc ! "video/x-raw-rgb" ! glupload ! glimagesink
gst-launch -v videotestsrc ! "video/x-raw-yuv, format=(fourcc)I420" ! glupload ! glimagesink
gst-launch -v videotestsrc ! "video/x-raw-rgb, width=320, height=240" ! glupload ! \ "video/x-raw-gl, width=640, height=480" ! glimagesink
gst-launch -v videotestsrc ! "video/x-raw-yuv, width=320, height=240" ! glupload ! \ "video/x-raw-gl, width=640, height=480" ! glimagesink
"external-opengl-context"
property"external-opengl-context" gulong : Write
Give an external OpenGL context with which to share textures.