mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
[GH-ISSUE #252] Bug in ".webm" output? (workaround) #1576
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#1576
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 @PeterZuge on GitHub (Feb 4, 2018).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/252
Originally assigned to: @NickeManarin on GitHub.
Note: I have downloaded ffmpeg.exe from inside the utility and am using the latest version (version 2.11).
Using ffmpeg as the encoder, and outputing to a ".webm" file results in a 0-byte file.
Changing the codec to "libvpx" resolves the problem.
Original "Extras" section (before my modification):
-c:v libx264 -pix_fmt yuv420p -vf "pad=width={W}:height={H}:x=0:y=0:color=black"My modification to "Extras":
-c:v libvpx -pix_fmt yuv420p -vf "pad=width={W}:height={H}:x=0:y=0:color=black"This change now correctly creates the output file as intended. Obviously, changing the codec causes an issue if you want to output MP4 (you need to switch back to "libx264").
Perhaps automatically changing the codec in "Extras:" if ".webm" is selected as file output?
Thanks!
@dogancelik commented on GitHub (May 13, 2018):
I had the same problem, this fixed it, thank you @PeterZuge
@UNiXMIT commented on GitHub (Jun 6, 2019):
Thanks that workaround works great. I wondered why it wasn't working. Thanks
@hrxn commented on GitHub (Jun 6, 2019):
Can confirm, this issue is still present for me (latest version of ScreenToGif). But the workaround works as described.
@NickeManarin commented on GitHub (Sep 27, 2019):
With the latest release, v2.18, the app now supports presets for each file type when using FFmpeg.
Each file type has its own default preset, and for webm, I added the proper command to use
libvpx.