#!/bin/bash # Writes the payloads in this directory with open encoders and muxers, from synthetic test # patterns and sine waves, so no captured content enters; and prober.tsv, what an # independent media prober reads of each. Not run in CI, since it needs the tools; its # outputs are committed, and wai-rs and browser_sink_verify.py check every query read from # them on every change. # # bash make.sh (from wai/platform-decode-conformance/payloads) set -euo pipefail cd "$(dirname "$0")" rm -f ./*.ivf ./*.h264 ./*.aac ./*.flac ./*.ogg ./*.opus prober.json ff() { local a=("$@") n=$#; ffmpeg -hide_banner -loglevel error -y "${a[@]:0:n-1}" -bitexact -map_metadata -1 "${a[n-1]}" prober.tsv