Is it possible to render two streams in multiview mode (side by side) using glimagesink?

For example,
filesrc location a.mp4 ! demuxer ! parser ! decoder ! glimagesink name=gl output-multiview-mode=3
filesrc location a.mp4 ! demuxer ! parser ! decoder ! gl.

You can use glvideomixer to composite the frames from two streams into one. You can use the xpos, width and height properties on its sinkpads to set where each image goes, to place them side by side. Say you have two 1920x1080 streams, you could place them side by side into one 3840x1080 frame:

glvideomixer name=mixer sink_0::xpos=0 sink_0::width=1920 sink_1::xpos=1920 sink_1::width=1920 ! video/x-raw(memory:GLMemory) width=3840 height=1080 ! glimagesink

There’s also a glstereomix element.

Thanks I’ll try that out

Thanks I’ll check that too!