error_log
This commit is contained in:
parent
d3a5b70b09
commit
4c3f206df9
|
|
@ -110,6 +110,7 @@ function update_service($which_service)
|
|||
case "copy_input":
|
||||
switch ($input_source) {
|
||||
case "hdmi":
|
||||
error_log("hdmi copy", $hdmi_delay_video);
|
||||
$input .= "ffmpeg -hwaccel auto -hide_banner -f v4l2 -thread_queue_size 512 -input_format mjpeg "
|
||||
. " -video_size " . $data['hdmi']['resolution']
|
||||
. " -framerate " . $data['hdmi']['framerate']
|
||||
|
|
@ -140,6 +141,7 @@ function update_service($which_service)
|
|||
case "use_common_backend":
|
||||
switch ($input_source) {
|
||||
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']
|
||||
. " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -f alsa -i " . $data['hdmi']['audio_source']
|
||||
. " -c:v h264_qsv ";
|
||||
|
|
|
|||
Loading…
Reference in New Issue