-
Notifications
You must be signed in to change notification settings - Fork 513
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
feat: support Dolby Vision profile 8.x (HEVC) and 10.x (AV1) in HLS and DASH #1396
feat: support Dolby Vision profile 8.x (HEVC) and 10.x (AV1) in HLS and DASH #1396
Conversation
14cfe24
to
97fd1c0
Compare
--------- Co-authored-by: Xingzhao Yun <xyun@dolby.com>
--------- Co-authored-by: Xingzhao Yun <xyun@dolby.com>
off by default for backwards compatibility --------- Co-authored-by: Xingzhao Yun <xyun@dolby.com>
--------- Co-authored-by: Xingzhao Yun <xyun@dolby.com>
97fd1c0
to
4bd18e5
Compare
@vish91 I know you expressed interest in this feature, please give this a try and let me know if it works for you |
cc @sr1990 since you had some feedback on the earlier PR |
1d24037
to
b8aecf2
Compare
9daf748
to
5762215
Compare
Agree with the flag usage. Overall lgtm. |
… brands for P10.x as well
c0a311c
to
e6c3c69
Compare
packager/mpd/base/mpd_builder.cc
Outdated
@@ -53,12 +53,12 @@ bool AddMpdNameSpaceInfo(XmlNode* mpd) { | |||
"urn:marlin:mas:1-0:services:schemas:mpd"; | |||
static const char kXmlNamespaceXlink[] = "http://www.w3.org/1999/xlink"; | |||
static const char kMsprNamespace[] = "urn:microsoft:playready"; | |||
static const char kScte214Namespace[] = "scte214"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wonder if this is the correct namespace to use @cosmin ?
or if this should be urn:scte:dash:scte214-extensions
4.2.4 Guidelines for signaling cross-compatible Dolby Vision content (profiles
8.1 and 8.4)
Follow the guidelines for MPD schema and AdaptationSet when signaling cross-compatible Dolby Vision
content.
MPD
An MPD that needs to use this signaling must contain the following schema.
xmlns:scte214="urn:scte:dash:scte214-extensions"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for tracking down the correct namespace
@XingzhaoYun could you also help please check this PR and see if you have any feedback or any changes we have in fork where we are attempting this. |
For DASH signaling, I think SupplementalProperty/EssentialProperty for MatrixCoefficients, ColourPrimaries, and TransferCharacteristics are ought to included by default, right? We created another branch including this already for reference, main...DolbyLaboratories:shaka-packager:dolby/dovi_for_prmt#diff-6f4988849e3a9b9b9060eb05e0dd074599a84197063016b97b15cc71fee287c9 |
…or DASH --------- Co-authored-by: Xingzhao Yun <xyun@dolby.com>
3e7dda4
to
c64c7c3
Compare
@XingzhaoYun thank you for the feedback, I went ahead and included the changes to parse and include matrix coefficients and color primaries in the MPD. |
🤖 I have created a release *beep* *boop* --- ## [3.2.0](v3.1.0...v3.2.0) (2024-05-11) ### Features * support Dolby Vision profile 8.x (HEVC) and 10.x (AV1) in HLS and DASH ([#1396](#1396)) ([a99cfe0](a99cfe0)) ### Bug Fixes * adaptation set IDs were referenced by lowest representation ID ([#1394](#1394)) ([94db9c9](94db9c9)), closes [#1393](#1393) * escape media URLs in MPD ([#1395](#1395)) ([98b44d0](98b44d0)) * set yuv full range flag to 1 for VP9 with sRGB ([#1398](#1398)) ([f6f60e5](f6f60e5)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
----@cosmin @joeyparrish how do we use this new flag ? ^Ignore me.. i was using the wrong release build. Testing again |
@vish91 did that work out? |
yeah that worked well. Generated a clear and DRM version. Getting it to player and client teams for testing . Thanks! |
Support Dolby Vision profile 8.1, 8.2, 8.4, 10.1, 10.4 signaling in HLS and DASH.
adds new option
--use_dovi_supplemental_codecs
(off by default) to use SUPPLEMENTAL-CODECS in HLS andscte214:supplementalCodecs
andscte214:supplementalProfiles
for DASH.To maintain compatibility with existing players the current behavior of using two entries in the manifest remains the default. This will be changed in a future version where
use_dovi_supplemental_codecs
will become on by default.Adds Dolby Vision compatible brands, 'db1p', 'db2g', 'db4g', 'db4h', 'dby1' based on https://mp4ra.org/#/brands
This is based on and replaces #1255. It was then extended to support DolbyVision profile 10.x signaling for AV1
Co-authored-by: Xingzhao Yun xyun@dolby.com