Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
If you're gonna resort to tone mapping you are better off doing it in post. Doing it in real time just adds latency.
Hoping there's a way for this to be done automatically. Maybe when a game is closed, while Steam syncs the save files to the cloud it can also work on fixing screenshots and videos recorded in HDR. I'm sure this is easier said than done, but I hope it's possible.
Yea doing it automatically might not work. Every game has their own different settings for gamma, brightness, saturation, etc for HDR. I don't think there's really a universal setting when it comes to tone mapping. It may look good in one game but completely off in another if you rely on something that is automatic. You would need a bunch of sliders to color correct but I don't think valve is going to add any kind of editing tools aside from just the most basic of basic stuff. They might at some point in the future but I wouldn't count on it.
I was afraid of that. Sounds like there needs to be a standard for this tech. :/
1. Download ffmpeg.exe from https://www.ffmpeg.org/download.html#build-windows
2. Create a new file named "mark-as-hdr10.bat" to the ffmpeg.exe folder with the following content:
%~dp0ffmpeg.exe -i %1 -acodec copy -vcodec copy -bsf:v hevc_metadata=colour_primaries=9:transfer_characteristics=16:matrix_coefficients=9 %1.hdr10.mp4
pause
3. Export your video from Steam and drag it (such as "xxx.mp4") onto mark-as-hdr10.bat, and you will get a file named "xxx.mp4.hdr10.mp4".
4. Play the new video with VLC and you’ll find it has HDR brightness and correct colors.
However, because the original video is 8-bit color depth, the brightness exceeding 8 bits is permanently lost, so some scenes may be overexposed.
-------------------
What mistake did Steam make?
1. Video is recorded in BT.2020 PQ but claims in metadata that it is Rec.709.
mark-as-hdr10.bat will fix it, marking the colorspace correctly as BT.2020 PQ.
2. Record video with 8-bit color depth.
This will cause high brightness detail above 255 to be permanently lost. Despite this, the majority of the video will retain correct colors and details. The video still has an HDR look and feel after the metadata fixing.
-------------------
ffmpeg command reference:
1. Mark HEVC video as BT.2020 PQ:
ffmpeg -i input.mp4 -acodec copy -vcodec copy -bsf:v hevc_metadata=colour_primaries=9:transfer_characteristics=16:matrix_coefficients=9 output.mp4
2. Mark HEVC video as BT.2020 HLG:
ffmpeg -i input.mp4 -acodec copy -vcodec copy -bsf:v hevc_metadata=colour_primaries=9:transfer_characteristics=18:matrix_coefficients=9 output.mp4
3. Mark HEVC video as Rec.709:
ffmpeg -i input.mp4 -acodec copy -vcodec copy -bsf:v hevc_metadata=colour_primaries=1:transfer_characteristics=1:matrix_coefficients=1 output.mp4
-------------------
If HEVC (H.265) is not enabled when recording or exporting, you must convert the video to HEVC (H.265) first for the above commands to work.