-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Read data from CodecPrivate when playing AVC or HEVC #7267
Comments
Is it standard to have Dolby Vision streams inside MKV? It is not listed in the Matroska codec IDs. |
It's not in the standard definition. Dolby Vision has not previously been in the standard. This implementation extends the format to allow for Dolby Vision within this format. Currently solutions (mp4 and ts) however have the standard, however are limited in a lot of features. So although its not a part of the standard of mkv, it is an extention of the standard which will improve the player capabilities in a massive way without going out of bounds in a massive way. MKV is after all the most used format :) |
Ok. I have flagged the issue as a low-priority enhancement for now. Thanks for reporting it. |
Thanks :) - referenced the MakeMKV creator to comment in here, as he can give more details as to how the format was extended! Hopefully he will comment |
I'm author of MakeMKV. For the record, I 'm willing to provide any help to make this happen. Now, few points: And, given that DV data is just a raw data that has to be handled to decoder and is already stored in decoder-ready format, it would take your developer literally ONE HOUR OF TIME to enable playback of such MKV files (assuming you can play back DV from other containers). |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
It's also important to note that current support of DV on .ts files doesn't work combined with the use of PGS subtitles, this should be also tested while it is implemented. It works for HDR but not for DV. |
Hi @MikeChenMM thanks for your work on MakeMKV and on DolbyVision support!
The Matroska specifications are an ongoing effort by the cellar working group at the IETF, in its current state it is composed of:
The working group is on GitHub and accepts contributions https://github.com/cellar-wg/matroska-specification If changes (or clarifications) in the specifications are needed for this particular problem it would be good to propose them! |
And they now agreed on a solution for saving data in codecprivate :-) @kim-vde the changes now allows for more usage than just Dolby Vision. This includes MVC data. As you can see it is in final approval to be added to the standard. Since this adds more functionality than just Dolby Vision, shouldnt this justify an increase in the priority ? |
Feel free to make a pull request to add this feature and we will be happy to review it. If you do so, please include tests with a minimal test asset. Thanks! |
ietf-wg-cellar/matroska-specification#390 has been merged and work towards this issue can be started. |
I'm interested in working on this, and made changes to Working on getting a small sample MKV to test this with before submitting a PR. On that note, @MikeChenMM you wouldn't happen to have a small test MKV in the finished spec, would you? |
I will close this issue as the corresponding pull request has been merged. |
[REQUIRED] Use case description
It has recently been decided in the mkv standard to add support for extra data in the codecprivate area when playing AVC or HEVC content.
This allows Dolby Vision data, as well as MVC data, to be properly read during playback and thus enable Dolby Vision support and more.
Proposed solution
It would be great it Exoplayer could be made possible to playback using this data allowing monitors to utilize Dolby Vision data.
The create of MakeMKV has allowed contact to him for easy explaination of how the data is stored and implemented
Alternatives considered
Workarounds are currently used through mp4 and ts files - however they lack a lot of features regarding subtitles, chapters and more! Directly play from the most common format (mkv) would make it super easy to use for the average user.
The text was updated successfully, but these errors were encountered: