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

            Bug ID: 442328
           Summary: Ability to find ffmpeg automatically without
                    reentering its path again and again.
           Product: krita
           Version: 5.0.0-beta1
          Platform: Compiled Sources
                OS: Microsoft Windows
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: Animation
          Assignee: krita-bugs-n...@kde.org
          Reporter: healer.ha...@gmail.com
  Target Milestone: ---

SUMMARY

At the Render Animation window it can be
quite tiresome to again enter the path of ffmpeg again, to render an animation.

Would it be possible for it to automatically detect that my find my ffmpeg by
going through the PATH variable in my system?

I suppose the `where` command in windows may also help.

```
FILE *fp = popen("where ffmpeg", "r");
// assert (fp != NULL);
if (NULL == fgets(ffmpeg_path, 200, fp){
  /* SPECIFY THE LOCATION OF FFMPEG MANUALLY */
}
if (ffmpeg_path[0] == '\0')
  /* SPECIFY THE LOCATION OF FFMPEG MANUALLY */
```

This is not a real code but a proof of concept. Though there may be other
method better than this.

SOFTWARE/OS VERSIONS
Windows: 10
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version:

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

Reply via email to