mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-29 06:06:32 +00:00
Merge pull request #2172 from jasaw/fnc-rtsp-limit-resolution
FND RTSP: do not use mjpeg resolution config when in RTSP mode
This commit is contained in:
commit
0db0836632
@ -114,7 +114,7 @@ function start() {
|
|||||||
fi
|
fi
|
||||||
modprobe v4l2loopback video_nr=${vidid}
|
modprobe v4l2loopback video_nr=${vidid}
|
||||||
if [ -e "${video_path}" ]; then
|
if [ -e "${video_path}" ]; then
|
||||||
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "height" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "width" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
||||||
raspimjpeg_opts="--videoout ${video_path}"
|
raspimjpeg_opts="--videoout ${video_path}"
|
||||||
while read line; do
|
while read line; do
|
||||||
key=$(echo ${line} | cut -d ' ' -f 1)
|
key=$(echo ${line} | cut -d ' ' -f 1)
|
||||||
|
@ -114,7 +114,7 @@ function start() {
|
|||||||
fi
|
fi
|
||||||
modprobe v4l2loopback video_nr=${vidid}
|
modprobe v4l2loopback video_nr=${vidid}
|
||||||
if [ -e "${video_path}" ]; then
|
if [ -e "${video_path}" ]; then
|
||||||
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "height" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "width" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
||||||
raspimjpeg_opts="--videoout ${video_path}"
|
raspimjpeg_opts="--videoout ${video_path}"
|
||||||
while read line; do
|
while read line; do
|
||||||
key=$(echo ${line} | cut -d ' ' -f 1)
|
key=$(echo ${line} | cut -d ' ' -f 1)
|
||||||
|
@ -114,7 +114,7 @@ function start() {
|
|||||||
fi
|
fi
|
||||||
modprobe v4l2loopback video_nr=${vidid}
|
modprobe v4l2loopback video_nr=${vidid}
|
||||||
if [ -e "${video_path}" ]; then
|
if [ -e "${video_path}" ]; then
|
||||||
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "height" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "width" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
||||||
raspimjpeg_opts="--videoout ${video_path}"
|
raspimjpeg_opts="--videoout ${video_path}"
|
||||||
while read line; do
|
while read line; do
|
||||||
key=$(echo ${line} | cut -d ' ' -f 1)
|
key=$(echo ${line} | cut -d ' ' -f 1)
|
||||||
|
@ -114,7 +114,7 @@ function start() {
|
|||||||
fi
|
fi
|
||||||
modprobe v4l2loopback video_nr=${vidid}
|
modprobe v4l2loopback video_nr=${vidid}
|
||||||
if [ -e "${video_path}" ]; then
|
if [ -e "${video_path}" ]; then
|
||||||
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "height" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "width" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
valid_opts=("analoggain" "awb" "awbgains" "bitrate" "brightness" "colfx" "contrast" "denoise" "digitalgain" "drc" "ev" "exposure" "flicker" "framerate" "hflip" "imxfx" "intra" "irefresh" "level" "metering" "profile" "roi" "rotation" "saturation" "sharpness" "shutter" "vflip" "vstab" "mjpegbitrate" "mjpegframerate" "mjpegwidth" "mjpegheight")
|
||||||
raspimjpeg_opts="--videoout ${video_path}"
|
raspimjpeg_opts="--videoout ${video_path}"
|
||||||
while read line; do
|
while read line; do
|
||||||
key=$(echo ${line} | cut -d ' ' -f 1)
|
key=$(echo ${line} | cut -d ' ' -f 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user