HDMI need to be replugged after starting 4k camera stream to get high fps

Hi! This is janarthanan. I am currently facing an issue with gstreamer 4k camera streaming. we are running two 4k stream from vc components camera . i need to replug the hdmi to get 30fps each time i start streaming the camera. when i start the camera feed (gstreamer) iam getting low fps without replugging the hdmi can you help me.

Sorry for the late response, is this still an issue to support? Thanks

Dear kayccc !

yes the issue is still not solved. plz help us.

with regards
Janarthanan R

Hi,
Not sure what the issue is. Please share the gstreamer command and which plugin doesn’t work properly.

Dear DaneLL !

sorry for the late reply. we were on vacation for few days.

gsteamer command for your reference (dual 4k at 30fps)

#!/usr/bin/env bash

WIDTH_IN=4032
HEIGHT_IN=3040
WIDTH_CROP=3840
HEIGHT_CROP=2160
DOWNSCALE=2

LEFT_CROP=$((($WIDTH_IN - $WIDTH_CROP)/2))
TOP_CROP=$((($HEIGHT_IN - $HEIGHT_CROP)/2))
RIGHT_CROP=$(($LEFT_CROP + $WIDTH_CROP))
BOTTOM_CROP=$(($TOP_CROP + $HEIGHT_CROP))
WIDTH_OUT=$(($WIDTH_CROP/$DOWNSCALE))
HEIGHT_OUT=$(($HEIGHT_CROP/$DOWNSCALE))
ARGUS=exposuretimerange=“1000000 33000000”

CAPS_IN=“video/x-raw(memory:NVMM), width=$WIDTH_IN, height=$HEIGHT_IN, format=NV12”
CAPS_OUT=“video/x-raw(memory:NVMM), width=$WIDTH_OUT, height=$HEIGHT_OUT, format=RGBA, pixel-aspect-ratio=$WIDTH_OUT/$HEIGHT_OUT”
CAPS_COMP=“video/x-raw(memory:NVMM), width=$WIDTH_OUT, height=$HEIGHT_OUT”
CROP=“left=$LEFT_CROP top=$TOP_CROP right=$RIGHT_CROP bottom=$BOTTOM_CROP flip-method=6”

gst-launch-1.0 -t
nvcompositor name=comp
sink_0::xpos=$(($WIDTH_OUT/2)) sink_0::ypos=0 sink_0::width=$(($WIDTH_OUT/2)) sink_0::height=$HEIGHT_OUT
sink_1::xpos= 0 sink_1::ypos=0 sink_1::width=$(($WIDTH_OUT/2)) sink_1::height=$HEIGHT_OUT !
$CAPS_COMP ! perf ! autovideosink sync=false
nvarguscamerasrc sensor-id=1 awblock=false aelock=false “$ARGUS” !
$CAPS_IN ! nvvidconv $CROP ! $CAPS_OUT ! comp.sink_0
nvarguscamerasrc sensor-id=0 awblock=false aelock=false “$ARGUS” !
$CAPS_IN ! nvvidconv $CROP ! $CAPS_OUT ! comp.sink_1