Question / Help Start batch error

jweigel

New Member
hi, i need help,
start prog over shortcut desktop is everything ok,
start as .bat or task scheduler from Windows, > error failed to create audio encoder (advanced output)

@Echo Off

cd c:\obs-studio

start C:\obs-studio\bin\32bit\obs32.exe --startrecording

:end
 

jweigel

New Member
i use a 32bits System.

Test another PC with 64bits is the same problem.

have you a solution for me?

I must record a window on a server 24/7 my idea:

start over batch obs with autorecord and use the timer internal timer 23:58 and kill by batch 23:59 obs
every day
 

jweigel

New Member
no changes in log, over start obs via start.bat,
only window: error failed to create audio encoder (advanced output)

start.bat:
@Echo Off
cd c:\obs-studio
start C:\obs-studio\bin\32bit\obs32.exe --startrecording
:end

start manual desktop shortcut obs starting recording and end by timer setting
 

jweigel

New Member
log by start over desktop shortcut:

[0114/145006:VERBOSE1:pref_proxy_config_tracker_impl.cc(151)] 0339AC30: set chrome proxy config service to 033CD5D8
[0114/145006:VERBOSE1:pref_proxy_config_tracker_impl.cc(276)] 0339AC30: Done pushing proxy to UpdateProxyConfig
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Google 'Pilot' log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Google 'Aviator' log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: DigiCert Log Server
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Google 'Rocketeer' log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Symantec log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Venafi log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Symantec 'Vega' log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: CNNIC CT log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: WoSign log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: StartCom CT log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Izenpe log
[0114/145006:VERBOSE1:multi_log_ct_verifier.cc(73)] Adding CT log: Certly.IO log
[0114/145109:VERBOSE1:statistics_recorder.cc(530)] Collections of all histograms
Histogram: AsyncDNS.ConfigChange recorded 1 samples, average = 1.0 (flags = 0x1)
0 O (0 = 0.0%)
1 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2 O (0 = 0.0%) {100.0%}

Histogram: AsyncDNS.ConfigParseDuration recorded 1 samples, average = 4.0 (flags = 0x1)
0 ...
4 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
5 ...

Histogram: AsyncDNS.ConfigParseResult recorded 1 samples, average = 1.0 (flags = 0x1)
0 O (0 = 0.0%)
1 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2 O (0 = 0.0%) {100.0%}

Histogram: AsyncDNS.ConfigParseWin recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: AsyncDNS.HostParseResult recorded 1 samples, average = 1.0 (flags = 0x1)
0 O (0 = 0.0%)
1 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2 O (0 = 0.0%) {100.0%}

Histogram: AsyncDNS.HostsChange recorded 1 samples, average = 1.0 (flags = 0x1)
0 O (0 = 0.0%)
1 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2 O (0 = 0.0%) {100.0%}

Histogram: AsyncDNS.HostsParseDuration recorded 1 samples, average = 2.0 (flags = 0x1)
0 ...
2 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
3 ...

Histogram: AsyncDNS.HostsParseWin recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: AsyncDNS.HostsSize recorded 1 samples, average = 824.0 (flags = 0x1)
0 ...
777 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
1023 ...

Histogram: AsyncDNS.WatchStatus recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: Cookie.CookieDeleteEquivalent recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.CookieSourceScheme recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.Count recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.DeletionCause recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.EvictedLastAccessMinutes recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.ExpirationDurationMinutes recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.TimeBlockedOnLoad recorded 0 samples (flags = 0x1)
0 ...

Histogram: Cookie.Type recorded 0 samples (flags = 0x1)
0 ...

Histogram: Extensions.FeatureProviderStaticInitTime recorded 1 samples, average = 1.0 (flags = 0x1)
0 O (0 = 0.0%)
1 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2 ...

Histogram: GPU.BlacklistFeatureTestResults.Accelerated2dCanvas recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: GPU.BlacklistFeatureTestResults.GpuCompositing recorded 1 samples, average = 2.0 (flags = 0x1)
0 ...
2 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
3 O (0 = 0.0%) {100.0%}

Histogram: GPU.BlacklistFeatureTestResults.GpuRasterization recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: GPU.BlacklistFeatureTestResults.Webgl recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: GPU.BlacklistFeatureTestResultsWindows.Accelerated2dCanvas recorded 1 samples, average = 9.0 (flags = 0x1)
0 ...
9 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
10 ...

Histogram: GPU.BlacklistFeatureTestResultsWindows.GpuCompositing recorded 1 samples, average = 11.0 (flags = 0x1)
0 ...
11 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
12 ...

