1024
This commit is contained in:
parent
adb1a810f8
commit
9926d1fc6a
|
|
@ -107,7 +107,7 @@ function update_service($which_service)
|
||||||
case "copy_input":
|
case "copy_input":
|
||||||
switch ($input_source) {
|
switch ($input_source) {
|
||||||
case "hdmi":
|
case "hdmi":
|
||||||
$input .= "ffmpeg -hwaccel auto -hide_banner -f v4l2 -thread_queue_size 512 -input_format mjpeg "
|
$input .= "ffmpeg -hwaccel auto -hide_banner -f v4l2 -thread_queue_size 1024 -input_format mjpeg "
|
||||||
. " -video_size " . $data['hdmi']['resolution']
|
. " -video_size " . $data['hdmi']['resolution']
|
||||||
. " -framerate " . $data['hdmi']['framerate']
|
. " -framerate " . $data['hdmi']['framerate']
|
||||||
. " -fflags +genpts -use_wallclock_as_timestamps 1 -re -f alsa -thread_queue_size 512 -i " . $data['hdmi']['audio_source']
|
. " -fflags +genpts -use_wallclock_as_timestamps 1 -re -f alsa -thread_queue_size 512 -i " . $data['hdmi']['audio_source']
|
||||||
|
|
@ -137,7 +137,7 @@ function update_service($which_service)
|
||||||
case "use_common_backend":
|
case "use_common_backend":
|
||||||
switch ($input_source) {
|
switch ($input_source) {
|
||||||
case "hdmi":
|
case "hdmi":
|
||||||
$input .= "ffmpeg -hwaccel auto -hide_banner -f v4l2 -thread_queue_size 512 -input_format mjpeg -video_size " . $data['hdmi']['resolution']
|
$input .= "ffmpeg -hwaccel auto -hide_banner -f v4l2 -thread_queue_size 1024 -input_format mjpeg -video_size " . $data['hdmi']['resolution']
|
||||||
. " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -fflags +genpts -use_wallclock_as_timestamps 1 -re -f alsa -thread_queue_size 512 -i " . $data['hdmi']['audio_source']
|
. " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -fflags +genpts -use_wallclock_as_timestamps 1 -re -f alsa -thread_queue_size 512 -i " . $data['hdmi']['audio_source']
|
||||||
. " -c:v h264_qsv ";
|
. " -c:v h264_qsv ";
|
||||||
if ($hdmi_delay_video != "")
|
if ($hdmi_delay_video != "")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue