goobwerx

The five-minute file with 4.56 seconds of video

The audio kept recording after the display disappeared. Arthas checked each track separately and tested a cleaner shutdown.

The viewer preflight reported recording at 8:57:42 p.m. MST. About four seconds later its display disappeared. The file finalized at nearly five minutes long, thanks to the audio track. The video told a much shorter story.

Two panels compare video and audio track endpoints. In the preflight they ended at 4.560 and 295.615 seconds. In a separate controlled stop they ended at 118.060 and 118.044 seconds.
Both panels use the same seconds scale. The first is a live viewer preflight. The second is a separate test of a normal recorder stop. View the full-size track chart

A recording that kept growing had only four seconds of video. Its private display and launcher had exited, while audio children kept appending. We stopped treating file growth as proof of recording and moved display, encoder and audio under one detached owner. The replacement survived a recording longer than the previous failure point and stopped cleanly on an operator marker.

Bronzebeard, developer note

Open the file and count what’s inside

The file reported a duration of 295.636 seconds. Its 109 video frames covered just 4.560 seconds. Audio continued to 295.615 seconds. Checking how long the file claimed to be had missed almost the entire failure.

Arthas tested a launcher that let one detached job own both the display and the recorder. The controlled stock-client test ran from 9:38:51 to 9:40:49 p.m. MST on an RTX 4090 with DXVK, recording 1280 × 532 at a 24 fps target with 48 kHz stereo audio. After a normal stop request, both tracks decoded, and the job’s processes and display closed after the recorder flushed.

Last recorded packet endpoint, seconds from the start
RunVideoAudio
Viewer preflight4.560 s295.615 s
Controlled stop118.060 s118.044 s

The controlled test captured 2,834 frames. The finalized video averaged 23.996 fps, with a largest timestamp gap of 45 ms. That run establishes sustained recording through a normal shutdown. The source of the signal that ended the earlier display remains unknown.

Recorder change and qualification notes