That thread is entitled "TC358743 HDMI to CSI-2 install instructions (Pi 0-4)", yet you say you're on Pi5.Hello,
i'm using a Pi5 with an TC358743 as a HDMI Bridge, i try to convert one HDMI format to another like 1080p to 720i or else.
I followed [this][viewtopic.php?p=2195617#p2195617] instructions to get the TC358743 working.
Pi5 also doesn't have the H264 encoder, so the exact post you link to regarding v4l2h264enc is doubly irrelevant to Pi5.
videoconvertscale can do format conversion. By putting capssetter after videoconvertscale and not specifying what format it is you actually want on the output of videoconvertscale, it means that the negotiation can convert to BGR in videoconvertscale and therefore capssetter is doing nothing.So now to my problem:
if I use this:
src: 1080p@50hz
sink: 720p@60hz
I use gstreamer to do the jobas long as I did not change the format the colors are corrected BGR->RGB shiftCode:
gst-launch-1.0 v4l2src ! video/x-raw,width=1920,height=1080,format=RGB ! videoconvertscale ! capssetter caps="video/x-raw,width=1920,height=1080,format=BGR" ! kmssink sync=false
but if I changed the line toI get the preferred resolution but the colorchange is gone.Code:
gst-launch-1.0 v4l2src ! video/x-raw,width=1920,height=1080,format=RGB ! videoconvertscale ! capssetter caps="video/x-raw,width=1280,height=720,format=BGR" ! kmssink sync=false
Raspbian os is up to dateCode:
gst-launch-1.0 --versiongst-launch-1.0 version 1.22.0GStreamer 1.22.0https://tracker.debian.org/pkg/gstreamer1.0
Put capssetter before videoconvertscale so that the format it is negotiating based on is correct, and then it should work.
Code:
gst-launch-1.0 v4l2src ! video/x-raw,width=1920,height=1080,format=RGB ! capssetter caps="video/x-raw,width=1920,height=1080,format=BGR" ! videoconvertscale ! video/x-raw,width=1280,height=720,format=BGR ! kmssink sync=falseIn fact on my test system (it is running GStreamer 1.25) I can run
Code:
gst-launch-1.0 videotestsrc ! video/x-raw,width=1920,height=1080,format=RGB ! kmssinkAdd "force-modesetting=true" to the end, and it will switch to a 1080p HDMI mode. Unfortunately it doesn't look like you can choose the mode to be used. There is an issue logged in GStreamer as https://gitlab.freedesktop.org/gstreame ... issues/776, but it hasn't been touched in the 6 years since it was created.
Statistics: Posted by 6by9 — Mon Jun 30, 2025 2:00 pm