-
Notifications
You must be signed in to change notification settings - Fork 510
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
startWithSAP & subsegmentStartsWithSAP attributes are not populated and this is not spec compliant #364
Comments
@KameshDevarakonda Thank you for filing this issue. I have labelled it as "enhancement" as it will require new additions to the code base. I have put it under backlog as our current milestones are already full. @kqyang, could you look at scheduling this work? |
@koln67 Are you seeing this issue in your spec compliance check? |
I'm not seeing this error with the conformance tool. Is there an example of input data and a packager command which generated this compliance error? |
@koln67 Maybe the conformance tool does not support the validation of startWithSAP yet. Can you see if you can find relevant code in the tool? |
For ec-3 and ac-4 track, these attributes are required and should be "1". |
Any progress on this issue by chance? To summarize the various SAP types in case it's helpful: SAP type 1 should be used if for every fragment the first frame in decode order is also the first frame in presentation order (such as for fragments that start with I-frames) SAP type 2 should be used when the first frame in decode order is not the first frame in presentation order, but the leading frames can be decoded (such as RADL in HEVC) SAP type 3 should be used for open GOP encodings where the leading B-frames cannot be decoded and must be discarded (such as RASL for HEVC) |
We don't have resources to work on it ourselves. You are welcome to help us implement the support and send a PR to us. |
Would it be possible to just contribute audio part? |
I don't see why not. |
Here is a solution only for audio #1055 |
System info
Operating System: all
Shaka Packager Version: v2.0.2 (and previous versions)
Issue and steps to reproduce the problem
When ShakaPackager generates DASH presentation, it doesn't indicate startWithSAP & subsegmentStartsWithSAP attributes either on AdaptationSet or Representation elements.
This is not spec compliant. From ISO/IEC 23009-1:2014(E), section 8.3 (on-demand profile) :
Representation elements with a @subsegmentStartsWithSAP value absent, zero or
greater than 3 may be ignored.
and 8.4 (live profile):
Representation elements with a @startWithSAP value (either supplied directly or inherited
from the containing) absent, zero or greater than 3 may be ignored.
The text was updated successfully, but these errors were encountered: