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"
 

SumDim

Member
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"
 

Regufe

New Member
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
 

lino

New Member
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
 
Top