mixxx icon indicating copy to clipboard operation
mixxx copied to clipboard

FLAC recording not working on macOS

Open svintuss opened this issue 2 years ago • 5 comments

Bug Description

When FLAC output file format is selected in Preferences > Recording pressing Options > Record Mix produces an error window: Failed to apply the selected settings. Changing Bit depth or Compression level has no effect on the issue.

Recording in other formats (apart from HE-AAC and HE-AACv2) works fine.

Version

2.3.3, 2.4-alpha-1299-gbc6ab43dc9

OS

macOS Monterey

svintuss avatar Sep 08 '22 21:09 svintuss

Can you play Flac files?

ronso0 avatar Sep 09 '22 10:09 ronso0

Maybe the log contains some useful information. Please start Mixxx with --developer argument and copy/paste here what is being printed:

  • open preferences, go to Recording
  • select Flac if it isn't already, Apply
  • close preferences
  • start Recording (Options menu, Rec toggle in GUI or Ctrl+R)

ronso0 avatar Sep 09 '22 11:09 ronso0

I can play Flac files without issue.

This is what I get when I try to start Flac recording:

debug [Main] Split time is: 4800
debug [Main] Recordings folder set to "/Users/user/Audio/Mixxx/Recordings"
debug [EngineSideChain 1] Error initializing Wave encoding. sf_open_virtual returned: File contains data in an unimplemented format.
debug [EngineSideChain 1] Setting record flag to: OFF
debug [Main] Recordings folder set to "/Users/user/Audio/Mixxx/Recordings"

svintuss avatar Sep 09 '22 13:09 svintuss

An issue can be your soundcard preferences. The recording is using the same samplerate. What did you pick there?

daschuer avatar Sep 09 '22 20:09 daschuer

@daschuer I use 44,1 kHz for both input and output on my all of my sound cards. Mixxx's sample rate is also set to 44100 Hz. I have this error even if I set all input and output devices in Sound hardware preference pane to ---.

svintuss avatar Sep 10 '22 19:09 svintuss

I have the same issue in Mixxx ver.2.4.0 also on Windows.

The same error window and the same log are given.

I check following,

  • In 2.3.6, this doesn't happen.
  • In 2.4.0, happens.

zfhrp6 avatar Mar 03 '24 02:03 zfhrp6

https://mixxx.discourse.group/t/recording-failure-with-flac-in-2-4-0/

JoergAtGithub avatar Mar 03 '24 12:03 JoergAtGithub

FLAC encoding is not enabled in our build environment. I will take a look how to fix that.

daschuer avatar Mar 03 '24 20:03 daschuer

Here is a PR with a new build environment that should allow FALC and OGG recording

daschuer avatar Mar 04 '24 12:03 daschuer

Fixed in #13154

JoergAtGithub avatar Apr 22 '24 22:04 JoergAtGithub