mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-04-05 22:57:40 +03:00
Add proper labels for hwaccel presets
This commit is contained in:
parent
6251b758b4
commit
38e1eee5b2
@ -1319,7 +1319,18 @@
|
|||||||
"none": "None",
|
"none": "None",
|
||||||
"useGlobalSetting": "Inherit from global setting",
|
"useGlobalSetting": "Inherit from global setting",
|
||||||
"selectPreset": "Select preset",
|
"selectPreset": "Select preset",
|
||||||
"manualPlaceholder": "Enter FFmpeg arguments"
|
"manualPlaceholder": "Enter FFmpeg arguments",
|
||||||
|
"presetLabels": {
|
||||||
|
"preset-rpi-64-h264": "Raspberry Pi 64-bit (H.264)",
|
||||||
|
"preset-rpi-64-h265": "Raspberry Pi 64-bit (H.265)",
|
||||||
|
"preset-vaapi": "VAAPI",
|
||||||
|
"preset-intel-qsv-h264": "Intel QSV (H.264)",
|
||||||
|
"preset-intel-qsv-h265": "Intel QSV (H.265)",
|
||||||
|
"preset-nvidia": "NVIDIA",
|
||||||
|
"preset-jetson-h264": "NVIDIA Jetson (H.264)",
|
||||||
|
"preset-jetson-h265": "NVIDIA Jetson (H.265)",
|
||||||
|
"preset-rkmpp": "Rockchip RKMPP"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"cameraInputs": {
|
"cameraInputs": {
|
||||||
"itemTitle": "Stream {{index}}"
|
"itemTitle": "Stream {{index}}"
|
||||||
|
|||||||
@ -405,7 +405,10 @@ export function FfmpegArgsWidget(props: WidgetProps) {
|
|||||||
<SelectContent>
|
<SelectContent>
|
||||||
{presetOptions.map((preset) => (
|
{presetOptions.map((preset) => (
|
||||||
<SelectItem key={preset} value={preset}>
|
<SelectItem key={preset} value={preset}>
|
||||||
{preset}
|
{t(`configForm.ffmpegArgs.presetLabels.${preset}`, {
|
||||||
|
ns: "views/settings",
|
||||||
|
defaultValue: preset,
|
||||||
|
})}
|
||||||
</SelectItem>
|
</SelectItem>
|
||||||
))}
|
))}
|
||||||
</SelectContent>
|
</SelectContent>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user