From 9926d1fc6a1e0c06604ef4f08711a8ff7d414289 Mon Sep 17 00:00:00 2001 From: devdatt Date: Wed, 10 Dec 2025 07:04:43 +0530 Subject: [PATCH] 1024 --- encoder/static.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/encoder/static.php b/encoder/static.php index a94535f..a3091fd 100755 --- a/encoder/static.php +++ b/encoder/static.php @@ -107,7 +107,7 @@ function update_service($which_service) case "copy_input": switch ($input_source) { 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'] . " -framerate " . $data['hdmi']['framerate'] . " -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": switch ($input_source) { 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'] . " -c:v h264_qsv "; if ($hdmi_delay_video != "")