Building & Running VLCLib Tutorial

0

https://wiki.videolan.org/LibVLC_Tutorial

Trying to get a running tutorial of the VLC libraries but getting the Exception in Visual Studios 2017:

"Exception thrown at 0x5A3EDF59(libvlc.dll) in Project1.exe: 0xC00000005: Access violation reading from location 0x0000000C."

Following the above tutorial. All the code the same except for two places:

m = libvlc_media_new_path (inst, "C:\bb.mp4");

and calling Sleep instead of sleep() because of Windows environment.

I've copied the dlls from the VLC folder: C:\Program Files (x86)\VideoLAN\VLC into the same directory as my executable that is built. Have also included the libraries and header files from:

C:\Program Files (x86)\VideoLAN\VLC\sdk\lib

C:\Program Files (x86)\VideoLAN\VLC\sdk\include

Not sure what else there is to do to get it to play the bb.mp4 on the root drive.

c++
c
visual-studio
vlc
asked on Stack Overflow Jun 20, 2017 by mastash3ff

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0