Open s3bubble opened 2 years ago
Hi. Thanks for reporting the issue. We'll take a look at it shortly and come up with an appropriate fix.
Looking at the latest DASH-IF document, it seems that the Period@duration attribute is not necessary here: Section [3.10.2.2.3 - Period Information] states that:
The Period end time PEwc[i] for a regular Period i is determined as follows:
+ If the Period is the last one in the MPD, the time PEwc[i] is obtained as
* the Media Presentation Duration MPDur, with MPDur the value of MPD@mediaPresentationDuration if present, or the sum of PSwc[i] of the last Period and the value of Period@duration of the last Period.
+ else
* the time PEwc[i] is obtained as the Period start time of the next Period, i.e. PEwc[i] = PSwc[i+1].
So in the case here, with a single
Hi thanks for the response this is a strange one.
We had this issue when encoding with Mediaconvert and this was the resolution.
After reviewing the MediaConvert job, we found that Write segment timeline in representation was disabled. DASH input manifests must contain segment templates with segment timelines in them. In our testing, once we enabled this setting in the DASH output group MediaTailor was able to accept the manifest and insert the ads properly.
For more information on integrating an MPEG-DASH source, please review
https://docs.aws.amazon.com/mediatailor/latest/ug/manifest-dash.html
We had to enable this.
Seems like something AWS is specifically implementing for mediatailor ad insertion we are getting back to AWS currently awaiting a response.
We will update.
Hi we have just got a response from the AWS Mediatailor team see below.
I have the following update from the service team:
Thanks for linking to that ticket at the Bento4 project.
We have updated our plan a little bit and plan to allow a manifest where the period@start and period@duration is either specified in the
However we do plan to require a Period@duration on the final period of a static mpd, as the DASH-IF guidelines say:
In a static presentation, the last period SHALL have a Period@duration.
This means that
<Period>
<Period start=x>
<Period start=y duration=z>
Is allowed.
<Period duration=a>
<Period duration=b>
Is also allowed.
About the MediaPresentationDuration, I see this in the DASH-IF doc:
MPD@mediaPresentationDuration MAY be present in an MPD. If present, it SHALL accurately match the duration between the zero point on the MPD timeline and the end of the last period, including the duration of any XLink periods. Clients SHALL calculate the total duration of a static presentation by adding up the durations of each period and SHALL NOT rely on the presence of MPD@mediaPresentationDuration.
It doesn't look to me like MediaPresentationDuration is a substitute for Period@duration. Let me know if you/they have comments about that.
Thank you!
Is this something that could be implemented into the Bento4? Or are there any comments to send back to the Mediatailor team. Thanks
Hi,
We use Bento4 to package our content then we upload our content to AWS S3.
We have recently been on support with AWS after trying to playback content and also insert ads using Mediatailor both were failing.
They stated.
We looked at the source manifest and found out that it doesn't contain the duration attribute which is the reason behind the failure. See below : Looking at the dash-IF[1] documents, we see that it is necessary for periods to include the duration attribute. A reference manifest can be seen here https://docs.aws.amazon.com/mediatailor/latest/ug/dash-manifest-vod.html
Here is our manifest encoded with Bento4
Any suggestion on how to implement this.