https://bugs.kde.org/show_bug.cgi?id=506976

            Bug ID: 506976
           Summary: Rendering video to GIF doesn't work if filepath
                    doesn't end in .gif extension (Unrecognized option
                    'palettegen'.)
    Classification: Applications
           Product: krita
      Version First 5.2.9
       Reported In:
          Platform: Appimage
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Animation
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

SUMMARY

When rendering an animation as GIF, the filepath must end in .gif or FFMPEG
won't work.

STEPS TO REPRODUCE
1. Create an animation of 2 frames.
2. File -> Render animation...
3. Check "As Video"
4. Choose Render as: GIF
5. Change the filepath to ./gif.foo
6. Click OK
7. Krita will render the frames successfully, but FFMPEG won't turn them into a
GIF file.

OBSERVED RESULT

Krita displays a message about an "unknown error" while rendering the video.

EXPECTED RESULT

Choosing to render to a GIF in Krita should work regardless of extension.

SOFTWARE/OS VERSIONS
I'm on Linux Mint.
ffmpeg version 6.1.1-3ubuntu5

ADDITIONAL INFORMATION

gif.foo.log:

/usr/bin/ffmpeg -hide_banner -y -y -r 12 -start_number 0 -start_number_range 1
-i /my-folder/text%04d.png -lavfi
[0:v][1:v]paletteuse=dither=sierra2_4a:diff_mode=none -f gif -loop 0 -gifflags
+transdiff -palettegen palettegen=stats_mode=full:reserve_transparent=1
/my-folder/gif.foo
=====================================================
Unrecognized option 'palettegen'.
Error splitting the argument list: Option not found

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to