Search found 29 matches

Go to advanced search

by corvusvideo
06 Oct 2008 13:48
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

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...
by corvusvideo
30 Sep 2008 14:36
Forum: General VLC media player Troubleshooting
Topic: libvlc API
Replies: 6
Views: 2849

libvlc_video_take_snapshot

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...
by corvusvideo
30 Sep 2008 14:27
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Has anyone gotten "video_take_snapshot" to work?

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...
by corvusvideo
28 Aug 2008 14:26
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

pass the .Handle member of the control you want to play in to video_set_parent.
by corvusvideo
06 Aug 2008 20:43
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

"Single players are for kids and not serious video applications"

You're right, in retrospect I should have known that you intended calling his work childish as a compliment.
by corvusvideo
05 Aug 2008 21:22
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

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...
by corvusvideo
24 Jul 2008 14:29
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Suggested feature with impl

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...
by corvusvideo
21 Jul 2008 13:38
Forum: Web and scripting
Topic: VLC error when closing the MFC dialog application
Replies: 2
Views: 1153

Re: VLC error when closing the MFC dialog application

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.
by corvusvideo
16 Jul 2008 18:18
Forum: Web and scripting
Topic: Is there a way to pre-load plugins and pre-initialize VLC?
Replies: 2
Views: 1493

Maximum startup speed

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"...
by corvusvideo
15 Jul 2008 13:27
Forum: Web and scripting
Topic: Is there a way to pre-load plugins and pre-initialize VLC?
Replies: 2
Views: 1493

Re: Is there a way to pre-load plugins and pre-initialize VLC?

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...
by corvusvideo
14 Jul 2008 20:38
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

calling video_take_snapshot causes core_handle release to h

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...
by corvusvideo
14 Jul 2008 20:17
Forum: Web and scripting
Topic: Is there a way to pre-load plugins and pre-initialize VLC?
Replies: 2
Views: 1493

Is there a way to pre-load plugins and pre-initialize VLC?

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 ...
by corvusvideo
14 Jul 2008 17:50
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Small item

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. ...
by corvusvideo
14 Jul 2008 16:16
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

Bug introduced in 0.0.2 calling libvlc_media_add_option

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...
by corvusvideo
11 Jul 2008 21:58
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 81763

I have been testing! Fantastic and Thanks!!!

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...
by corvusvideo
27 Jun 2008 19:40
Forum: Web and scripting
Topic: Master obj not static in 0.9.0 i_initializations>0 assert
Replies: 1
Views: 681

Re: Master obj not static in 0.9.0 i_initializations>0 assert

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...
by corvusvideo
27 Jun 2008 14:21
Forum: Web and scripting
Topic: Master obj not static in 0.9.0 i_initializations>0 assert
Replies: 1
Views: 681

Master obj not static in 0.9.0 i_initializations>0 assert

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. ...
by corvusvideo
05 Jun 2008 14:17
Forum: Web and scripting
Topic: More libvlc in C#
Replies: 80
Views: 54372

Solved : How to set the title C# Wiki Version using 0.9.x

Duh.... Found it....

Add the option ":no-video-title-show" and it works like a charm!

Code: Select all

string[] options = new string[] { ":no-overlay", ":drop-late-frames", ":no-video-title-show" }; vlc1.AddToPlayList(filePath, " ", options);
by corvusvideo
05 Jun 2008 13:51
Forum: Web and scripting
Topic: How to specify plugins folder using ActiveX control?
Replies: 3
Views: 1159

Re: How to specify plugins folder using ActiveX control?

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...
by corvusvideo
05 Jun 2008 13:45
Forum: Web and scripting
Topic: More libvlc in C#
Replies: 80
Views: 54372

How to set the title C# Wiki Version using 0.9.x

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 ...
by corvusvideo
22 May 2008 13:41
Forum: Web and scripting
Topic: How to specify plugins folder using ActiveX control?
Replies: 3
Views: 1159

Re: How to specify plugins folder using ActiveX control?

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...
by corvusvideo
12 May 2008 17:16
Forum: Web and scripting
Topic: How to specify plugins folder using ActiveX control?
Replies: 3
Views: 1159

How to specify plugins folder using ActiveX control?

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...
by corvusvideo
30 Apr 2008 16:53
Forum: Web and scripting
Topic: video.takeSnapshot 0.9.0 ActiveX, how to specify file name?
Replies: 5
Views: 25827

How to take snapshot of playing video in C#

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...
by corvusvideo
28 Apr 2008 17:11
Forum: Web and scripting
Topic: video.takeSnapshot 0.9.0 ActiveX, how to specify file name?
Replies: 5
Views: 25827

Re: video.takeSnapshot 0.9.0 ActiveX, how to specify file name?

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...

Go to advanced search