Skip to content

Improve web-video encoding quality and codecs strings - #15

Merged
gretchenfitze merged 2 commits into
mainfrom
fix/video-update
Oct 14, 2026
Merged

gretchenfitze merged 2 commits into
mainfrom
fix/video-update

Conversation

@gretchenfitze

Copy link
Copy Markdown
Member

Changes

Quality

  • Every scale and pixel format conversion uses Lanczos with accurate rounding and full chroma, so downscaled text and UI edges stay sharp.
  • AV1 is now 10-bit, and the lossless intermediate is 10-bit too, so RGB sources are converted once at full precision.
  • RGB and palette sources (GIF, PNG sequences) are converted with BT.709 and tagged, instead of BT.601 and untagged, which browsers showed with shifted colors.
  • SVT-AV1 ac-bias=1 spends a little more on high-frequency detail (4.0+; older builds ignore it).

HTML output

  • codecs strings in <source type> are read from the encoded files (AV1 level and bit depth, H.264 profile and level from avcC, audio codec only when present), instead of hardcoded values that could be lower than the stream's.

Options

  • --opaque-formats LIST sets what opaque video gets when --formats isn't given.
  • A .web-video file at the git root (or the current directory) sets project defaults; the command line overrides it.

Fixes

  • Alpha detection handles ffprobe 8.0's shorter -show_pixel_formats output.

Marketplace version bumped to 1.0.1.

🤖 Generated with Claude Code

gretchenfitze and others added 2 commits October 15, 2026 01:46
- Lanczos scaling with accurate rounding and full chroma for every conversion
- 10-bit AV1 and lossless intermediate
- Convert RGB and palette sources with BT.709 and tag the stream
- SVT-AV1 ac-bias for high-frequency detail
- Read codecs strings for <source> type attributes from the encoded files
- --opaque-formats option and per-project .web-video defaults
- Handle ffprobe 8.0 pixel format output

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@gretchenfitze
gretchenfitze merged commit b35b6cd into main Oct 14, 2026
1 check passed
@gretchenfitze
gretchenfitze deleted the fix/video-update branch October 14, 2026 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant