First of all return address of the allocated memory (ctx_ptr in your code) instead of ctx argument.
Secondly try using [UnmanagedFunctionPointer(CallingConvention.Cdecl)] attribute before your lock/unlock methods delegates.
Indeed vmem options are overwritten. I resolved this by adding extra command line parameter that specifies a callback on vmem initialization. Then in this callback I set all the parameters instead of taking ones from command line. I've looked into mailing list VLC_help suggested, but I still see pro...
Hi, I'm trying to use libvlc as a frame server in my application. I use vmem to obtain frame data. LibVlc is initialized with something like this: argv = new string[]{ "--ignore-config", "--no-video-title-show", "--vout", "vmem", "--vmem-width", vide...