CatxFish / obs-virtual-cam

obs-studio plugin to simulate a directshow webcam
https://obsproject.com/forum/resources/obs-virtualcam.539/
GNU General Public License v2.0
1.76k stars 343 forks source link

Installation Error: Failed to create aac streaming encoder (simple output) #103

Open E3V3A opened 4 years ago

E3V3A commented 4 years ago

I'm trying to install this according to (a) the webpage instructions and/or according to issue #40.

However, I keep getting the following error:

obs64_2020-04-20_23-38-53

So what's going on, and why is this so hard to install?


  1. Do I need to install both 32-bit and 64-bit versions of OBS Studio?
  2. What exact files have to be replaced? (Where?)
  3. What exact files have to be added? (Where?)
  4. What exact admin CMD commands do I need to run? (From where?)
    (Maybe using pwershell is better?)
  5. Do I need to restart or do a refreshenv after?
Mixria commented 4 years ago

You don't specifie very much information.. When is this happening? To my knowledge, this dosent have anything to do with the VirtualCam plugin.

Specifie you're system by linking to you're OBS Log file. (Do not post it in here) https://obsproject.com/forum/threads/please-post-a-log-with-your-issue-heres-how.23074/

E3V3A commented 4 years ago

This happened after having having installed the 64bit version (but not running it) and installing the obs-virtual-cam according to your website instructions. (Which are not very clear.) The log file shows:

[CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
[AMF] Unable to load 'amfrt64.dll', error code 126.
[AMF] AMF Test failed due to one or more errors.
Failed to initialize module 'enc-amf.dll'
[obs-browser]: Version 2.8.6
NVENC supported
VLC found, VLC video source enabled
A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
No blackmagic support

However, I now tried by installing both 32/64 bit versions and not replacing those files. When I run the apps in either 32 or 64-bit, the pop-up error no longer happens, but the log files still show the same error, for both versions. The only difference is that it find the VLC plugin in one and not the other.

OBS 25.0.4 (32-bit, windows)
...
[CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded
Failed to load 'en-US' text for module: 'decklink-ouput-ui.dll'
[AMF] Unable to load 'amfrt32.dll', error code 126.
[AMF] AMF Test failed due to one or more errors.
Failed to initialize module 'enc-amf.dll'
[obs-browser]: Version 2.8.6
NVENC supported
Couldn't find VLC installation, VLC video source disabled
A DeckLink iterator could not be created.  The DeckLink drivers may not be installed
No blackmagic support

So what's the next step to install the cam plugin?

Mixria commented 4 years ago

I am not the creator of this awesome plugin. I'm just like you, a user who use it, and tries to help out. But if you don't do youre part, it's not easy to help. Those logs are not the full logs. Please do as the link tels you.

And of you only have VLC x64 installed, then it won't show up in you're OBS x86

This might be related to #82 check that one out.

Mixria commented 4 years ago

[CoreAudio encoder]: CoreAudio AAC encoder not installed on the system or couldn't be loaded

This is not a OBS-VirtualCam issue. You proberly don't have an acc encoder installed

E3V3A commented 4 years ago

@Mixria If you bothered to answer my questions in the first post maybe I can help. The instructions on the webpage is simply incomprehensible.

@CatxFish I have now posted correct instructions here with proper screenshots. The issue seem to be that I had not run the OBS Video app before installing the obs-virtual-cam. After, it just passed, but the errors still remain in the logs!

In addition, it is absolutely not clear what your *.exe installer does differently, because trying to run it a second time on 64-bit default obs- directory, it seem to remember to have already installed in x86.

C:\Program Files (x86)\obs-studio\bin\32bit
C:\Program Files\obs-studio\bin\64bit

Anyway, I managed to get this to run in Zoom, after having installed in 32-bit program directory.

PS. I have AAC encoders...

EMREOYUN commented 4 years ago

I'm trying to install this according to (a) the webpage instructions and/or according to issue #40.

However, I keep getting the following error:

obs64_2020-04-20_23-38-53

So what's going on, and why is this so hard to install?

  • I want to make this work on both Zoom and Skype on 64bit Windows.
  1. Do I need to install both 32-bit and 64-bit versions of OBS Studio?
  2. What exact files have to be replaced? (Where?)
  3. What exact files have to be added? (Where?)
  4. What exact admin CMD commands do I need to run? (From where?) (Maybe using pwershell is better?)
  5. Do I need to restart or do a refreshenv after?

Check https://obsproject.com/forum/resources/obs-studio-enable-coreaudio-aac-encoder-windows.220/

and what is your aac encoder app(What are you using for aac)?

IceSentry commented 4 years ago

I did that and it made the error go away, but the virtual cam button is not in the tools menu

E3V3A commented 4 years ago

Use:

which supposedly have a fix in 2.0.5. (I have not tried this yet, so please report back if you do.)