Hello
Is it possible to send two independent video streams to the two HDMI outpts simultaneously using gstreamer and kmssink? I am attempting to create a pipeline to read from /dev/video0 using v4l2 and output unmodified video to one HDMI output and modified to the other.
Both the following work:But trying to send to both hdmi ports fails:with a drmModeSetPlane failed error:From reading various posts I'm guessing that kmssink doesn't support writing to two HDMI ports simultaneously but can anyone confirm this?
Thanks
RPi4 - Bullseye
Is it possible to send two independent video streams to the two HDMI outpts simultaneously using gstreamer and kmssink? I am attempting to create a pipeline to read from /dev/video0 using v4l2 and output unmodified video to one HDMI output and modified to the other.
Both the following work:
Code:
gst-launch-1.0 videotestsrc ! kmssink connector-id=32gst-launch-1.0 videotestsrc ! kmssink connector-id=41
Code:
gst-launch-1.0 videotestsrc ! tee name=t ! kmssink connector-id=41 t. ! kmssink connector-id=32
Code:
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer encountered a general resource error.Additional debug info:../sys/kms/gstkmssink.c(1711): gst_kms_sink_show_frame (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:drmModeSetPlane failed: Permission denied (13)ERROR: pipeline doesn't want to preroll.Setting pipeline to NULL ...ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Thanks
RPi4 - Bullseye
Statistics: Posted by bcsmith — Tue Jun 18, 2024 11:25 pm — Replies 1 — Views 52