Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 16th August 2023, 23:18   #1  |  Link
bokeron2020
Registered User
 
Join Date: Aug 2021
Location: Sea of Doubts
Posts: 28
ffmpeg -bsf:v hevc_metadata... Any way to change Mastering Display Luminance?

Hi!!

I made an ugly and stupid mistake while encoding that ended up with 20 files which Mastering Display Luminance values are reversed. I mean, instead of Mediainfo showing:

Code:
Mastering display luminance       : min: 0.0000 cd/m2, max: 1000 cd/m2
it shows instead:

Code:
Mastering display luminance       : min: 1000.0000 cd/m2, max: 0 cd/m2

Apparentlyt there's no way to change that using ffmeg bitstream filter... but maybe there is? Or... is there any other way that can repair this without reencoding?

Thanks for any help you can provide.
bokeron2020 is offline   Reply With Quote
Old 17th August 2023, 00:44   #2  |  Link
quietvoid
Registered User
 
Join Date: Jan 2019
Location: Canada
Posts: 574
There are ffmpeg patches that add the capability to edit HDR metadata AFAIK..
I don't have them on hand.
__________________
LG C2 OLED | GitHub Projects
quietvoid is online now   Reply With Quote
Old 17th August 2023, 01:09   #3  |  Link
bokeron2020
Registered User
 
Join Date: Aug 2021
Location: Sea of Doubts
Posts: 28
Quote:
Originally Posted by quietvoid View Post
There are ffmpeg patches that add the capability to edit HDR metadata AFAIK..
I don't have them on hand.
Oh, thank you. Didn't know about that. I've done a quick search right now and I've found something apparently compiled for Nvida encoder... I downloaded and tried it but no luck.

I wonder why isn't this a capability already incorporated to the "mainstream" builds. Maybe some drawback doing this even if it was finally possible?

I better start re-encoding... just in case...
bokeron2020 is offline   Reply With Quote
Reply

Tags
bitstream, ffmpeg, filter, hevc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 16:36.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.