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

            Bug ID: 405146
           Summary: flatpak: ffmpeg not found automatically
           Product: krita
           Version: 4.1.7
          Platform: Flatpak
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: peter.eszl...@gmail.com
  Target Milestone: ---

The flatpak of Krita has access to two ffmpeg binaries:

1. /app/bin/ffmpeg

This one is bundled with Krita, supports all formats that are needed and is the
one meant to be used.

2. /usr/bin/ffmpeg

This one is part of the runtime, doesn't include support for all formats and
therefore should be ignored.

To make Krita find the correct binary, I did the following modifications:

a) plugins/extensions/animationrenderer/DlgAnimationRenderer.cpp

Replaced "/usr/bin" with "/app/bin".

b) plugins/impex/video/kis_video_export.cpp

Replaced "cfg.customFFMpegPath()" with "/app/bin/ffmpeg".

The second change is necessary, because else the first try to render would fail
(the following would succeed). Because I don't know how to fix that, I didn't
submit a patch.

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

Reply via email to