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

Boudewijn Rempt <b...@valdyas.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |b...@valdyas.org

--- Comment #1 from Boudewijn Rempt <b...@valdyas.org> ---
Could be... Would that be this commit: 

commit 3efcd3e648c62b017b3146b9efb6826d6d1aaa0d
Author: Ivan Yossi <ghe...@gmail.com>
Date:   Mon Apr 27 02:07:01 2020 -0500

    Fix ffmpeg argument construct for GIF save

    BUG:420215

diff --git a/plugins/extensions/animationrenderer/video_saver.cpp
b/plugins/extensions/animationrenderer/video_saver.cpp
index 2394d54e2b..d2aa947a58 100644
--- a/plugins/extensions/animationrenderer/video_saver.cpp
+++ b/plugins/extensions/animationrenderer/video_saver.cpp
@@ -261,14 +261,18 @@ KisImportExportErrorCode VideoSaver::encode(const QString
&savedFilesMask, const
                  << "-start_number" << QString::number(clipRange.start())
                  << "-i" << savedFilesMask
                  << "-i" << palettePath
-                 << "-lavfi" << "[0:v][1:v] paletteuse"
-                 << "-y" << resultFile;
+                 << "-lavfi";
+
+            QString filterArgs;

             // if we are exporting out at a different image size, we apply
scaling filter
             if (m_image->width() != options.width || m_image->height() !=
options.height) {
-                args << "-vf" << exportDimensions;
+                filterArgs.append(exportDimensions + "[0:v];");
             }

+            args << filterArgs.append("[0:v][1:v] paletteuse")
+                 << "-y" << resultFile;
+

             dbgFile << "savedFilesMask" << savedFilesMask << "start" <<
QString::number(clipRange.start()) << "duration" << clipRange.duration();

lines 1-34/34 (END)

?

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

Reply via email to