lettier / gifcurry

😎 The open-source, Haskell-built video editor for GIF makers.
https://lettier.github.io/gifcurry
BSD 3-Clause "New" or "Revised" License
1.34k stars 54 forks source link

Save GIF doesn't work #98

Open walhallaRV opened 2 months ago

walhallaRV commented 2 months ago

Hi, tried to make some gif / videos. Viedeo worked OK so far (would be great to have sound optional too).

Saving as .gif didn't work. Was doing something (one can not see any progressbar - just can wait if it finishes or not, or ...?).

After 6 minutes (for a 25 seconds gif it stopped finally with : "Didn't work. Check your settings ..". But which settings? Didnt find any point where I can change any settings, presets, options?

Cheers

skerit commented 1 month ago

I have the same issue, but the "Didn't work. Check your settings" message happens immediately. Could there be a bit more of an error message?

This is the error output when run in a terminal:

[INFO] Here are your settings.

  - FILE IO:
    - Input File:    /home/skerit/videos/Screencasts/Screencast from 2024-08-02 14-12-20.webm
    - Output File:   /home/skerit/downloads/test.gif
    - Save As Video: No
  - TIME:
    - Start Second: 2.011
    - End   Second: 3.635
  - OUTPUT FILE SIZE:
    - Width:       350px
    - FPS:         20
    - Color Count: 256
    - Dither:      True
  - CROP:
    - Left:   0.030
    - Right:  0.030
    - Top:    0.110
    - Bottom: 0.140

[INFO] Writing the temporary frames to: /home/skerit/.cache/gifcurry/gifcurry-frames48818
[vist#0:0/vp8 @ 0x5aeee1e31080] [dec:vp8 @ 0x5aeee1e59f40] Error submitting packet to decoder: Invalid data found when processing input
    Last message repeated 165 times
[vist#0:0/vp8 @ 0x5aeee1e31080] [dec:vp8 @ 0x5aeee1e59f40] Decoding error: Invalid data found when processing input
    Last message repeated 14 times
[vist#0:0/vp8 @ 0x5aeee1e31080] [dec:vp8 @ 0x5aeee1e59f40] Decode error rate 1 exceeds maximum 0.666667
[vist#0:0/vp8 @ 0x5aeee1e31080] [dec:vp8 @ 0x5aeee1e59f40] Task finished with error code: -1145393733 (Error number -1145393733 occurred)
[vist#0:0/vp8 @ 0x5aeee1e31080] [dec:vp8 @ 0x5aeee1e59f40] Terminating thread with return code -1145393733 (Error number -1145393733 occurred)
[ERROR] Something went wrong with FFmpeg.

The input file was made with Gnome-shell's built in screencast tool