-vf
This commit is contained in:
parent
fedf58659a
commit
6db8a08c69
|
|
@ -429,7 +429,7 @@ function update_service($which_service)
|
||||||
$input .= "ffmpeg -hide_banner -init_hw_device qsv=hw -filter_hw_device hw -hwaccel qsv -hwaccel_output_format qsv -c:v mjpeg_qsv -f v4l2 -thread_queue_size 128 -use_wallclock_as_timestamps 1 -input_format mjpeg "
|
$input .= "ffmpeg -hide_banner -init_hw_device qsv=hw -filter_hw_device hw -hwaccel qsv -hwaccel_output_format qsv -c:v mjpeg_qsv -f v4l2 -thread_queue_size 128 -use_wallclock_as_timestamps 1 -input_format mjpeg "
|
||||||
. " -video_size " . $data['hdmi']['resolution']
|
. " -video_size " . $data['hdmi']['resolution']
|
||||||
. " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -f alsa -thread_queue_size 128 -i " . $data['hdmi']['audio_source']
|
. " -framerate " . $data['hdmi']['framerate'] . " -i /dev/video0 -f alsa -thread_queue_size 128 -i " . $data['hdmi']['audio_source']
|
||||||
. ' -vf "vpp_qsv=format=nv12:brightness=' . $data['hdmi']['brightness'] . ':contrast=' . $data['hdmi']['contrast'] . ':saturation=' . $data['hdmi']['saturation'] . ':hue=' . $data['hdmi']['hue'] ;
|
. ' -vf "vpp_qsv=brightness=' . $data['hdmi']['brightness'] . ':contrast=' . $data['hdmi']['contrast'] . ':saturation=' . $data['hdmi']['saturation'] . ':hue=' . $data['hdmi']['hue'] ;
|
||||||
if ($data['hdmi']['resolution'] != $data['common_backend']['resolution'])
|
if ($data['hdmi']['resolution'] != $data['common_backend']['resolution'])
|
||||||
$input .= ',scale_qsv=' . $common_backend_resolution;
|
$input .= ',scale_qsv=' . $common_backend_resolution;
|
||||||
if ($hdmi_delay_video != "")
|
if ($hdmi_delay_video != "")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue