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. |
26th January 2019, 08:04 | #46 | Link | |
Registered User
Join Date: Nov 2005
Posts: 583
|
Quote:
|
|
3rd February 2019, 16:58 | #47 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
okay so far we can:
Next question is: How to playback such content on a pc? Cu Selur Ps.: Thanks to quietvoid for hdr10plus_parser. Really useful! |
3rd February 2019, 17:41 | #48 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
I'm working on making the HDR10+ metadata available to a renderer when decoding with LAV Video, so eg. madVR could then make use of it. madshi has already expressed interest in making use of it. A timeframe for that is however not available.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
4th February 2019, 10:58 | #51 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
The HDR10+ metadata references areas of the video, so if you scale or crop it (ie. change its size in any way), you would need to update the metadata accordingly.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders Last edited by nevcairiel; 4th February 2019 at 11:02. |
4th February 2019, 13:03 | #52 | Link |
Registered User
Join Date: Jan 2019
Location: Canada
Posts: 574
|
I'm thinking it's all mostly based on luminance.
There's info about every luminance percentile for a frame and a value associated to it. However I'm not sure what these values refer to, nor what Average Max RGB is about either. |
4th February 2019, 20:08 | #55 | Link |
Registered User
Join Date: Oct 2001
Location: Germany
Posts: 7,277
|
to output the data:
Code:
ffmpeg -i "E:\Output\HDR-10+.mp4" -vcodec copy -an -sn -vbsf hevc_mp4toannexb -f rawvideo - | hdr10plus_parser.exe - Code:
ffmpeg -i "E:\Output\HDR-10+.mp4" -vcodec copy -an -sn -vbsf hevc_mp4toannexb -f rawvideo - | hdr10plus_parser.exe - --verify |
5th February 2019, 13:18 | #59 | Link |
Registered Developer
Join Date: Mar 2010
Location: Hamburg/Germany
Posts: 10,348
|
Cropping alone wouldn't change the primary image information (assuming you only crop black bars). However, the metadata also references spatial windows in the image, which would get displaced if you crop, so those would at the very least need to be re-positioned.
Without proper tool support to do all of this, I would not bother trying to crop yet.
__________________
LAV Filters - open source ffmpeg based media splitter and decoders |
|
|