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

ERROR: [] Cannot initialize audio system #194

Open
YellowjokerR opened this issue Feb 24, 2024 · 9 comments
Open

ERROR: [] Cannot initialize audio system #194

YellowjokerR opened this issue Feb 24, 2024 · 9 comments

Comments

@YellowjokerR
Copy link

I just installed mrv2 and the second I open it up, I get this error:
image

I've tried opening up movies with mrv2 and there is just a flash of program and it crashes. Any suggestions?

@ggarra13
Copy link
Owner

  1. What version of Windows are you running? You need Windows 8.1 at least.

  2. Can you go to the Help->About window and tell me what version of mrv2 are you running with the build date?

  3. What does your Audio Setup look like and what configuration do you have?

  4. A little more technical. Can you open a Windows Terminal (or cmd.exe) from the Start menu and run mrv2 command-line:

     cd "C:\Program Files\mrv2 v1.0.6\bin"
     mrv2 -log yourmovie.mov > crash.log 2>&1
    

    Attach crash.log here for me to debug.

@YellowjokerR
Copy link
Author

  1. Windows 10
  2. mrv2 64 bits - v1.0.6 (I was using v1.0.5 earlier and it still didn't work for me)
  3. I just have Realtek(R) Audio with some type of philips computer speakers plugged into my computer.
  4. here is the crash log i think?
    crash.log

@ggarra13
Copy link
Owner

The crash log is empty saying it did not find the mrv2 command.
Make sure you cd to:

$ cd install/dir/of/mrv2/bin
$ dir mrv.exe
mr2.exe #OK en the right dir
$ .\mrv2.exe -log > crash.log 2>&1
$ notepad crash.log

The log should have a lot of messages of mrv2's initialization.

@ggarra13
Copy link
Owner

ggarra13 commented Feb 25, 2024

  1. Do you have the latest audio drivers for your hardware?

  2. Do you have some other program running that might be using your audio device (Zoom for example) and interfering?

  3. Can you run mrv2 with Administrative privileges (go to explorer, bin dir of mrv2, select the mrv2.exe and do RMB->Run as Administrator)?

@YellowjokerR
Copy link
Author

YellowjokerR commented Feb 27, 2024 via email

@ggarra13
Copy link
Owner

ggarra13 commented Feb 27, 2024

Yes, your mixer is failing but the RtAudio library that mrv2 uses does not report more information. First, let's try with the latest version of RtAudio. Download this beta v1.0.7 of mrv2:

.exe:
https://mega.nz/file/rX4HxCjZ#YXV60VdYx7EL5MmDqNRdcC0klcstlC7xmr3F5D8wxhk

If it still fails, then let's try to check your Windows 10 settings and your Realtek audio settings. I don't have Windows 10, so I am relying on info from chatGPT, which may not be completely accurate:

  1. Check Audio Settings:

Right-click on the Volume icon in the Taskbar.
Select Open Volume Mixer Settings
Here you can set or mute/unmute the volume for each app

  1. Debug Realtek® Audio:

Go to Settings.
Click System.
Click Troubleshooter then Additional troubleshooter.
Look for Playing Audio and run the troubleshooter4.
Go to Device Manager.
Expand the Sound and Video Game Controllers.
Look for Audio driver that was installed.
Right-click and Update

Send pictures of each step to see if there's anything that looks fishy.

If the issue persists, it might be helpful to try using a different audio device to see if the problem is specific to their current audio setup. If the problem is indeed specific to their Realtek® Audio, you might consider reaching out to Realtek or the user’s PC manufacturer for further assistance.

@YellowjokerR
Copy link
Author

YellowjokerR commented Mar 14, 2024

Sorry it's been a while. Work got packed.
I tried installing the 1.08 version.
image
image
image
image
image
image
Me trying to install rtAudio:
image
Found tutorials to help, but when it comes to cmake --help, it's saying cmake is not recognized.
image
image
image

I even tried different audio devices.
image

@ggarra13
Copy link
Owner

Okay. Forget about the installation steps of mrv2 (that's not your problem). Also, forget about installing rt_audio (it comes bundled with mrv2) and what you downloaded is just the source code to it (not a DLL nor .exe).

Your problem is a Windows configuration issue. Do the following:

Verifying the Default Device:

Double-check the Selection:

In the "Select playback device" window that you found, ensure that the desired output device (e.g., Speakers (Realtek(R) Audio)) is selected (highlighted).

Set as Default (if not already): If the preferred device isn't selected, right-click on it and choose "Set as default device."

Test you get Audio output. You can use the Windows volume control (speaker icon in the taskbar). If you get audio a bell sound when you change the audio volume, it means your audio configuration is right.

Restart mrv2 and see if it works.

@ggarra13
Copy link
Owner

Please install this beta of v1.0.9. It will not fix anything, but it will provide an additional message about the error you are facing.

.exe
https://mega.nz/file/LTICCSgR#O2308PuG5pKB3SUXEc35nf6qDiaoC9h3RzUcE6YhRio

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

No branches or pull requests

2 participants