Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SOLVED: VLC dll Issues with CQC Interface Template Viewer
#1
Solution for those who do not care for the details. It appears CQC is looking in C:\Windows\system32\ for the VLC dlls. 

That is, it does not appear that you need to install VLC Player.

Simply download the latest 32-bit versions of libvlc.dll and libvlccore.dll from https://www.dll4free.com/ and copy them both to C:\Windows\system32\ and the problem is solved.

== Troubleshooting Details ==
I downloaded and installed latest version of VLC (32-bit) from the VLC web site onto Windows 10. Was able to open RTSP stream from VLC.

I opened up Interface Template Viewer and received the error, "The code execution cannot proceed because libvlc.dll was not found. Reinstalling the program may fix this problem."

I added VLC program path to system path as a System Variable under Environment Variables. Same issue.

I reinstalled VLC. Same issue.

I then downloaded libvlc.dll from https://www.dll4free.com/ and coped it to the VLC program directory. Same issue.

On a hunch from my software engineering days, I copied libvlc.dll to C:\Windows\system32\ 

Different error, "The code execution cannot proceed because libvlccore.dll was not found. Reinstalling the program may fix this problem."

I reinstalled VLC. Same issue.

I then downloaded libvlccore.dll from https://www.dll4free.com/ and coped it to the VLC program directory. Same issue.

I copied libvlccore.dll to C:\Windows\system32\ 

No more errors.

I uninstalled VLC completely.

Am able to open up the Interface Template Viewer with no errors. My video stream does not display, but I am not receiving dll errors.
Reply
#2
CQC doesn't look any particular place. It just invokes some VLC library code. So their library must be looking for it there. I don't think it's good for programs to install their own stuff in system directories, but presumably they put those there and install the program itself in the usual Program Files location. If the library only uses those DLLs in the system directory, then it would be the case that the VLC program itself isn't required.

Though I'd be more likely to install VLC somewhere and grab those DLLs myself from that image than download prebuilt DLLs from some other place on the internet. Who knows what kind of ugliness might be in such things.
Dean Roddey
Explorans limites defectum
Reply
#3
(05-22-2019, 08:47 AM)Dean Roddey Wrote: I don't think it's good for programs to install their own stuff in system directories, but presumably they put those there and install the program itself in the usual Program Files location. If the library only uses those DLLs in the system directory, then it would be the case that the VLC program itself isn't required.

This is what I am saying: you do not have to install VLC at all. All you need are the two DLL's copied to the System32 directory.

If you do install VLC, the two DLL's are located in the VLC program directory and no where else on the file system.

(05-22-2019, 08:47 AM)Dean Roddey Wrote: Though I'd be more likely to install VLC somewhere and grab those DLLs myself from that image than download prebuilt DLLs from some other place on the internet. Who knows what kind of ugliness might be in such things.

That is another option.
Reply
#4
Turns out the VLC issues were related to me trying to run CQC in a Windows 10 Pro virtual machine (VMWare Fusion on Mac Mini). I upgraded to an Intel NUC and have no other issues with VLC or viewing IP cameras.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Pause / Resume Triggered or Scheduled Actions from the Interface Viewer gReatAutomation 2 117 10-30-2019, 01:38 PM
Last Post: gReatAutomation
  Template scaling George M 4 141 10-28-2019, 02:54 PM
Last Post: George M
  Serialization of CQC SMS Serial Interface Driver gReatAutomation 52 1,631 09-21-2019, 12:59 PM
Last Post: gReatAutomation
  ZWave Issues / Aeotec gReatAutomation 16 772 07-26-2019, 06:21 PM
Last Post: Dean Roddey
  ELK M1 Client Interface question lleo 1 294 06-12-2019, 08:15 AM
Last Post: Dean Roddey
  template timeouts and LoadOverlay command Shaky 9 1,059 04-29-2019, 07:46 PM
Last Post: kblagron
  Admin interface and CML IDE interface issue lleo 5 935 01-11-2019, 03:07 PM
Last Post: Dean Roddey
  Does the auto-gen template system support Roku? ghurty 3 805 12-31-2018, 06:14 PM
Last Post: Dean Roddey
  Elk Client Interface Gremlins IVB 9 1,136 12-23-2018, 08:58 PM
Last Post: IVB
  Lutron Caseta & Zwave Issues dangerlong 191 39,495 12-19-2018, 06:40 PM
Last Post: tom

Forum Jump:


Users browsing this thread: 1 Guest(s)