You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Migrate video export from GPL ffmpeg to Windows Media Foundation
Rotation-animation video export previously bundled a GPL ffmpeg build
(libx264/libx265) loaded through FFMediaToolkit. Replace it with the
OS-provided Windows Media Foundation H.264/H.265 encoder.
- Add MediaFoundationVideoEncoder (Crystallography.Controls) using direct
mfplat.dll / mfreadwrite.dll P/Invoke; no third-party dependency.
- Rewrite FormMovie to feed BGRA32 frames to the new encoder, disable
H.265 when no HEVC encoder is available, and tighten bitmap/Form disposal.
- Remove the 11 bundled ffmpeg DLLs, the FFMediaToolkit package reference,
and the installer's ffmpeg folder.
- Update THIRD-PARTY-NOTICES.md: no ffmpeg/x264/x265/GPL binaries are
bundled, so the former GPL source-availability obligation no longer applies.
- Version history: ver4.934.
- gitignore per-run GUI capture logs (docs/src/assets/**/_capture-log.tsv).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: ReciPro/FormMovie.cs
+66-61Lines changed: 66 additions & 61 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,11 @@
1
1
usingCrystallography.OpenGL;
2
-
usingFFMediaToolkit;//260405Cl 追加
3
-
usingFFMediaToolkit.Encoding;//260405Cl 追加
4
-
usingFFMediaToolkit.Graphics;//260405Cl 追加
2
+
//260530Cl Media Foundation へ移行: FFMediaToolkit は不使用 (旧 using をコメントアウト)。MediaFoundationVideoEncoder は Crystallography.Controls (Program.cs の global using 経由)
3
+
//using FFMediaToolkit; //260405Cl 追加
4
+
//using FFMediaToolkit.Encoding; //260405Cl 追加
5
+
//using FFMediaToolkit.Graphics; //260405Cl 追加
5
6
usingSystem.Drawing;
6
7
usingSystem.Drawing.Imaging;
7
8
usingSystem.Collections.Generic;//260405Cl 追加
8
-
usingSystem.IO;
9
-
usingSystem.Reflection;
10
9
usingSystem.Threading.Tasks;//260405Cl 追加
11
10
usingSystem.Windows.Forms;
12
11
@@ -30,7 +29,7 @@ public partial class FormMovie : FormBase
0 commit comments