Question / Help Help Opening OBSstudio64 With a Batch File

Regufe

New Member
I am trying to make an executable that opens obs and other apps I use for streaming. The problem is in OBS.
When I start The batch I get this error: Failed To create aac streaming encoder (simple output)

My Current Code:

cd "C:\Program Files (x86)\obs-studio"
start "OBSSTUDIO" "C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe"
 
Because you are not setting the directory to point at the base of the 64 bit location. The DLLs that exist in that folder including the AAC encoder is not located off the obs-studio folder. Its deeper.

Try this. works for me.

c:
cd \Program Files (x86)\obs-studio\bin\64bit
start "OBSSTUDIO" "C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe"
 
Because you are not setting the directory to point at the base of the 64 bit location. The DLLs that exist in that folder including the AAC encoder is not located off the obs-studio folder. Its deeper.

Try this. works for me.

c:
cd \Program Files (x86)\obs-studio\bin\64bit
start "OBSSTUDIO" "C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe"

Thanks Dude! It works now. I am still new to this kinds of stuff :D
 
Grazie per il suggerimento, funziona bene.
Esiste anche un sistema per avviare OBS con una playlist specifica, esempio
start /d "c:\Programmi\obs-studio\bin\64bit" obs64.exe --startplaylist test.m3u8
non trovo una soluzione
 
Because you are not setting the directory to point at the base of the 64 bit location. The DLLs that exist in that folder including the AAC encoder is not located off the obs-studio folder. Its deeper.

Try this. works for me.

c:
cd \Program Files (x86)\obs-studio\bin\64bit
start "OBSSTUDIO" "C:\Program Files (x86)\obs-studio\bin\64bit\obs64.exe"
I keep getting a couple of errors:
Failed to find "locale/en-US.ini" and "Failed to load locale" when I try this.
Any help would be greatly appreciated.
 
It might be happening because OBS isn’t being launched from the correct working directory. Try using the start /d command to explicitly point to the bin\64bit folder so the program can properly find the localization files.
 
Back
Top