Histogram: GPU.BlacklistFeatureTestResultsWindows.GpuRasterization recorded 1 samples, average = 9.0 (flags = 0x1)
0 ...
9 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
10 ...

Histogram: GPU.BlacklistFeatureTestResultsWindows.Webgl recorded 1 samples, average = 9.0 (flags = 0x1)
0 ...
9 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
10 ...

Histogram: GPU.BlacklistTestResultsPerEntry recorded 3 samples, average = 81.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 33.3%)
1 ...
120 ------------------------------------------------------------------------O (1 = 33.3%) {33.3%}
121 ...
123 ------------------------------------------------------------------------O (1 = 33.3%) {66.7%}
124 O (0 = 0.0%) {100.0%}

Histogram: GPU.DisplayLinkInstallationStatus recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: GPU.GLResetNotificationStrategy recorded 1 samples (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)

Histogram: Media.Midi.ResultOnShutdown recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: Media.Midi.Usage recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: Memory.PressureLevel recorded 12 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (12 = 100.0%)
1 ...

Histogram: Net.NotifyAddrChangeFailures recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: Net.QuicSession.CloseAllSessionsError recorded 1 samples (flags = 0x1)
3 ------------------------------------------------------------------------O (1 = 100.0%)

Histogram: Net.QuicSession.PreferAesGcm recorded 1 samples, average = 1.0 (flags = 0x1)
0 O (0 = 0.0%)
1 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
2 O (0 = 0.0%) {100.0%}

Histogram: PluginFinder.BuiltInPluginList.ErrorCode recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: ServiceWorkerCache.BackgroundSyncManager.Scheduler.IsOperationSlow recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: ServiceWorkerCache.BackgroundSyncManager.Scheduler.OperationDuration recorded 1 samples, average = 8.0 (flags = 0x1)
0 ...
8 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
10 ...

Histogram: ServiceWorkerCache.BackgroundSyncManager.Scheduler.QueueDuration recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: ServiceWorkerCache.BackgroundSyncManager.Scheduler.QueueLength recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: SharedMemory.CreateError recorded 2 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (2 = 100.0%)
1 ...

Histogram: Startup.BrowserMainRunnerImplInitializeLongTime recorded 1 samples, average = 39.0 (flags = 0x1)
0 ...
37 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
43 ...

Histogram: Startup.BrowserMainRunnerImplInitializeStep1Time recorded 1 samples, average = 4.0 (flags = 0x1)
0 ...
4 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
5 ...

Histogram: Startup.BrowserMainRunnerImplInitializeStep2Time recorded 1 samples, average = 35.0 (flags = 0x1)
0 ...
34 ------------------------------------------------------------------------O (1 = 100.0%) {0.0%}
40 ...

Histogram: UI.DeviceScale recorded 1 samples (flags = 0x1)
100 ------------------------------------------------------------------------O (1 = 100.0%)

Histogram: UMA.Histograms.Activity recorded 155 samples, average = 4.3 (flags = 0x1)
0 -O (1 = 0.6%)
1 ------------------------------------------------------------------------O (51 = 32.9%) {0.6%}
2 -O (1 = 0.6%) {33.5%}
3 ---------------------------O (19 = 12.3%) {34.2%}
4 -------------------------------O (22 = 14.2%) {46.5%}
5 ----------O (7 = 4.5%) {60.6%}
6 O (0 = 0.0%) {65.2%}
7 ----O (3 = 1.9%) {65.2%}
8 ------------------------------------------------------------------------O (51 = 32.9%) {67.1%}
9 ...

Histogram: V8.Initializer.LoadV8Snapshot.Result recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: V8.Initializer.OpenV8File.Result recorded 2 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (2 = 100.0%)
1 ...

Histogram: Windows.Win32kRendererLockdown recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: appcache.CompletionQueueTime recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: appcache.CompletionRunTime recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: appcache.TaskQueueTime recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...

Histogram: appcache.TaskRunTime recorded 1 samples, average = 0.0 (flags = 0x1)
0 ------------------------------------------------------------------------O (1 = 100.0%)
1 ...
 

wallrik

Member
There's definitely some room for improvement here, I agree. The issue is that your working directory needs to be where the .exe file lives, or it won't find any plugins.

You need to CD all the way in to C:\obs-studio\bin\32bit\ or use the start command with the /D switch.

This should work:
START /D C:\obs-studio\bin\32bit C:\obs-studio\bin\32bit\obs32.exe
 
Top