Dynamic Media Facility / Timing

Time inside a DMF workload

Follow the same timestamp through different processing delays.

Paused50 fps / 20 ms per frame
Timing preset

Space: play / pause
Step: next event
Left / right: step by tick count
1 tick = 1 ms

One saved setting per tab.

Signal path ITSITS is the Indexing Time Stamp = x, Elapsed time = 0 msMF lengths show processing duration
01

Inputs

Video 1ITS = x
Video 2ITS = x
Video 3ITS = x
Conformed inputs

Already-conformed Flows in one workload time domain.

Input arrival delay

0-20 ms

02

Media functions

Media function8 ms
ITS preserved
MF2 ms
ITS preserved
MF2 ms
ITS preserved
Asynchronous processing

Each function works as soon as its input arrives.

MF processing delay

0-20 ms

03

Second MF

MF1 ms
ITS preserved
Video 2
CPU MF8 ms
ITS preserved
Further processing

Video 1 adds a fixed delay. Video 3's CPU MF has variable delay.

Second MF delay

V1 0-10 ms / CPU 0-8 ms

04

Vision mixer

Will look for grains with timestamp x at ITS − 20 ms

Lookup at elapsed 20 ms
Last read: NoneNo lookup yet
Reading buffer in 20 ms
V1
V2
V3
Ingress timing plane is ITS − 20 ms
Alignment by timestamp

The read point stays fixed, even when a matching input is late.

Mixer input timing plane

0-40 ms

05

Output

ProgrammeNo output yetNew Source
New Flow
Waiting

Matching inputs are required before mixing.

Mixer processing delay

0-3 frames / 0-60 ms

Fader changes apply to the next grain. Editing after stepping back starts a new history from that point. CPU samples are capped by the ceiling; zero bypasses processing. Inter-stage transfer adds no simulated delay.

At the mixer read point

Next read: ITS = x / CPU 8 ms

Arrival of the selected grain on each input path
InputITSDelay to mixerAt read pointTiming margin
Video 1x9 msWaiting+11 ms
Video 2x2 msWaiting+18 ms
Video 3x10 msWaiting+10 ms

The table follows the latest mixer read. A non-negative margin means the matching grain is available by its deadline.

Timing terms and ingress conformance
Grain
An indexable media unit: a video frame, or one audio sample per channel.
Source and Flow
A Source identifies editorial content. A Flow is its technical representation. Mixing creates a new Source and Flow.
ITS
The Indexing Time Stamp identifies a grain's intended time in the workload. Here, x is a symbolic ITS; actual values use nanoseconds from the SMPTE epoch.
Ingress
External Signals are conformed into usable Flows. Ingress uses frequency and timestamp provenance to assign or adjust ITS, preserving required timing relationships. Frame synchronisation or sample rate conversion is needed when the incoming frequency is not coherent with the workload.

The workload clock provides a shared time domain. In this example, the mixer ingress timing plane is offset behind that clock: a grain with ITS x+n is looked up at elapsed n plus the timing-plane offset. The header ITS advances on the video frame grid; elapsed time advances continuously. Internal Media Functions process asynchronously; matching timestamps allow alignment at the mixer.

Sources and example assumptions

This original illustration adds CPU variation after Video 3's 2 ms MF, and a 5 ms example. Repeatable CPU samples are 8, 2, 6, 3, 7, 4 and 5 ms, capped by the selected ceiling. At 50 fps, mixer processing is inferred as 31 - 20 = 11 ms, or 0.55 frames. The processing fader keeps its frame count when the frame rate changes. These delays and the no-output behaviour for a missed read point are illustrative choices, not AMWA requirements. Egress synchronisation is outside this diagram.

IN-002 and IN-005 are fixed AMWA documents. Later Increments may extend or refine their guidance. HK Grotesk and Fira Code are reused unchanged from this repository's deck assets at revision 4e3cddc, under the HK Grotesk licence and Fira Code licence.