
Why a growing MP4 file does not prove a finished recording
Receiving more file bytes and finishing the container are separate events. An interrupted normal MP4 recording can lack information required for playback.
The journal
Practical reading about streaming, devices and the decisions behind a better prepared setup.

Receiving more file bytes and finishing the container are separate events. An interrupted normal MP4 recording can lack information required for playback.

The FLAC stream information checksum covers unencoded audio samples. A checksum of the entire file covers a different byte sequence.

Ogg Opus can contain decoded padding that the player is meant to discard. Compare intended output timing before treating every decoded sample as programme content.

A decoder output rate and the original input rate describe different stages. Ogg Opus has an input-rate metadata field precisely because those stages need not match.

The traditional RIFF size structure and the filesystem impose separate constraints. Free disk space alone does not establish that a chosen WAVE variant can hold a long export.

An input seek may land at an earlier seek point. FFmpeg treats the intervening material differently when copying streams and when accurately transcoding.