Hi there, neither audacity from my own poudriere build (which has a bunch of WITH_VORBIS and WITH_OPUS settings), nor audacity from the official pkg builders is able to open .opus files.
The error message is "Audacity did not recognize the type of the file foo.opus
and on the terminal I get:
20:35:16: Debug: Appending legacyaup
20:35:16: Debug: Appending libsndfile
20:35:16: Debug: Appending liboggvorbis
20:35:16: Debug: Appending libflac
20:35:16: Debug: Appending libmad
20:35:16: Debug: Appending lof
Is there some --with-opus flag missing when building?
It does link against it, but that's probably via some other dependency:
% ldd `which audacity`|grep opus
libopus.so.0 => /usr/local/lib/libopus.so.0 (0x803c01000)
Do you have ffmpeg enabled?
I had a look through the preferences and it claimed indeed that ffmpeg support was not compiled in, both with my own package as well as the official one.
I think we should get that OPTIONS default changed. It seems highly unlikely that people want to use audacity to play around with sound data and they don't already have ffmpeg installed.
firstname.lastname@example.org is it ok for me to flip the default for FFMPEG to true?
(In reply to Ulrich Spörlein from comment #2)
I think it was not default because ffmpeg pulls in tons of dependencies but it would be nice yes.
Heh, well compiling my own audio/audacity in poudriere means first compiling rust, which already takes 3h. :)
I claim that anyone doing anything with multimedia and audio processing on their machine most likely has ffmpeg installed already.
The default package options IMHO shouldn't be minimal, they should be useful. Not having OPUS support out of the box is ... supoptimal.
I'll flip the default, probably only over the weekend, though. I also don't plan a backport to the quarterly branch.
Agreed, too bad LAME can't be turned on by default or can it? :)
Can we please revisit https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241764 since we're pulling in FFmpeg?
A commit in branch main references this bug:
Author: Ulrich SpÃ¶rlein <uqs@FreeBSD.org>
AuthorDate: 2021-05-09 09:53:27 +0000
Commit: Ulrich SpÃ¶rlein <uqs@FreeBSD.org>
CommitDate: 2021-05-09 10:05:05 +0000
audio/audacity: enable FFMPEG for Opus support
Not being able to decode Opus in 2021 seems like a big gap. Folks that
do audio processing also will already have ffmpeg installed, most
Approved by: maintainer
audio/audacity/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
Regarding https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=241764 I have no preference either way. libmad is dead indeed, but I'll note that Debian has audacity link against it still.