Page 6 of 6

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Wed Jun 07, 2017 7:50 am
by jpsdr
Nice. In that case, if possible, put also the frame number before the SEIs (unless it was allready intended to).
After, next step will only be possible if avs+ implement frame properties... :roll:

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Wed Jun 07, 2017 8:42 am
by admin
Frame numbers are already included in the index file. When the SEIs appear, all frames thereafter up to changed SEIs are affected.

SPS 37
PPS 714
MASTERING 13250 34500 7500 3000 34000 16000 15635 16450 40000000 50
LIGHT 1132 923
0:IDR 1551 2 0
1:TRAIL 0 1
2:TRAIL 0 2
3:TRAIL 1 3
4:TRAIL 0 4
5:TRAIL 0 5
6:TRAIL 1 6
7:TRAIL 0 7
8:TRAIL 0 8
9:TRAIL 1 9
10:TRAIL 0 10
etc.

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Wed Jun 07, 2017 11:59 am
by jpsdr
Ok, i see, nice work.
:bravo:

I think now we'll have to see if in real life it exists files with several SEIs information.
This will probably take a little time.

Edit
I've take a look at the help file of the last version.
You said mastering information follow the HEVC spec.
Can you pinpoint me to where i can have more information about it ? Where i have at least the name of each data ?
If you can tell me something like "Look on the document T-REC-H.264-201602-I!!PDF-E page 214"... :D
(It's an exemple, of course, i know the information in not in the specific document quoted).

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Wed Jun 07, 2017 12:18 pm
by admin
T-REC-H.265-201612-I!!PDF-E.pdf

Search for:

mastering_display_colour_volume
content_light_level_info

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Wed Jun 07, 2017 12:23 pm
by jpsdr
Ok, thanks.
Sorry if i'm bothering you, it's just that i have this (little for now) idea to try to make an HDR to SDR plugin converter, so i'm trying to gather information of how this what seems to be a nightmare works... :?

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Wed Jun 07, 2017 1:21 pm
by admin
No bother, jp. You've been very helpful. I don't think it's a nightmare. All the specifications are available and quite clear. Squabbling at obscure websites should not cloud your vision.

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Thu Jun 08, 2017 3:55 am
by jpsdr
According the last 2 of mastering_display_colour_volume are u32, and looking at the values, can i guess that the parameters are in this order :

MASTERING max_content_light_level max_pic_average_light_level display_primaries_x[0] display_primaries_x[1] display_primaries_y[1] display_primaries_x[2] display_primaries_y[2] white_point_x white_point_y max_display_mastering_luminance min_display_mastering_luminance

Maybe you can add this order information in the help file on a next release (i don't think there is a big hurry).

Re: [RESOLVED] HEVC/H.265 10/12-bit Support

Posted: Thu Jun 08, 2017 7:02 am
by admin
It's described in the specification. I think anyone wanting to use those numbers is going to need to closely look at the specification anyway, so I prefer not to try to duplicate either the syntax or semantics in my documentation.

LIGHT max_content_light_level max_pic_average_light_level
MASTERING display_primaries_x[G] display_primaries_y[G] display_primaries_x display_primaries_y display_primaries_x[R] display_primaries_y[R] white_point_x white_point_y max_display_mastering_luminance min_display_mastering_luminance