-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expose primaries and trc in video codec VideoCodecParameters #265
Comments
DV files I guess would need DV profile as well? Or something to differentiate them from SDR files |
Ideally, also expose embeded subtitle track parameters, specifically |
what is forced and default? |
Mkv has multiple track flags: Not sure about other containers but HLS and DASH also have these, just way less standarized and not so common. But in mkv it is very commonly used. |
I guess adding these to streaminfo metadata like language and title are added would be more than enough. Workaround for getting trc, primaries and dolby profile is to parse logs when opening media, but it's not exactly dependable if there is more than 1 player. And well, mkv track forced, default etc flags are not shown there. |
not complete. wang-bin/mdk-sdk#265
this build add color space(only a few but almost enough to detect hdr) and dolby vision profile streaminfo c struct is not able to add new members without abi break, so track flags will not be added soon. metadata is an option |
Thank you, will test soon. Regarding track flags - track title/label and language is already a part metadata so I guess it makes sense to add it there as well. To avoid breaking compatibility. |
Is your feature request related to a problem? Please describe.
Without primaries and trc in media info, there seems to be no way to figure out if video has HDR or not.
Describe the solution you'd like
MDK already parses primaries and trc from codec, expose it so that mediainfo() can access these as well.
The text was updated successfully, but these errors were encountered: