diff --git a/src/components/itemMediaInfo/itemMediaInfo.js b/src/components/itemMediaInfo/itemMediaInfo.js
index 9fcd34317..bd3a157da 100644
--- a/src/components/itemMediaInfo/itemMediaInfo.js
+++ b/src/components/itemMediaInfo/itemMediaInfo.js
@@ -120,6 +120,18 @@ import 'flexStyles';
if (stream.BitDepth) {
attributes.push(createAttribute(globalize.translate('MediaInfoBitDepth'), `${stream.BitDepth} bit`));
}
+ if (stream.VideoRange) {
+ attributes.push(createAttribute(globalize.translate('MediaInfoVideoRange'), stream.VideoRange));
+ }
+ if (stream.ColorSpace) {
+ attributes.push(createAttribute(globalize.translate('MediaInfoColorSpace'), stream.ColorSpace));
+ }
+ if (stream.ColorTransfer) {
+ attributes.push(createAttribute(globalize.translate('MediaInfoColorTransfer'), stream.ColorTransfer));
+ }
+ if (stream.ColorPrimaries) {
+ attributes.push(createAttribute(globalize.translate('MediaInfoColorPrimaries'), stream.ColorPrimaries));
+ }
if (stream.PixelFormat) {
attributes.push(createAttribute(globalize.translate('MediaInfoPixelFormat'), stream.PixelFormat));
}
diff --git a/src/components/playerstats/playerstats.js b/src/components/playerstats/playerstats.js
index 28181756a..5345ed8bc 100644
--- a/src/components/playerstats/playerstats.js
+++ b/src/components/playerstats/playerstats.js
@@ -263,6 +263,34 @@ import 'css!./playerstats';
});
}
+ if (videoStream.VideoRange) {
+ sessionStats.push({
+ label: globalize.translate('LabelVideoRange'),
+ value: videoStream.VideoRange
+ });
+ }
+
+ if (videoStream.ColorSpace) {
+ sessionStats.push({
+ label: globalize.translate('LabelColorSpace'),
+ value: videoStream.ColorSpace
+ });
+ }
+
+ if (videoStream.ColorTransfer) {
+ sessionStats.push({
+ label: globalize.translate('LabelColorTransfer'),
+ value: videoStream.ColorTransfer
+ });
+ }
+
+ if (videoStream.ColorPrimaries) {
+ sessionStats.push({
+ label: globalize.translate('LabelColorPrimaries'),
+ value: videoStream.ColorPrimaries
+ });
+ }
+
const audioInfos = [];
if (audioCodec) {
diff --git a/src/controllers/dashboard/encodingsettings.html b/src/controllers/dashboard/encodingsettings.html
index b047facd3..aa90bf53f 100644
--- a/src/controllers/dashboard/encodingsettings.html
+++ b/src/controllers/dashboard/encodingsettings.html
@@ -31,6 +31,11 @@
${LabelVaapiDeviceHelp}
+
+
${LabelEnableHardwareDecodingFor}
@@ -89,6 +94,54 @@
+
+
+
+
${AllowTonemappingHelp}
+
+
+
+
+
+
+
+
${TonemappingRangeHelp}
+
+
+
+
+
+
+