Search found 21 matches

Go to advanced search

by Marx
27 Aug 2008 08:47
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

However, did you know that if you take any of the several C# wrapper previosly done for libvlc and call DLLImport in "separate threads" you do NOT keep seperate instances of the library? That's why we use System.Threading.Thread.BeginThreadAffinity. .NET threads are not real physical thre...
by Marx
26 Aug 2008 17:27
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

I realize that I didn't explain my point about STATIC vs. Non-static clearly. My point is that if we want to play say 16 streams of video then a static wrapper does NOT create separate instances---look at the handle returned from your wrapper. I develop in C and C++ mainly, only the tools that I re...
by Marx
07 Aug 2008 17:58
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Twilight Tinker, you bring up an important issue that I approached from a different perspective though. The C# wrapper merely exposes the libvlc API as it is implemented, that is intentional. It is up to coders to use the API, just as they would use it if it were native. Its a wrapper, not a framewo...
by Marx
15 Jul 2008 19:06
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Corvusvideo thanks for the feedback. I'd been trying to figure out how libvlc_media_add_option worked. Now that I know, I'll add the changes to the wrapper. That should correct the problem I was having with visualisations. I'll also correct the coding standard that you mentioned. The issue with Marx...
by Marx
13 Jul 2008 12:27
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

The two problems mentioned happen to be related. Firstly, libvlc_media_player.video_set_parent(libvlc_core.Handle, hDT, ex) in my multithreaded version needs to be placed after the play() command, or else I get a deadlock and the interface freezes. I've also had to wrap it in a try/Catch block to ha...
by Marx
09 Jul 2008 11:17
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Sorry, I've been busy on project work. I'll be releasing the source of the Media player interface and wrapper soon. I've just got to test the latest nightly build with it and the guys have corrected a lot of bugs. I'm just amending my code to deal with some deadlocks and introducing features that ar...
by Marx
28 Jun 2008 19:02
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Marx: How can we help the distribution of your work ? Right now, this is enough. I want to get the wrapper finished and properly tested. It means that I won't have a headache dealing with pre-release versions. When its finished, I'll upload it to a repository where everyone can access it. The idea ...
by Marx
26 Jun 2008 14:53
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Your C#-Wrapper for 0.9 ist fantistic. five minutes, and a winforms-app is written :lol: Of cause, I'am interesting on the new "test-version" on the wrapper. It makes the whole process a lot easier. I started out several weeks ago with those old wrappers and I wasn't impressed either. The...
by Marx
24 Jun 2008 05:04
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

There is a new GUI in VLC 0.9.0, and this isn't the object of this thread... I agree, the purpose of this thread is to test the wrapper and inform people of new releases. But wtf does "a more modern Windows feel" mean ? Office, Live Messenger, Live Mail, Outlook, WMP, Explorer have all a ...
by Marx
21 Jun 2008 11:09
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

In terms of how this will benefit end users, the basic idea is to simplify the user interface. The amount of options provided by VLC is unbelievable, however, most users will use less than 20% of them. Those core options are all that is required to play the majority of media. Then there is also the ...
by Marx
20 Jun 2008 16:51
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Thanks J-B, its coming along quite nicely. libvlc is quite well designed and it makes the process a lot easier. I have added PLS file support to the front-end, so playing streams from the web, or sharing playlists should be straightforward. I also abstracted the interface from the wrapper. This serv...
by Marx
18 Jun 2008 15:23
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Here is the first screenshot of the C# interface using the wrapper. I'll be uploading some new code soon that add more functions, corrects some bugs and demos the wrapper.

...images have been updated...see further in the thread...
by Marx
14 Jun 2008 15:48
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Well, here is a copy of the alpha version of the C# wrapper for libvlc 0.9.0: http://www.2shared.com/file/3435685/4dd1ef7b/Marx_libvlc_wrapper.html Things you will need: Visual Studio 2005 .NET Framwork 2.0 A nightly build ( http://nightlies.videolan.org/build/win32/latest/ ) Drop the 'plugins' fold...
by Marx
14 Jun 2008 12:26
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

This is coming along a little faster than I thought. Here is an updated list of the completed aspects of the wrapper: libvlc_core libvlc_media libvlc_media_player libvlc_audio libvlc_video libvlc_media_list libvlc_exception (struct only at this point) libvlc_media_library libvlc_media_discoverer Thi...
by Marx
14 Jun 2008 09:47
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

I spent yesterday restructuring the wrapper and ensuring the naming conventions were consistent. I've also extracted libvlc_exception from the code so that it functions in the same manner as the libvlc API. This version is better suited to handling multiple instances of libvlc running asynchronously...
by Marx
12 Jun 2008 15:15
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

Re: C# Wrapper for libvlc 0.9.0 - Testers Required

Thanks j-b... MuraliKaundinya, the wrapper exposes the libvlc API almost identically. I've just had to modify the naming scheme, expose handles and arrange the methods in a structure appropriate for C#. Without worry about cleaning up, etc., this is the basics of loading a file and playing it: publi...
by Marx
11 Jun 2008 19:08
Forum: Development around libVLC
Topic: C# Wrapper for libvlc 0.9.0 - Testers Required
Replies: 153
Views: 83100

C# Wrapper for libvlc 0.9.0 - Testers Required

I've spent the last few days building a C# wrapper to the new API. Anything that has been depreciated has been removed. So far, I've implemented most of the API and I'm able to play media files and attach the process to a window: libvlc_core libvlc_media_player (libvlc_audio, libvlc_video) libvlc_me...
by Marx
10 Jun 2008 02:19
Forum: VLC media player for Windows Troubleshooting
Topic: VLC C# Frontend - Some Coding Issues
Replies: 4
Views: 1338

Re: VLC C# Frontend - Some Coding Issues

For anyone else having issues with this, it appears that the trunk tutorial is incorrect, or refers to yet-to-be-implemented code. http://wiki.videolan.org/LibVLC_Tutorial Rather than using libvlc_media_player_set_drawable to set the video output window, use libvlc_video_set_parent and pass it a han...
by Marx
09 Jun 2008 10:03
Forum: VLC media player for Windows Troubleshooting
Topic: VLC C# Frontend - Some Coding Issues
Replies: 4
Views: 1338

Re: VLC C# Frontend - Some Coding Issues

Cheers J-B. I just downloaded the nightly build and I've managed to get a screen up and running with the new API. I've tried attaching the video to a different window using libvlc_media_player_set_drawable. It doesn't appear to be functioning. I've passed through an int, IntPtr and even setup a libv...
by Marx
08 Jun 2008 19:02
Forum: VLC media player for Windows Troubleshooting
Topic: VLC C# Frontend - Some Coding Issues
Replies: 4
Views: 1338

Re: VLC C# Frontend - Some Coding Issues

To save everyone the trouble, I have found the source of this issue. I've been using the libVLC_old API and its not feature complete. I've begun working on a DLL that performs InterOp with the new API. This seems to be coming along smoothly enough and should only add a few days to development. So, u...
by Marx
08 Jun 2008 12:45
Forum: VLC media player for Windows Troubleshooting
Topic: VLC C# Frontend - Some Coding Issues
Replies: 4
Views: 1338

VLC C# Frontend - Some Coding Issues

I have been writing a C# front-end for VLC and its about 90% finished now. Everything works, but I have a few outstanding issues that need to be resolved. This frontend will be GPL'ed as soon as I get this finished. Hopefully, that will be this week. 1. When playing an MP3 file, or DVD, VLC_LengthGe...

Go to advanced search