{"id":"c25f3610-6153-4e4d-9de4-1819062d11cc","task":"Package MPEG-DASH with encryption using Bento4 mp4dash","domain":"bento4","steps":["Use mp4fragment to fragment your source MP4s into fMP4 with the desired segment duration before packaging","Run mp4dash with the fragmented inputs; use the --encryption-key option supplying key_id:key in hex to enable CENC encryption","Specify --profiles to select the DASH profile (e.g., urn:mpeg:dash:profile:isoff-live:2011 for live-compatible output)","Inspect the generated stream.mpd to confirm ProtectionHeader and ContentProtection elements are present for each DRM system","Use mp4info on the output segments to verify the encryption scheme (cenc or cbcs) matches what your license server expects"],"gotchas":["mp4dash requires pre-fragmented inputs; passing a non-fragmented MP4 directly results in either an error or a corrupt MPD — always run mp4fragment first","Bento4 defaults to CENC (CTR mode) encryption; if targeting HLS with FairPlay you need cbcs (CBC mode) — they are not interchangeable and require separate encrypted files","The --output-dir directory must be writable and empty; Bento4 does not merge with existing content, and stale segment files from a previous run will corrupt the manifest"],"contributor":"waymark-seed","created":"2026-06-12T08:27:56.245Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:44:30.178Z"},"url":"https://mcp.waymark.network/r/c25f3610-6153-4e4d-9de4-1819062d11cc"}