Search found 12 matches

Go to advanced search

by am70
24 Aug 2010 08:40
Forum: Development around libVLC
Topic: C# and vmem - what's wrong with this code?
Replies: 3
Views: 1063

Re: C# and vmem - what's wrong with this code?

It's crashing because you're not correct functions pointers or video memory pointers.
Actually it turns out my code was fine. It works fine with 0.9.9, but produces the libswscale_plugin crash with 1.0.x.

Does anyone have a clue why this might be?
by am70
24 Aug 2010 02:40
Forum: Development around libVLC
Topic: C# and vmem - what's wrong with this code?
Replies: 3
Views: 1063

Re: C# and vmem - what's wrong with this code?

It's crashing because you're not correct functions pointers or video memory pointers. Forgive my ignorance, but I'm not fluent in C++, so most of the sample code is useless to me. It seems my understanding of how this works is incorrect, conceptually. Can you explain specifically what I'm doing inc...
by am70
23 Aug 2010 13:26
Forum: Development around libVLC
Topic: C# and vmem - what's wrong with this code?
Replies: 3
Views: 1063

C# and vmem - what's wrong with this code?

I'm attempting to write a small C# class that will return a WriteableBitmap that's hooked to the output of a VLC instance via vmem. VLC starts up, calls the dolock() function once, then immediately crashes reporting an error in libswscale_plugin.dll. Here's the relevant code: static class render { s...
by am70
29 Apr 2009 02:45
Forum: VLC media player for Windows Troubleshooting
Topic: VLC Element for WPF
Replies: 44
Views: 38010

Re: VLC Element for WPF

I would also love a version of VLC Renderer that supports multiple instances.

However, it appears that this project is dead. BenZC, are you still around??

Andrew
by am70
28 Apr 2009 11:30
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Hi Kairos

I know you said you want to fix the bugs first, but I'd be remiss if I didn't mention that my number 1 feature request is native WPF support. I'm using VLC Renderer at the moment which works well, but does not support multiple player instances.

Andrew
by am70
28 Apr 2009 11:27
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Solved my problem. In case anyone else runs into it, this is the working code to specify a DirectShow capture device per player instance: VlcPlayer1 = Vlc.NewMediaPlayer(System.IntPtr.Zero); VlcMedia desc1 = Vlc.NewMedia(@"dshow://"); desc1.AddOption(@":dshow-vdev=BT878 Capture 1"...
by am70
28 Apr 2009 04:28
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

I have figured out my previous problem, and now have a new one :) I got AddOption() to work by initialising VlcClient with no options at all, and loading the entire set of options into each individual media source using AddOption(). This appears to work, and I can now stream different files to diffe...
by am70
26 Apr 2009 04:18
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

I have tried --, : and nothing at all. I can't get it to recognise the option regardless of what I use. Very frustrating! If I leave the VlcClient() options empty, and try passing the entire options string through AddOption(), it's also ignored. Could this be a wrapper bug, or a libvlc peculiarity? ...
by am70
26 Apr 2009 03:55
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Hi Kairos I have tried what you suggest, but anything I pass to AddOption() seems to be ignored: string[] opts = { @"--sout=#transcode{vcodec=mp2v,vb=8000,scale=1}", }; Vlc = new VideoLanClient(@"c:\blah\", opts); VlcPlayer1 = Vlc.NewMediaPlayer(System.IntPtr.Zero); VlcMedia desc...
by am70
25 Apr 2009 18:01
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Hi Kairos

Thanks for the reply. I know I can do what you say to display multiple players on screen. How would I stream each of those players' video to a different IP address?

Andrew
by am70
25 Apr 2009 07:29
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86877

Re: VideoLan.Interop a .Net libvlc 0.9.x wrapper

Hi.. I am trying to stream multiple sources over the network to multiple targets. I'm aware of the fact that libvlc doesn't like multiple instances of itself, and suspect that VLM might be the answer. I can see that there is code in VideoLan.Interop to support VLM. How complete is it? Is there any c...
by am70
25 Apr 2009 06:26
Forum: Development around libVLC
Topic: Streaming multiple sources to multiple targets - possible?
Replies: 0
Views: 531

Streaming multiple sources to multiple targets - possible?

My local PC has 4 capture devices. I am trying to stream the output of all 4 devices to a remote PC. I can stream 1 source no problem, and I've read about the issues libvlc has with multiple instances of itself: http://forum.videolan.org/viewtopic.php?f=32&t=54354#p178545 Since multiple instance...

Go to advanced search