Skip to content

Commit 0404909

Browse files
author
John Deutscher
committed
Added note on fragment splitting on splice
1 parent e210748 commit 0404909

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

articles/media-services/media-services-specifications-live-timed-metadata.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,11 @@ received at least four seconds prior to the presentation time will be acted upon
164164

165165
## 2.2 Fragmented MP4 Ingest (Smooth Streaming)
166166

167-
Refer to [MS-SSTR-Ingest] for requirements on live stream ingest. The following sections provide details regarding ingest of timed presentation metadata. Timed presentation metadata is ingested as a sparse track, which is defined in both the Live Server Manifest Box (see MS-SSTR) and the Movie Box (‘moov’). Each sparse fragment consists of a Movie Fragment Box (‘moof’) and Media Data Box (‘mdat’), where the ‘mdat’ box is the binary message.
167+
Refer to [MS-SSTR-Ingest] for requirements on live stream ingest. The following sections provide details regarding ingest of timed presentation metadata. Timed presentation metadata is ingested as a sparse track, which is defined in both the Live Server Manifest Box (see MS-SSTR) and the Movie Box (‘moov’).
168+
169+
Each sparse fragment consists of a Movie Fragment Box (‘moof’) and Media Data Box (‘mdat’), where the ‘mdat’ box is the binary message.
170+
171+
In order to achieve frame-accurate insertion of ads, the encoder MUST split the fragment at the presentation time where the cue is required to be inserted. A new fragment MUST be created that begins with a newly created IDR frame, or Stream Access Points (SAP) of type 1 or 2, as defined in [ISO-14496-12] Annex I. This allows the Azure Media Packager to properly generate an HLS manifest (with precised signaling) and a DASH multi-period manifest where the new Period begins at the frame-accurate splice conditioned presentation time.
168172

169173
### 2.2.1 Live Server Manifest Box
170174

@@ -213,6 +217,12 @@ The ‘stsd’ box **SHOULD** contain a MetaDataSampleEntry box with a coding na
213217
Sparse track fragments consist of a Movie Fragment Box (‘moof’) and a Media Data
214218
Box (‘mdat’).
215219

220+
> [!NOTE]
221+
> In order to achieve frame-accurate insertion of ads, the encoder MUST split the fragment at the presentation time where the cue is
222+
> required to be inserted. A new fragment MUST be created that begins with a newly created IDR frame, or Stream Access Points (SAP) of
223+
> type 1 or 2, as defined in [ISO-14496-12] Annex I
224+
>
225+
216226
The MovieFragmentBox (‘moof’) box **MUST** contain a
217227
**TrackFragmentExtendedHeaderBox (‘uuid’)** box as defined in [MS-SSTR] with the
218228
following fields:

0 commit comments

Comments
 (0)