You are not logged in.
Audacity stopped seeing ffmpeg library. Even when I select libavformat.so through preferences it still says FFmpeg library not found
Offline
Post actual, literal errors, do not paraphrase.
Offline
Okay? When I import video file to convert to audio it says:
"Could not oppen file x: Incorrect filetype" I then get another error:
"x is an Advanced Audio Coding file. Without the optional FFmpeg library, Audacity cannot open this type of file. Otherwise, you need to convert it to supported audio format such as WAV or AIFF". Audacity, lame and ffmpeg are present and updated to their latest version. I reinstalled them just in case with pacman -Syu
Offline
After getting that error message, please run (as root/with root rights))
# journalctl -b | curl -s -H "x-random;" --upload-file - 'https://paste.c-net.org/'It will upload the journal for your current boot to a public pastebin and output a link, post that link.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Online
After getting that error message, please run (as root/with root rights))
# journalctl -b | curl -s -H "x-random;" --upload-file - 'https://paste.c-net.org/'It will upload the journal for your current boot to a public pastebin and output a link, post that link.
Offline
audacity was rebuilt after the ffmpeg 9 update but maybe you updated into the gap?
pacman -Qs 'audaci|ffmpeg'Offline
audacity was rebuilt after the ffmpeg 9 update but maybe you updated into the gap?
pacman -Qs 'audaci|ffmpeg'
local/audacity 1:3.7.8-4 (pro-audio)
A program that lets you manipulate digital audio waveforms
local/ffmpeg 2:9.0.1-1
Complete solution to record, convert and stream audio and video
local/ffmpegthumbnailer 2.3.0-2
Lightweight video thumbnailer that can be used by file managers
local/qt6-multimedia-ffmpeg 6.11.2-1
FFMpeg backend for qt6-multimedia
Offline
"no"
LD_DEBUG=libs audacityOffline
"no"
LD_DEBUG=libs audacity
Offline
Pixol is not the only one with this issue. Audacity seem to not be able to use ffmpeg. Similar errors for other filetypes that would require ffmpeg to extract audio. I also encountered one that mentions libavformat.so directly, but despite my attempts since OP started the thread, I can’t recall how I initially produced it.
Setting path to the library directly in the preferences changes nothing: Audacity still can’t find it.
Versions: audacity 1:3.7.8-4, ffmpeg 2:9.0.1-1.
Offline
libav doesn't show up in the LD_DEBUG, you might have to trigger the plugin by trying to open a relevant file.
Maybe also "LD_DEBUG=libs,files audacity" …
wrt mpan's comment most likely incompatible API?
Offline
you might have to trigger the plugin by trying to open a relevant file.
The log stops at line
transferring control: audacityLast edited by Pixol (Today 09:14:49)
Offline
Err… we'll have to see the entire ld debug log to make any sense out of what's going on ![]()
Assuming the issue is the volume:
LD_DEBUG=libs,files audacity > /tmp/ld.debug 2>&1
cat /tmp/ld.debug | nc termbin.com 9999Offline
Err… we'll have to see the entire ld debug log to make any sense out of what's going on
Assuming the issue is the volume:LD_DEBUG=libs,files audacity > /tmp/ld.debug 2>&1 cat /tmp/ld.debug | nc termbin.com 9999
Maybe I'm doing something wrong but I'm pretty sure that volume is not the issue here. It's just that after audacity completely boots the log stops. Regardless I ran those two commands. In parallel in two separate terminals(I assume that's what I was supposed to do)
https://termbin.com/l38a
Last edited by Pixol (Today 13:22:39)
Offline
The volume of the output procuded by LD_DEBUG ![]()
libav still doesn't show up at all, so we'll raise the volume once more:
strace -f -o /tmp/audacity.strace audacity # try to open a relevant file to get the ffmpeg complaint
# you might actually first check
du -h /tmp/audacity.strace # and pot compress it
cat /tmp/audacity.strace | nc termbin.com 9999Offline
The volume of the output procuded by LD_DEBUG
libav still doesn't show up at all, so we'll raise the volume once more:strace -f -o /tmp/audacity.strace audacity # try to open a relevant file to get the ffmpeg complaint # you might actually first check du -h /tmp/audacity.strace # and pot compress it cat /tmp/audacity.strace | nc termbin.com 9999
I'm not sure how to upload compressed file to termbin so I uploaded it to drive
https://drive.proton.me/urls/W82GMW98MW#drI32TyvkDNJ
Offline
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v3/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/glibc-hwcaps/x86-64-v2/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.60", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.60", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavutil.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavutil.so.61", O_RDONLY|O_CLOEXEC) = 15
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavutil.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavutil.so.61", O_RDONLY|O_CLOEXEC) = 15
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavcodec.so.63", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavcodec.so.63", O_RDONLY|O_CLOEXEC) = 15
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.60", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.60", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.62", O_RDONLY|O_CLOEXEC <unfinished ...>
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.62", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.61", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/bin/../lib/audacity/libavformat.so.60", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
170965 openat(AT_FDCWD, "/usr/lib/libavformat.so.60", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)It doesn't look for libavformat.so.63 (unlike avcodec and avutil didn't update)
This very much smells like audacity was updated against an older ffmpeg and needs a rebuild.
Offline
Offline