mirror of
https://github.com/NickeManarin/ScreenToGif.git
synced 2026-04-25 23:25:52 +03:00
[GH-ISSUE #1251] [Feature Request] Add customizable import settings for FFMPEG #3331
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#3331
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 @Dephrilibrium on GitHub (Nov 14, 2023).
Original GitHub issue: https://github.com/NickeManarin/ScreenToGif/issues/1251
Originally assigned to: @NickeManarin on GitHub.
Is your feature request related to a problem? Please describe.
I have a raspberry pi cam which I use to stream a fabrication process to my network. For presentations I want to convert the long videos (up to a few hours) into a short <1min timelapse video.
The network-stream I've captured via VLC into an avi-file. When the avi-file is opened afterwards, VLC tells me the avi has a broken index. That's why I converted it to mp4 using xMediaRecode. This fixes the broken index message and I tried to import the new MP4 to screen2gif.
When starting the import using FFMPEG, I noticed, that FFMPEG stop importing after a few seconds. I observed this by checking the CPU load of the ffmpeg-process in the task-manager. It starts with 80-100% and drops back to idle (1-5%) after a few seconds. I tried to wait for more than 30 minutes, but the progress bar of screen2gif was not doing any progress anymore.
Since screen2gif didn't showed me any output what's going on, I tried to use it directly via powershell. Using:
./ffmpeg -i "<Path>\<to>\<video>\Saphir Segmented Cut.mp4" -vf fps=1/3 "<Path>/<to>/<extracted>/img_%06d.png"With this command FFMPEG extracted without any problems and, in addition, I just got the wanted timelapseframes, instead of importing all frames, which most of them are deleted afterwards directly.
Describe the solution you'd like
Therefore, options or a textbox to customize the import process with FFMPEG would be great. Especially the fps-option of FFMPEG which allows the extraction of one frame each Nth second, e.g.: fps=1/4 extracts one frame all 4 seconds.
fpsoption would be great to speed up the import significantly (e.g.: fps=1/4 imports one frame each 4 seconds)Describe alternatives you've considered
I used FFMPEG via powershell and was able to extract just the frames I need for my timelapse. These I imported than as a image sequence into screen2gif to fine-tune the frame duration and create a timelapse-MP4
Additional context