Avidemux Forum

Avidemux => MacOSX => Topic started by: bpj on July 10, 2020, 02:40:41 AM

Title: Audio Problem in 10.15.5 Catalina
Post by: bpj on July 10, 2020, 02:40:41 AM
I have a Retina Macbook Pro late 2013 (13" dual core i7). I have never had any problem before running avidemux. Then I updated to Catalina (10.15.5) and I get this message in any version of Avidemux:"Trouble Initializing Audio Device". Same error occurs on 2.7.6.

I have another Mac (macbook 12") that is not running Catalina (it's running High Sierra 10.13.6) and it can run any version of avidemux, including 2.7.6 and there are no audio problems.

I have tried different audio preferences under avidemux but I always get the same error message. I have not got anything to work.

I searched here and didn't see anyone had posted this error. It is not something also mentioned doing a general browser search.

I don't know what I can do to address this. Anyone have any experience with this isuue,or suggestions to resolve this would be appreciated.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: eumagga0x2a on July 10, 2020, 07:45:55 AM
Just tested the official release build for 2.7.6 from Fosshub on macOS 10.15.5 and didn't encounter any issues with the audio device. Something must be wrong with CoreAudio on your system. You could run Avidemux 2.7.6 in the Terminal

/Applications/Avidemux_2.7.6.app/Contents/MacOS/Avidemux2.7

and post the output from trying to play a video with audio for a chance that it provides more info why the initialization fails.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: eumagga0x2a on July 10, 2020, 03:33:27 PM
Thanks, but you need to start playback so that Avidemux tries to initialize the CoreAudio device.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: eumagga0x2a on July 10, 2020, 04:40:20 PM
I'm sorry, but the log still doesn't contain starting playback. Audio device is created at application launch, but initialized only at playback start.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: eumagga0x2a on July 10, 2020, 07:31:27 PM
Thank you, now it is clear that the call to OpenAComponent (https://github.com/mean00/avidemux2/blob/master/avidemux_plugins/ADM_audioDevices/AudioCore/ADM_deviceAudioCore.cpp#L184) fails, but unfortunately not why it fails. Do applications like VLC work fine?
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: bpj on July 10, 2020, 07:56:23 PM
Yes, VLC works on the same files that fail on avidemux.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: eumagga0x2a on July 10, 2020, 10:19:47 PM
I see that the CoreAudio plugin in Avidemux uses a lot of deprecated functions, which might be related to the problem you experience. For some reason the plugin works fine on my Mac running Catalina, but I'll try to migrate it to the new API soon.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: bpj on July 11, 2020, 08:53:04 AM
After examining my mac I decided that I needed a clean install of Catalina. So I wiped hard drive clean, and reinstalled Catalina. There were a number of things that I observed were wrong.

Now things are running correctly, and avidemux is working properly also.
Title: Re: Audio Problem in 10.15.5 Catalina
Post by: eumagga0x2a on July 11, 2020, 09:02:01 AM
Well, thanks, then the CoreAudio plugin will be updated somewhat later :-)