[Bug] FFMPEG export broken in 2.43.1
Describe the bug Any export using FFMPEG causes an Error
To Reproduce Steps to reproduce the behavior:
- Choose MP4 as export option
- Name File
- Hit Save
Expected behavior A successful export
Error Message at ScreenToGif.Util.EncodingManager.EncodeWithFfmpeg(ExportPreset preset, List`1 listFrames, Int32 id, CancellationTokenSource tokenSource, String processing) in R:\Source\ScreenToGif\ScreenToGif\Util\EncodingManager.cs:line 1862 at ScreenToGif.Util.EncodingManager.Encode(ExportProject project, ExportPreset preset, Int32 id, CancellationTokenSource tokenSource) in R:\Source\ScreenToGif\ScreenToGif\Util\EncodingManager.cs:line 1057
Command:
-hwaccel auto -safe 0 -f concat -i "file:C:\Users\Jarrod\AppData\Local\Temp\ScreenToGif\Recording\2026-05-21 13-04-41\Encode 2026-05-21 01-27-30-60\concat.txt" -c:v libx264 -preset fast -pix_fmt yuv420p -vf "scale=trunc(iw/2)*2:trunc(ih/2)*2" -crf 23 -r 30 -f mp4 -fps_mode passthrough -y "C:\Users\Jarrod\Desktop\LoT_Checklist.mp4"
Result:
ffmpeg version 8.1.1-full_build-www.gyan.dev Copyright (c) 2000-2026 the FFmpeg developers built with gcc 15.2.0 (Rev13, Built by MSYS2 project) configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-cairo --enable-fontconfig --enable-iconv --enable-gnutls --enable-lcms2 --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-libdvdnav --enable-libdvdread --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libopenjpeg --enable-libquirc --enable-libuavs3d --enable-libxevd --enable-libzvbi --enable-liboapv --enable-libqrencode --enable-librav1e --enable-libsvtav1 --enable-libvvenc --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxeve --enable-libxvid --enable-libaom --enable-libjxl --enable-libsvtjpegxs --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-dxva2 --enable-d3d11va --enable-d3d12va --enable-ffnvcodec --enable-libvpl --enable-nvdec --enable-nvenc --enable-vaapi --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-openal --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-liblc3 --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint --enable-whisper libavutil 60. 26.101 / 60. 26.101 libavcodec 62. 28.101 / 62. 28.101 libavformat 62. 12.101 / 62. 12.101 libavdevice 62. 3.101 / 62. 3.101 libavfilter 11. 14.101 / 11. 14.101 libswscale 9. 5.101 / 9. 5.101 libswresample 6. 3.101 / 6. 3.101 Input #0, concat, from 'file:C:\Users\Jarrod\AppData\Local\Temp\ScreenToGif\Recording\2026-05-21 13-04-41\Encode 2026-05-21 01-27-30-60\concat.txt': Duration: 00:00:20.67, start: 0.000000, bitrate: 33 kb/s Stream #0:0: Video: png, rgba(pc, gbr/bt709/iec61966-2-1), 1776x712 [SAR 4724:4724 DAR 222:89], 25 fps, 25 tbr, 25 tbn [vost#0:0/libx264 @ 00000246d32de640] One of -r/-fpsmax was specified together a non-CFR -vsync/-fps_mode. This is contradictory. Error opening output file C:\Users\Jarrod\Desktop\LoT_Checklist.mp4. Error opening output files: Invalid argument
Desktop (please complete the following information):
- OS: Windows 11
- Version 2.43.1
Other comments Doesn't export even when running as administrator
Source: NickeManarin/ScreenToGif