error_log

This commit is contained in:
devdatt 2025-12-09 08:04:32 +05:30
parent d3a5b70b09
commit 4c3f206df9
1 changed files with 2 additions and 0 deletions

View File

@ -110,6 +110,7 @@ function update_service($which_service)
case "copy_input": case "copy_input":
switch ($input_source) { switch ($input_source) {
case "hdmi": case "hdmi":
error_log("hdmi copy", $hdmi_delay_video);
$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 512 -input_format mjpeg "
. " -video_size " . $data['hdmi']['resolution'] . " -video_size " . $data['hdmi']['resolution']
. " -framerate " . $data['hdmi']['framerate'] . " -framerate " . $data['hdmi']['framerate']
@ -140,6 +141,7 @@ function update_service($which_service)
case "use_common_backend": case "use_common_backend":
switch ($input_source) { switch ($input_source) {
case "hdmi": case "hdmi":
error_log("hdmi common_backend", $hdmi_delay_video);
$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 512 -input_format mjpeg -video_size " . $data['hdmi']['resolution']
. " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -f alsa -i " . $data['hdmi']['audio_source'] . " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -f alsa -i " . $data['hdmi']['audio_source']
. " -c:v h264_qsv "; . " -c:v h264_qsv ";