Extension:TimedMediaHandler/Test media

I've made a couple of high-resolution sample video clips of a bubbling fountain, which may be freely used for testing TimedMediaHandler's ingest, transcoding, and playback. The scripts for making various formats and sizes from the source clips will be checked into git shortly; because the files are large they're being placed on-wiki here to avoid cluttering up the git repos. --Brion Vibber (WMF) (talk) 18:22, 17 August 2023 (UTC)

Source clips
Two 20-second video clips, one at 1920x1080 59.94fps HDR, and the other at 3840x2160 29.97fps HDR. (These are the highest resolution options available on my camera at each frame rate.)

todo: add the clips here

Derived clips

 * SDR down-conversions of the two HDR sources at full resolution
 * "codec" tests converting the 30fps sources to 360p VP8, VP9, Theora, MPEG-1, MPEG-2, MPEG-4, H.264/AVC, and HEVC. Note that MPEG-4, H.264, and HEVC should not pass through uploads at present as those codecs have not been approved for WMF usage, but they should be recognized so that can be enforced - thus they are not included in this archive but can be regenerated from scripts.
 * "small" test with a tiny 160x90 frame size to confirm playback isn't confused
 * "crop" tests with 4:3 and 2.39 aspect ratios to confirm playback isn't confused
 * "legacy" format conversions from 60fps SDR sources to VideoCD (MPEG-1 240p30/288p25), DVD (MPEG-2 480p24/480i30/576i25), and ATSC-style HD video (MPEG-2 720p60/1080i30). These should all upload and work.
 * "chroma" subsampling tests comparing 4:2:0, 4:2:2, and 4:4:4 input in WebM VP9 (all should be converted to 4:2:0 output)

Automation
Given the two source files, all derived files can be regenerated with a Makefile that wraps ffmpeg commands for each file.

Currently there's no automation for the upload process, or fetching the files for local testing. This may be added, but preserving the artifacts and their creation scripts is the most important thing!

Production testing
The files here on mediawiki.org can serve as canonical examples of the test files in the production environment. They will also be mirrored to test.wikipedia.org which will sometimes run an "advance configuration" with features not yet enabled live on the other wikis -- we'll be using this for doing some more serious checking for regressions and edge cases on the iOS-compatible HLS media generation.

See User:Brion Vibber (WMF)/Mobile video playback 2023