diff options
| author | Luke Hoersten <[email protected]> | 2026-06-15 08:49:34 -0500 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2026-06-15 08:49:34 -0500 |
| commit | fd3faa934999ee3953d66d9db84f67b699e81548 (patch) | |
| tree | f507d639dc54fa124c145159a47b41d01909b3d1 /.clangd | |
| parent | 2429179eaf1a62af770fe6de3b25b276db3ce401 (diff) | |
scrypted: rotate-before-scale so portrait JPEGs report 800x480
The portrait filter chain was scale=480:800,transpose=1. Output frame
dimensions came out 800x480 (correct) but the mjpeg encoder was
occasionally writing the pre-transpose 480x800 into the JPEG SOF
marker, so the firmware's dimension check rejected the frame:
expected 800x480, got 480x800
Reordering to transpose=1,scale=800:480,setsar=1 makes the post-filter
dims explicit and unambiguous — transpose first changes the frame to
800x480, scale re-asserts it, setsar clears any leftover non-1:1
aspect ratio metadata. The encoder now writes 800x480 into SOF every
frame.
Diffstat (limited to '.clangd')
0 files changed, 0 insertions, 0 deletions
