Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FLAC recording not working on macOS #10880

Closed
svintuss opened this issue Sep 8, 2022 · 10 comments · Fixed by mixxxdj/vcpkg#132
Closed

FLAC recording not working on macOS #10880

svintuss opened this issue Sep 8, 2022 · 10 comments · Fixed by mixxxdj/vcpkg#132

Comments

@svintuss
Copy link

svintuss commented Sep 8, 2022

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

@ronso0
Copy link
Member

ronso0 commented Sep 9, 2022

Can you play Flac files?

@ronso0
Copy link
Member

ronso0 commented Sep 9, 2022

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)

@svintuss
Copy link
Author

svintuss commented Sep 9, 2022

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"

@daschuer
Copy link
Member

daschuer commented Sep 9, 2022

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

@svintuss
Copy link
Author

@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 ---.

@zfhrp6
Copy link

zfhrp6 commented Mar 3, 2024

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.

@JoergAtGithub
Copy link
Member

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

@daschuer daschuer added this to the 2.4.1 milestone Mar 3, 2024
@daschuer
Copy link
Member

daschuer commented Mar 3, 2024

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

@daschuer
Copy link
Member

daschuer commented Mar 4, 2024

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

@JoergAtGithub
Copy link
Member

Fixed in #13154

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants