Skip to content

Commit

Permalink
Merge pull request #1933 from nyanmisaka/amf-tonemap
Browse files Browse the repository at this point in the history
Update strings for tonemapping on AMD AMF
  • Loading branch information
dkanada committed Sep 18, 2020
2 parents 73e0f34 + ffdb35a commit f5df349
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/controllers/dashboard/encodingsettings.js
Expand Up @@ -167,7 +167,7 @@ import libraryMenu from 'libraryMenu';
page.querySelector('#txtVaapiDevice').removeAttribute('required');
}

if (this.value == 'nvenc') {
if (this.value == 'nvenc' || this.value == 'amf') {
page.querySelector('.fldOpenclDevice').classList.remove('hide');
page.querySelector('#txtOpenclDevice').setAttribute('required', 'required');
page.querySelector('.tonemappingOptions').classList.remove('hide');
Expand Down
2 changes: 1 addition & 1 deletion src/strings/en-us.json
Expand Up @@ -1398,7 +1398,7 @@
"LabelOpenclDevice": "OpenCL Device:",
"LabelOpenclDeviceHelp": "This is the OpenCL device that is used for tonemapping. The left side of the dot is the platform number, and the right side is the device number on the platform. The default value is 0.0. The ffmpeg application file containing the OpenCL hardware acceleration method is required.",
"EnableTonemapping": "Enable Tone mapping",
"AllowTonemappingHelp": "Tone mapping can transform the dynamic range of a video from HDR to SDR while maintaining image details and colors, which are very important information for representing the original scene. Currently works only when using NVENC HEVC decoder and transcoding HDR10 or HLG videos.",
"AllowTonemappingHelp": "Tone mapping can transform the dynamic range of a video from HDR to SDR while maintaining image details and colors, which are very important information for representing the original scene. Currently works only when transcoding videos with embedded HDR10 or HLG metadata. If the playback is not smooth or fails, please consider turning off the corresponding hardware decoder.",
"LabelTonemappingAlgorithm": "Select the Tone mapping algorithm to use:",
"TonemappingAlgorithmHelp": "Tone mapping can be fine-tuned. If you are not familiar with these options, just keep the default. The recommended value is Reinhard.",
"LabelTonemappingRange": "Tonemapping range:",
Expand Down
2 changes: 1 addition & 1 deletion src/strings/zh-cn.json
Expand Up @@ -1350,7 +1350,7 @@
"LabelOpenclDevice": "OpenCL 设备:",
"LabelOpenclDeviceHelp": "此 OpenCL 设备用来色调映射。点的左侧为平台号,右侧为此平台上的设备号。默认值为 0.0。需要包含 OpenCL 硬件加速方式的 FFmpeg 应用程序。",
"EnableTonemapping": "启用色调映射",
"AllowTonemappingHelp": "色调映射可以将视频的动态范围从 HDR 变换成 SDR,同时保持图像细节与颜色等对于表现原始场景非常重要的信息。目前仅在使用 NVENC HEVC 解码器并且转码 HDR10 或 HLG 视频时有效",
"AllowTonemappingHelp": "色调映射可以将视频的动态范围从 HDR 变换成 SDR,同时保持图像细节与颜色等对于表现原始场景非常重要的信息。目前仅在转码内嵌 HDR10 或 HLG 元数据的视频时工作。如果播放不顺畅或失败,请考虑关闭对应的硬件解码器",
"LabelTonemappingAlgorithm": "选择要使用的色调映射算法:",
"TonemappingAlgorithmHelp": "色调映射可以微调。如果你不是很熟悉这些选项,保持默认即可。建议值为 Reinhard。",
"LabelTonemappingRange": "色调映射 Range:",
Expand Down

0 comments on commit f5df349

Please sign in to comment.