Thanks mmackinze ! That did it. I really appreciate the help! I was having the same problem, but i solved it copying every single dll that comes with the 0.9.2 win32 release, to the "bin/Debug" and "bin/Release". It seems that it is not enough with just the libvlc.dll, libvlccore...
I have observed the same behavior with "libvlc_video_take_snapshot". No exception is raised, and a file is created, but the file is always 0 bytes in size and (obviously) does not contain an image. I tried this with 0.9.2, 0.9.3, and the current nightly 0.9.4 and still have not had any luc...
I am trying to use the "video_take_snapshot" method. It thinly wraps "libvlc_video_take_snapshot". No exception is raised, and a file is created, but the file is always 0 bytes in size and (obviously) does not contain an image. All the parameters seem correct based on the API doc...
The prior post is patently absurd! A single video player example has wide appeal to a broad range of developers, a multistream application is a specialization of limited utility to the majority of the audience found in this forum. Let's keep things constructive here. Please feel free to post YOUR wr...
Marx is doing a fantastic job on this wrapper! It will be extremely useful when complete. Let's as a community suggest and contribute useful code to implement features that would really make a C# VLC library useful. I will get the ball rolling by suggesting that I find the ability to determine which...
To prevent problems with activex control I found you need to catch the ON_CLOSE of the window that holds the control and make sure to stop the player and then sleep the thread until the player's state goes to none. You can then continue closing.
OK. The preloading the DLLs trick helps a little bit but not nearly so much as using the following options: string[] args = new string[] { "-I", "dummy", "--plugins-cache", "--minimize-threads", "--no-reset-plugins-cache", "--high-priority"...
I found by trial and error that doing a "LoadLibrary" on all the DLLs will force them into the DLL cache and perform any virus checks your system does. Putting up a "working" message during this step seems to make for a better user experience. If anyone knows a better way, or a b...
If I call video_take_snapshot snapshot file is generated as expected, but when I go to close the application or terminate the video Marx_libvlc_core_handle.ReleaseHandle() will hang indefinitely. Specifically the call to libvlc_release(this); never returns! This is probably not a problem with your w...
On some slower systems when a user plays the first video there is often a time where audio plays but no video, then video finally starts. After that all videos start immediately. I assume that during this time VLC is still initializing, or loading plugins. Is there any call I can make, or any other ...
So far things are working great! I am playing with setting volume, position, etc. I noticed one small inconsistancy. Most "set" method, such as "set_position", and "audio_set_volume" take the value as the second to last argument and the exception structure as the last. ...
I think I found a bug in 0.0.2. You changed the add_option member that wraps libvlc_media_add_option to take a string[] instead of a string. I believe this is incorrect (although the API doc is a little hard to decipher). I think you had it right the first time and it takes either a single option, o...
I have been testing your C# wrapper and so far it has been really fantastic! Thanks for the excellent and much appreciated work! I have a few problems, which are probably due to my lack of understanding and or the early nature of the wrapper but I thought I would bring them up to get this thread bac...
OK, so I think I am getting closer. It was not initialized because the init entry point changed but I was silently catching the exception so I did not know it. So.... I have replaced VLC_Create with the new libvlc_InternalCreate and VLC_Init with the new libvlc_InternalInit But when I call vlc_objec...
In the newer nightly builds of 0.9.0, after I change to use libvlccore etc, I get the error / assert that "i_initializations > 0" is not true. I believe that this is because the main object is no longer static so I need to do something to initialize libvlc and instantiate the main object. ...
For those who have similar issue, I would suggest biting the bullet and learning the libvlc API. It allows this and many many other things not possible using the ActiveX wrapper. If you are developing managed code have a look at the C# thread in this forum. It is well worth the time it takes to lear...
I am using a modified version of the Wiki C# control and libvlc 0.9 (mainly vlc_current_object replaced by vlc_object_get and a few other tweeks). It works well but I have one nagging thing I can't figure out. By default the file name is shown on-screen. Under the ActiveX version of 0.9 you can get ...
OK, I have tried the following with no success.... 1) Calling "Directory.SetCurrentDirectory(....)" to the directory containing the plugins folder prior to playing a video 2) Setting HKLM\Software\VideoLAN\VLC\InstallDir to point to my install location 3) Setting HKLM\Software\Microsoft\Wi...
I am using the ActiveX control and it works fine, the only problem I have is that I would like to not need to copy the "plugins" folder into the executable directory of my application all the time. Does anyone know how to set the plugins folder path? I tried.... string[] options = new stri...
Thought I would post what I came up with to get this to work in case someone else was looking to do the same thing. On my form the VLC AtciveX control is named "axVLCPlugin21" *** IMPORTANT *** must play videos with the ":no-overlay" option for this to work..... axVLCPlugin21.pla...
Thanks. I see now what it is supposed to do. It populates an OLE IPictureDisp which I can then put into a bitmap and save. Unfortunately still crashes so I guess this is just a stub of a method that will be removed in the unified API. That being said, anybody have any ideas on saving a still image f...