From bddaf63c7947bf45e4f4e5b78718261d7bb30963 Mon Sep 17 00:00:00 2001 From: MarioFPV <57532232+MarioFPVdev@users.noreply.github.com> Date: Fri, 25 Oct 2024 11:54:51 +0100 Subject: [PATCH] Added sensorConfig Added sensorConfig Added more MCS Indexes Added more Video Bitrates Removed unsupported Channel bandwidths --- vtxmenu.ini | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/vtxmenu.ini b/vtxmenu.ini index c5e47ad..1f10e61 100644 --- a/vtxmenu.ini +++ b/vtxmenu.ini @@ -41,7 +41,7 @@ Submenu2=VTX MENU [VIDEO] Option1=SIZE:1280X720,1920X1080,2944X1656,3840X2160:cli -g .video0.size | tr x X:cli -s .video0.size $(echo {} | tr X x) Option2=FPS:60,90,120:cli -g .video0.fps:cli -s .video0.fps {} -Option3=BITRATE:4096,5120,6144,7168,8192:cli -g .video0.bitrate:cli -s .video0.bitrate {} +Option3=BITRATE:4096,6144,8192,12288,15360:cli -g .video0.bitrate:cli -s .video0.bitrate {} Option4=CODEC:H264,H265:cli -g .video0.codec | tr h H:cli -s .video0.codec $(echo {}| tr H h) Option5=GOPSIZE:0.1-20:cli -g .video0.gopSize:cli -s .video0.gopSize {} Option6=RCMODE:VBR,AVBR,CBR:cli -g .video0.rcMode | tr a-z A-Z:cli -s .video0.rcMode $(echo {}| tr A-Z a-z) @@ -64,7 +64,7 @@ Submenu2=VTX MENU [ISP] Option1=EXPOSURE:0-50:cli -g .isp.exposure:cli -s .isp.exposure {} Option2=ANTIFLICKER:DISABLED,50,60:cli -g .isp.antiFlicker | tr a-z A-Z:cli -s .isp.antiFlicker $(echo {} | tr A-Z a-z) -Option2=IQSERVER:FALSE,TRUE:cli -g .isp.iqServer | tr a-z A-Z:cli -s .isp.iqServer $(echo {} | tr A-Z a-z) +Option3=SENSOR FILE:/ETC/SENSORS/IMX415_MILOS10.BIN,/ETC/SENSORS/IMX415_MILOS11.BIN:cli -g .isp.sensorConfig | tr a-z A-Z:cli -s .isp.sensorConfig $(echo {} | tr A-Z a-z) Submenu1=CAMERA SETTINGS Submenu2=VTX MENU @@ -77,10 +77,10 @@ Submenu2=VTX MENU Option1=REGION:BO,GY,00:grep region /etc/wfb.conf | cut -d= -f2:sed -i 's/region=.*/region={}/' /etc/wfb.conf Option2=TXPOWER:1,:grep ^txpower /etc/wfb.conf | cut -d= -f2:sed -i 's/txpower=.*/txpower={}/' /etc/wfb.conf Option3=DRIVER_TXPOWER_OVERRIDE:1,20,25,30,35,40,45,50,55,58:grep ^driver_txpower_override /etc/wfb.conf | cut -d= -f2:sed -i 's/driver_txpower_override=.*/driver_txpower_override={}/' /etc/wfb.conf -Option4=BANDWIDTH:20,40,80,160:grep bandwidth /etc/wfb.conf | cut -d= -f2:sed -i 's/bandwidth=.*/bandwidth={}/' /etc/wfb.conf +Option4=BANDWIDTH:20,40:grep bandwidth /etc/wfb.conf | cut -d= -f2:sed -i 's/bandwidth=.*/bandwidth={}/' /etc/wfb.conf Option5=STBC:0,1:grep stbc /etc/wfb.conf | cut -d= -f2:sed -i 's/stbc=.*/stbc={}/' /etc/wfb.conf Option6=LDPC:0,1:grep ldpc /etc/wfb.conf | cut -d= -f2:sed -i 's/ldpc=.*/ldpc={}/' /etc/wfb.conf -Option7=MCS_INDEX:0-4:grep mcs_index /etc/wfb.conf | cut -d= -f2:sed -i 's/mcs_index=.*/mcs_index={}/' /etc/wfb.conf +Option7=MCS_INDEX:0-11:grep mcs_index /etc/wfb.conf | cut -d= -f2:sed -i 's/mcs_index=.*/mcs_index={}/' /etc/wfb.conf Option8=RCV_BUF:456000,:grep rcv_buf /etc/wfb.conf | cut -d= -f2:sed -i 's/rcv_buf=.*/rcv_buf={}/' /etc/wfb.conf Option9=FEC_K:1-20:grep fec_k /etc/wfb.conf | cut -d= -f2:sed -i 's/fec_k=.*/fec_k={}/' /etc/wfb.conf Option10=FEC_N:1-20:grep fec_n /etc/wfb.conf | cut -d= -f2:sed -i 's/fec_n=.*/fec_n={}/' /etc/wfb.conf