Skip to main content

Module testing

Module testing 

Source
Expand description

Test clips for falcon’s own tests: AVI files written byte by byte, with uncompressed BGR pictures and 16-bit PCM sound, so no encoder is needed (falcon’s FFmpeg build has none) and every pixel’s value is known. av1 rewraps an AV1 stream encoded elsewhere in WebM, Matroska and MP4.

Modules§

av1
AV1 test clips in the containers falcon meets them in. The build has no AV1 encoder, so the pictures come from an IVF file encoded elsewhere (testdata/av1.ivf); these functions only rewrap its temporal units as WebM, Matroska or MP4, writing every box and element by hand.
mkv
A Matroska or WebM file holding only 16-bit PCM sound, written by hand like the other test clips (no encoder is needed), for the tests of how the soundtrack of such a container is decoded.

Structs§

Clip
An AVI clip to write: frames pictures of width × height at fps, with a 440 Hz stereo tone at audio_rate samples per second if given. width should be a multiple of 4 (AVI pads rows to 4 bytes).