mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-26 07:35:54 +03:00
[GH-ISSUE #1137] [Bug] Error saving in webp format #857
Labels
No labels
copy cats
duplicated
future feature
pull-request
⬜ Accepted
⬜ Completed
⬜ Help Wanted 💪
⬜ In Progress
⬜ Missing Details
⬜ Pending
⬜ Waiting For Answer ⏳
🆕 feature preview
🔷 Bug 🐛
🔷 Out Of Scope
🔷 Out Of Scope
🔷 Question
🔷Enhancement
🔷Enhancement
🔷Invalid / External
🔷Knowledge Base
🔷Won't Fix
🕑 High
🕑 High
🕑 High
🕕 Medium
🕙 Low
🕛 Critical
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ScreenToGif#857
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Ehdil on GitHub (Aug 17, 2022).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1137
Originally assigned to: @NickeManarin on GitHub.
Hello, I'm using the program, I'm enjoying it, very good, but I have a problem that I can't save the projects in animated webp format. Whenever I try, it gives an error. What can it be?
This happens when I make a project with images and then try to record in animated webp. Thank you.
@NickeManarin commented on GitHub (Aug 18, 2022):
Hello, what does the error details say?
@Ehdil commented on GitHub (Aug 20, 2022):
It only gives an error message. error.
Here's what appears in notepad:
@Ehdil commented on GitHub (Aug 20, 2022):
Error while encoding the Webp with FFmpeg.
at ScreenToGif.Util.EncodingManager.EncodeWithFfmpeg(ExportPreset preset, List`1 listFrames, Int32 id, CancellationTokenSource tokenSource, String processing) in C:\Users\nicke\source\ScreenToGif\ScreenToGif\Util\EncodingManager.cs:line 1734
at ScreenToGif.Util.EncodingManager.Encode(ExportProject project, ExportPreset preset, Int32 id, CancellationTokenSource tokenSource) in C:\Users\nicke\source\ScreenToGif\ScreenToGif\Util\EncodingManager.cs:line 1036
Command:
-vsync auto -safe 0 -f concat -i "file:C:\Users\Cliente\AppData\Local\Temp\ScreenToGif\Recording\2022-08-17 00-57-45\Encode 2022-08-20 02-21-23-39\concat.txt" -c:v libwebp_anim -loop -1 -preset picture -lossless 0 -quality 100 -f webp -y "C:\Users\Cliente\Desktop\Animação1.webp"
Result:
ffmpeg version 4.4.1-full_build-www.gyan.dev Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.2.0 (Rev1, Built by MSYS2 project)
configuration: --enable-gpl --enable-version3 --enable-static --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libdav1d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxvid --enable-libaom --enable-libopenjpeg --enable-libvpx --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-d3d11va --enable-dxva2 --enable-libmfx --enable-libglslang --enable-vulkan --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
Expected number for vsync but found: auto
@Ehdil commented on GitHub (Aug 20, 2022):
ScreenToGif.EncodeWithFfmpeg
[NickeManarin] I'm a Brazilian user. :)
@NickeManarin commented on GitHub (Aug 20, 2022):
The last line explains the issue that you have:
So, for that specific selection, it's expecting a number.
Olá! :D
@Ehdil commented on GitHub (Aug 20, 2022):
I'm only able to save in webp when I check the box: X Gif with repetitions. I don't know why, if it's my mistake here in the handling or if it's a bug.
If the box is checked X, even putting 1 repeat works. If I uncheck the box it gives an error message. I made a project with PNG images, with 91 frames, and saved the project, and saved from the project.
What can it be?
But the program is very good, excellent, I would like to congratulate you! And I intend to collaborate with the project in the next few days.
@Ehdil commented on GitHub (Aug 21, 2022):
NickeManarin Eu gosto de informática como um todo, mas me interesso mais agora com Codecs de vídeo, codecs de áudio. Gosto do assunto. E me interessou os codecs de imagens porque estou trabalhando em um projeto e precisaria criar GIFs.
E vi esse formato Webp bem promissor, ele proporciona arquivos de tamanhos menores, que podem para algumas aplicações serem muito úteis.
@riskeez commented on GitHub (Nov 6, 2023):
Getting same problem with
ScreenToGif v2.39and the latest ffmpeg build v6.0 by gyan.The stack trace is a bit different though.
Exception:
@NickeManarin commented on GitHub (Nov 7, 2023):
Which value are you using in the Loop field?
It's "-loop -1" for some reason.
@riskeez commented on GitHub (Nov 8, 2023):
When I just do

File -> Save asI don't haveLooped gif.flag set. And that is when it doesn't workBut if I set the flag, it works!

