Google IMA/DAI HTML5 SDK Samples

Official Google samples for client-side (IMA) pre-roll ad insertion and server-side/SGAI dynamic ad insertion streams stitched with HLS.js.

Link

Related resources

  • vast-2-sgaiConverts VAST XML ad responses into HLS interstitial AssetLists and DASH Alternative MPDs for Server-Guided Ad Insertion (SGAI).
  • rmp-vastClient-side JavaScript library loading, parsing, and displaying VAST 2/3/4 ads in HTML5 video, built atop vast-client-js.
  • vast-client-jsOfficial Dailymotion JavaScript library for parsing VAST (up to version 6) ad tags with VASTTracker support.
  • vast-playerBrowser VAST linear-creative ad playback library: ad tag requests, wrapper resolution, MediaFile selection, VPAID init, and tracking pixels.
  • vast-vmapJavaScript library parsing IAB VAST 2.0/3.0 and VMAP 1.0 ad schemas with explicit tracking model (caller invokes track() rather than DOM wa…
  • nr-vqa-consumervideoNo-reference video quality metric tuned for consumer video capture artifacts (sensor noise, motion blur, shake) rather than compression art…
  • aws-batch-with-FFmpegReference architecture running FFmpeg containers (ARM64/x86-64/NVIDIA/Xilinx) on AWS Batch with Spot compute environments and SDK/REST job…
  • ffmpeg-queueFastify + Redis job queue for dispatching FFmpeg transcoding jobs, Docker Compose ready, production-used.
  • PXNR No-Reference Video Quality EstimationEricsson's sample implementation of the ITU-T P.NATS phase 2 no-reference video quality estimation module.
  • fssimu2Zig implementation of SSIMULACRA2 metric, ~23% faster and ~40% less memory than the reference implementation.