Files
zoneminder/tests
Isaac ConnorandClaude Opus 5.5 954b14a728 fix: fit frames of another shape inside the stream instead of stretching refs #4186
The MPEG encoder's size is set by the stream's first frame. When playback moved
on to an event from a monitor with another aspect ratio, PackImage scaled its
frames to that size and distorted them. Scale them to fit inside it, centred on
black, with even sizes and offsets so subsampled chroma stays aligned. The black
fill is done by hand because av_image_fill_black needs FFmpeg 4.2.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-05 19:55:35 -05:00
..
2024-05-08 14:16:05 -04:00