Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3436

Graphics, sound and multimedia • Output to both HDMI ports simultaneously using gstreamer and kmssink

$
0
0
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:

Code:

gst-launch-1.0 videotestsrc ! kmssink connector-id=32gst-launch-1.0 videotestsrc ! kmssink connector-id=41
But trying to send to both hdmi ports fails:

Code:

gst-launch-1.0 videotestsrc ! tee name=t ! kmssink connector-id=41 t. ! kmssink connector-id=32
with a drmModeSetPlane failed error:

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.
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

Statistics: Posted by bcsmith — Tue Jun 18, 2024 11:25 pm — Replies 1 — Views 52



Viewing all articles
Browse latest Browse all 3436

Trending Articles