Skip to content

docs: explain video to GIF preset settings - #1933

Merged
KnifeLemon merged 1 commit into
KnifeLemon:mainfrom
Golden007-prog:docs/1921-video-gif-preset
Dec 1, 2026
Merged

KnifeLemon merged 1 commit into
KnifeLemon:mainfrom
Golden007-prog:docs/1921-video-gif-preset

Conversation

@Golden007-prog

@Golden007-prog Golden007-prog commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

What does this change?

Document the built-in GIF preset's 12 fps target, 480 px width cap, and aspect-ratio preservation for MP4 and WebM inputs. Explain which control is available in the preset editor, and link to the FFmpeg encoding settings.

Fixes #1921.

Type of change

  • Documentation

How was it tested?

  • dotnet format Filee.slnx --verify-no-changes --no-restore --severity warn
  • dotnet build Filee.slnx --no-restore -c Release
  • 34 focused engine tests and the preset editor test on Ubuntu 24.04.
  • Verified that the built-in GIF preset exposes Playback speed. A 960 × 540 MP4 produced a 480 × 270 GIF, and a 320 × 180 WebM kept its dimensions. Both produced 12 frames for one second of input.
  • The broader Linux run hit archive and filesystem-permission failures. The affected CLI test, 85 engine cases, and two Core permission tests passed when rerun as an unprivileged user with the pinned 7-Zip bundle. Five platform-specific engine cases skipped.
  • The candidate and original upstream App suites each passed 3,310 tests with 32 skips.
  • The full Linux diagnostic produced the same outcome for all 10,426 test records on the candidate and upstream 9e0888f. Each had 9,890 passes, 94 failures, and 442 NotExecuted records in the TRX files. Upstream reproduced all 23 failures in CLI, Core, Engines, and Platform, plus 71 Windows-only Setup cases outside the Linux CI matrix.

Screenshots (UI changes)

This updates the README.

Checklist

  • The PR does one thing.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Nov 30, 2026

@KnifeLemon KnifeLemon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @Golden007-prog! I checked the new lines against the code, and they're right:

  • 12 fps and 480 px: MediaEncoding.AnimatedGif takes 15/12/10 fps and at most 640/480/320 px wide from the video quality. The built-in GIF preset uses the default (Balanced), and the editor doesn't show the video quality for a GIF target.
  • Aspect ratio: the scale filter uses force_original_aspect_ratio=decrease and never upscales, which matches your 320 × 180 WebM result.
  • Only Playback speed: ShowMediaQuality and ShowMaxHeight are for video targets only, so for GIF the editor shows just Playback speed (ShowAnimationSpeed).
  • The docs/ENGINES.md#ffmpeg link points to the right heading.

Good to go from my side.

@KnifeLemon KnifeLemon mentioned this pull request Dec 1, 2026
@KnifeLemon
KnifeLemon merged commit 5af7f2c into KnifeLemon:main Dec 1, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

GIF settings problem

2 participants