Skip to content

Can't set FFmpeg library path #11794

Closed
Closed

Description

@whizvox

Bug description

I tried to import m4a files into my project and was told that they're not supported. I saw that the FFmpeg path in the General settings isn't set, but I cannot set it no matter what I do.

Steps to reproduce

  1. Go to Edit > Preferences
  2. Navigate to General > FFmpeg library version

Option 1: Download FFmpeg

  1. Click "Download FFmpeg" button
  2. A small blank area appears below the field
Image
  1. About 10 seconds later, the blank area disappears and nothing else happens

Option 2: Locate existing installation

  1. Click "Locate existing installation installation" button
  2. Navigate to where libavformat.so is installed (in my case, /usr/lib64) and click the "Open" button (also, the dialog freezes for a few seconds after I select the lib64 directory)
  3. I receive a success popup, but the text box is still blank.
Image
  1. Restarting Audacity has no effect; the text box is still blank.

Option 3: Paste the path

  1. Type in or paste the path to libavformat.so into the text box.
  2. The text box is cleared and I get the same behavior as Option 2: a success dialog and restarting Audacity yields a still-empty text box.

Expected behavior

  1. Downloading FFmpeg should display something and actually download FFmpeg.
  2. Locating the existing installation should actually set the field.
  3. Typing into the text box should persist the changes.

Actual behavior

No response

Audacity Version

Audacity 4.0 beta 2

Operating system

Linux

Additional context

Fedora 44, using Gear Lever to launch the AppImage

Activity

  1. added theissue type on Aug 26, 2026
  2. whizvox commented on Aug 27, 2026

    @whizvox
    Author

    @whizvox please try beta3 release candidate: https://github.com/audacity/audacity/actions/runs/31678888719

    My FFmpeg installation is now automatically detected and I can open m4a files just fine. However, clicking the "Download FFmpeg" button results in the same behavior as before: a blank area appearing for a few seconds. Clicking on the text box and clicking off of it, without changing the value, results in the success dialog appearing, but this time, the value in the text box isn't cleared.

  3. senjacob commented on Sep 1, 2026

    @senjacob

    I tried latest Audacity 3.7.9 stable AppImage and Audacity-4.0.0-beta4-x86_64.AppImage that saysAudacity now has ffmpeg-9 support.
    I'm running Arch. /usr/bin/ has libavcodec.so.63.1.101 from ffmpeg-9.0.1

    I removed all existing audacity config under ~/.config/audacity/ before running these versions.

    Both versions could not locate or let me set the ffmpeg path.

    I also tried to download and locate below older ffmpeg versions shared binaries. However, they are also not updated in UI and ffmpeg is still not located after restarting the app.

    ffmpeg-n6.1.3-linux64-gpl-shared-6.1.tar.xz - libavformat.so.60.16.100
    ffmpeg-n8.1-latest-linux64-gpl-shared-8.1.tar.xz - libavformat.so.62.12.102

    ~/.config/audacity/audacity.cfg
    has ffmpeg path set to temp sandbox, although I'm running AppImage with --no-sandbox parameter.
    mod-ffmpeg=/tmp/.mount_audaciIAgChn/lib/audacity/modules/mod-ffmpeg.so and mod-ffmpeg=1

    Config does not have any reference to the default lib folder, or where I kept downloaded binary lib files.

  4. kryksyh commented on Sep 1, 2026

    @kryksyh
    Member

    @senjacob thanks, there is a bug in appimage that prevents loading system ffmpeg. Since you are on arch, please try audacity4-bin aur package.

  5. moved this from Ready For Dev to Code Review in [AU4] Release Maintenanceon Sep 2, 2026
  6. added
    Linux
    on Sep 2, 2026
  7. added a commit that references this issue on Sep 2, 2026
    e4fc8b0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Linuxbugimport-export

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions