This commit is contained in:
devdatt 2026-02-13 15:10:30 +05:30
parent 8cfb3fa434
commit dab0ce6cd0
1 changed files with 2 additions and 2 deletions

View File

@ -388,8 +388,8 @@ function update_service($which_service)
. " -video_size " . $data['hdmi']['resolution']
. " -framerate " . $data['hdmi']['framerate']
. " -i /dev/video0"
. " -f alsa -thread_queue_size 2048 -i " . $data['hdmi']['audio_source']
. " -c:v h264_qsv -profile:v high -level:v 4.2 -async_depth 4 -b:v 6M -maxrate 6M -bufsize 12M "
. " -f alsa -thread_queue_size 128 -i " . $data['hdmi']['audio_source']
. " -c:v h264_qsv -profile:v high -level:v 4.2 -async_depth 4 -b:v 6M -maxrate 6M -bufsize 6M "
. " -c:a aac -b:a 265k -ar 48000 -async 1 -muxrate 0 -pat_period 0.1 -pkt_size 1316 ";
if ($hdmi_delay_video != "")
$input .= ' -vf "vpp_qsv=format=nv12,scale_qsv=' . $common_backend_resolution . ',' . setptsFromMs($hdmi_delay_video) . '"';