glstereosplit: unable to split line by line image
Hi,
I have a 3d line by line video and I want to split it into left and right eye. Unfortunately without success. The RAW video is large, so I put the image in the example:
gst-launch-1.0 filesrc blocksize=10000000 location=img.tga ! image/x-tga,width=1920,height=1080,framerate=1/1,multiview-mode=row-interleaved ! avdec_targa ! imagefreeze ! videoconvert ! glupload ! glstereosplit name=s s.left ! queue ! glimagesink s.right ! queue ! glimagesin
It looks like a bug.
Another example of a pipeline that doesn't work:
gst-launch-1.0 videotestsrc pattern=ball name=left videotestsrc name=right glstereomix name=mix left. ! video/x-raw,width=640,height=480 ! glupload ! mix. right. ! video/x-raw,width=640,height=480 ! glupload ! mix. mix. ! "video/x-raw(memory:GLMemory),multiview-mode=row-interleaved" ! glstereosplit name=s s.left ! queue ! glimagesink s.right ! queue ! glimagesink
If you change the row-interleaved to eg. top-bottom it will work.
My gstreamer is 1.22.3.