dim x264 encode when on arm (#2227)
This commit is contained in:
parent
613d885930
commit
1978882825
|
@ -921,12 +921,18 @@ if ( $monitor->Type() == 'Local' ) {
|
||||||
<?php
|
<?php
|
||||||
$videowriteropts = array(
|
$videowriteropts = array(
|
||||||
0 => 'Disabled',
|
0 => 'Disabled',
|
||||||
1 => 'X264 Encode',
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (stripos(php_uname('m'), 'arm') === false )
|
||||||
|
$videowriteropts[1] = 'X264 Encode';
|
||||||
|
else
|
||||||
|
$videowriteropts[1] = array('text'=>'X264 Encode - Not compatible on Arm','disabled'=>1);
|
||||||
|
|
||||||
if ($monitor->Type() == 'Ffmpeg' )
|
if ($monitor->Type() == 'Ffmpeg' )
|
||||||
$videowriteropts[2] = 'H264 Camera Passthrough';
|
$videowriteropts[2] = 'H264 Camera Passthrough';
|
||||||
else
|
else
|
||||||
$videowriteropts[2] = array('text'=>'H264 Camera Passthrough - only for FFMPEG','disabled'=>1);
|
$videowriteropts[2] = array('text'=>'H264 Camera Passthrough - only for FFMPEG','disabled'=>1);
|
||||||
|
|
||||||
echo htmlselect( 'newMonitor[VideoWriter]', $videowriteropts, $monitor->VideoWriter() );
|
echo htmlselect( 'newMonitor[VideoWriter]', $videowriteropts, $monitor->VideoWriter() );
|
||||||
?>
|
?>
|
||||||
</td></tr>
|
</td></tr>
|
||||||
|
|
Loading…
Reference in New Issue