[kdenlive] [Bug 453963] New: speech to text ffmpeg path not found on MacOS

gar bugzilla_noreply at kde.org
Wed May 18 01:09:41 BST 2022


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

            Bug ID: 453963
           Summary: speech to text ffmpeg path not found on MacOS
           Product: kdenlive
           Version: 22.04.0
          Platform: macOS (DMG)
                OS: macOS
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Video Display & Export
          Assignee: jb at kdenlive.org
          Reporter: arkadianriver at gmail.com
  Target Milestone: ---

SUMMARY
Speech to text on MacOS not finding path to ffmpeg.

STEPS TO REPRODUCE
Select clip > Speech Editor > Start recognition

OBSERVED RESULT
Reports error: No speech detected with log:
FileNotFoundError: [Errno 2] No such file or directory: 'ffmpeg'

EXPECTED RESULT
Speech recognized :O)

SOFTWARE/OS VERSIONS
macOS: 12.3.1

ADDITIONAL INFORMATION
Determined that when editing the file and adding the folder that ffmpeg is in
to the path that it works.
I don't know where the PATH should be set for these scripts, so this probably
isn't the ultimate fix, but it got the job done in this case.
1. Edit the file
/Applications/kdenlive.app/Contents/Resources/scripts/speechtotext.py
2. Add on around line 18 the following code:
    if sys.platform == 'darwin':
        os.environ["PATH"] += os.pathsep +
'/Applications/kdenlive.app/Contents/MacOS'

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



More information about the kde-mac mailing list