Page 1 of 1

libx264_plugin.dll - Error 1000

Posted: 16 Aug 2013 20:34
by wrayvlc
Hello,

I have attempted to search for an answer prior to posting, but thus far I haven't had a ton of luck. I was hoping I might find some answers to an issue I've been having.

The long-story short is that I am running VLC as a service to allow a Java-based web application to be able to send commands to it and record to various Vivotek cameras located in different rooms. We recently upgraded the cameras and with it have been overhauling everything along with it.

Currently I am running VLC 2.0.8 32 bit on a Windows 2012 server. What I have noticed is that when multiple recordings are being sent to the service that it has a tendency to become unstable and crash. When browsing the error logs the following message appears:

Faulting application name: vlc.exe, version: 2.0.8.0, time stamp: 0x51f1ad1c
Faulting module name: libx264_plugin.dll, version: 0.0.0.0, time stamp: 0x51f1ad3a
Exception code: 0xc0000005
Fault offset: 0x00016a29
Faulting process id: 0x16a0
Faulting application start time: 0x01ce9aab9447e9f2
Faulting application path: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
Faulting module path: C:\Program Files (x86)\VideoLAN\VLC\plugins\codec\libx264_plugin.dll
Report Id: 66d2d8ce-06a0-11e3-9404-90b11c357db8
Faulting package full name:
Faulting package-relative application ID:

In my testing I haven't noticed the system tacking out. In general I tend to see 45% CPU utilization and 15-20% Ram utilization.

I appreciate everyone's time and any thoughts or suggestions.

Re: libx264_plugin.dll - Error 1000

Posted: 19 Aug 2013 12:59
by Lotesdelere
Please provide logs.

Re: libx264_plugin.dll - Error 1000

Posted: 20 Aug 2013 19:08
by wrayvlc
Currently I have verbosity set to 2, but I have a feeling it should be higher. Do you have a recommendation on that? From my reading elsewhere I've read that verbosity=2 is typically a good area to start

From the VLC logs, there isn't much, but these are the logs produced between crashes:

-- logger module started --
lua: Listening on host "telnet:/l/ogger::4212".
VLC media player - 2.0.8 Twoflower
logger: Copyright © 1996-2013 VLC authors and VideoLAN
logger:
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"

logger: using logger.
-- logger module started --
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
-- logger module started --
lua: Listening on host "telnet://:4212".
logger: VLC media player - 2.0.8 Twoflower
logger: Copyright © 1996-2013 VLC authors and VideoLAN
logger:
Warning: if you cannot access the GUI anymore, open a command-line window, go to the directory where you installed VLC and run "vlc -I qt"

logger: using logger.
-- logger module started --
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called
main error: ES_OUT_RESET_PCR called


---

From Windows Event Viewer I can consistently get these errors in the Application Log:

Log Name: Application
Source: Application Error
Date: 8/20/2013 9:55:19 AM
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
Faulting application name: vlc.exe, version: 2.0.8.0, time stamp: 0x51f1ad1c
Faulting module name: libx264_plugin.dll, version: 0.0.0.0, time stamp: 0x51f1ad3a
Exception code: 0xc0000005
Fault offset: 0x00016a29
Faulting process id: 0x16d4
Faulting application start time: 0x01ce9dc56984cb20
Faulting application path: C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
Faulting module path: C:\Program Files (x86)\VideoLAN\VLC\plugins\codec\libx264_plugin.dll
Report Id: 4b0b72e6-09b9-11e3-9405-90b11c357db8
Faulting package full name:
Faulting package-relative application ID:
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2013-08-20T16:55:19.000000000Z" />
<EventRecordID>74782</EventRecordID>
<Channel>Application</Channel>
<Computer></Computer>
<Security />
</System>
<EventData>
<Data>vlc.exe</Data>
<Data>2.0.8.0</Data>
<Data>51f1ad1c</Data>
<Data>libx264_plugin.dll</Data>
<Data>0.0.0.0</Data>
<Data>51f1ad3a</Data>
<Data>c0000005</Data>
<Data>00016a29</Data>
<Data>16d4</Data>
<Data>01ce9dc56984cb20</Data>
<Data>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</Data>
<Data>C:\Program Files (x86)\VideoLAN\VLC\plugins\codec\libx264_plugin.dll</Data>
<Data>4b0b72e6-09b9-11e3-9405-90b11c357db8</Data>
<Data>
</Data>
<Data>
</Data>
</EventData>
</Event>

In the Event Viewer System Log I get a report about the VLC Service stopping:

Log Name: System
Source: Service Control Manager
Date: 8/20/2013 9:49:44 AM
Event ID: 7031
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer:
Description:
The VLC Service service terminated unexpectedly. It has done this 1 time(s). The following corrective action will be taken in 60000 milliseconds: Restart the service.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Service Control Manager" Guid="{555908d1-a6d7-4695-8e1e-26931d2012f4}" EventSourceName="Service Control Manager" />
<EventID Qualifiers="49152">7031</EventID>
<Version>0</Version>
<Level>2</Level>
<Task>0</Task>
<Opcode>0</Opcode>
<Keywords>0x8080000000000000</Keywords>
<TimeCreated SystemTime="2013-08-20T16:49:44.407173600Z" />
<EventRecordID>57383</EventRecordID>
<Correlation />
<Execution ProcessID="704" ThreadID="5224" />
<Channel>System</Channel>
<Computer> </Computer>
<Security />
</System>
<EventData>
<Data Name="param1">VLC Service</Data>
<Data Name="param2">1</Data>
<Data Name="param3">60000</Data>
<Data Name="param4">1</Data>
<Data Name="param5">Restart the service</Data>
<Binary>56004C004300200053006500720076006900630065000000</Binary>
</EventData>
</Event>


Thank you again for your help.

Re: libx264_plugin.dll - Error 1000

Posted: 01 Nov 2013 17:06
by wrayvlc
I was wanting to post a follow up to this and see if there may be some other ideas.

Since I initially came across this error I have done a couple of things to try to mitigate the issue:

1. Installed the 64 bit version of 2.0.8 which did help some.

2. Divided the VLC service into two separate services of which certain cameras only have access to a specific service in hopes of being able to prevent overwhelming a single service.

I continue to receive these errors in my Event Viewer (albeit with less frequency):

Faulting application name: vlc.exe, version: 2.0.8.0, time stamp: 0x520e8be6
Faulting module name: libx264_plugin.dll, version: 0.0.0.0, time stamp: 0x520e8bf5
Exception code: 0xc0000005
Fault offset: 0x0000000000015456
Faulting process id: 0x1688
Faulting application start time: 0x01ced5a10f1df851
Faulting application path: C:\Program Files\VideoLAN\VLC\vlc.exe
Faulting module path: C:\Program Files\VideoLAN\VLC\plugins\codec\libx264_plugin.dll
Report Id: 84316223-430d-11e3-940a-90b11c357db7
Faulting package full name:
Faulting package-relative application ID:

We are sending the following command to our cameras via telnet/VLC: #transcode{vcodec=h264,vb=0,scale=0,acodec=mpga,ab=128,channels=2,samplerate=44100}:file{dst=[FILENAME].mp4}

I had played around with the latest version (2.1.0) of VLC, but had difficulty getting LUA/Telnet to load.

Any other thoughts or suggestions would be greatly appreciated.

Billy