Search found 189 matches

Go to advanced search

by XilasZ
05 Aug 2009 14:09
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

Hi, kairos, there is a small bug in the wrapper when using libvlc_media_get_meta. It seems that libvlc returns an ansi string, while .NET is trying to map the return value as a unicode string, so it crash (memory protected error). To fix this, just add "[return:MarshalAs(UnmanagedType.AnsiBStr)...
by XilasZ
29 Jul 2009 23:25
Forum: Development around libVLC
Topic: Using the VLC ActiveX control
Replies: 15
Views: 25125

Re: Using the VLC ActiveX control

I don't know about the activex, but you should take a look at kairos's wrapper here : http://forum.videolan.org/viewtopic.php?f=32&t=52021 The first post contains a link to the sources. There is also a sample with a simple player with the wrapper. The wrapper may be too much for what you need, b...
by XilasZ
29 Jul 2009 22:06
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

Hmm ok. now i remember, i noticed that get/set are strange, see here : http://forum.videolan.org/viewtopic.php?f=33&t=60943#p203685 , last post (don't bother with deinterlace or the issue at the end, i wasn't doing thing right). some works with the index in the track list, the others works with ...
by XilasZ
29 Jul 2009 17:04
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

Kairos, did you managed to get event data correctly (position in a PositionChangedEvent) with 1.0.x ? It worked with libvlc 0.9, but with 1.0.x, i got bad values (currently, i got something like 2E-44, almost 0). I modified event class according to changes in libvlc (i looked to changes in vlc's git...
by XilasZ
20 Jul 2009 15:51
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

Hi,
As i undestand Vlc APi can't read playlist Stream. Is there a way to extract a list of Stream from a playlist with the API.
Thanks in advance.
i don't use them, but maybe the functions named libvlc_media_list_* can do it. Try the VlcMediaList class, maybe it works (i didn't try them)
by XilasZ
19 Jul 2009 21:01
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

try to remove "--plugin-path", i noticed that since 1.0, libvlc crash with that option. just let the plugin folder with libvlc (the same way they are in vlc). Anyway, here the steps when i use with libvlc, and the main options. I think there's nothing wrong in your steps, it should work. m...
by XilasZ
19 Jul 2009 11:09
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

I use the official release. But it also worked with 1.0.0 rc3 and rc4 (after modifying the wrapper to reflect changes in libvlc).

Maybe it's just that the tutorials that you used are outdated.
by XilasZ
18 Jul 2009 15:40
Forum: Development around libVLC
Topic: VideoLan.Interop a .Net libvlc 0.9.x wrapper
Replies: 195
Views: 86329

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

A few month ago, I made a player to watch tv from my internet provider, but it can also be used to watch any stream or file. It's full WPF (.Net 3.5), use libvlc through kairos' wrapper. I updated it to reflect changes between libvlc 0.9 and 1.0. Everything i use is working fine. It works on XP, Vis...
by XilasZ
24 Jun 2009 19:33
Forum: VLC 1.0.0 testing
Topic: High CPU Usage on WinXPE
Replies: 1
Views: 6919

Re: High CPU Usage on WinXPE

it happenned to me too, when i first try using libvlc RC4.
It does not happen any more now, but sorry, i have no idea why.
by XilasZ
22 Jun 2009 06:51
Forum: VLC 1.0.0 testing
Topic: crash when starting a video in libvlc
Replies: 3
Views: 6588

Re: crash when starting a video in libvlc

It did not crash this morning, i don't understand :?
by XilasZ
21 Jun 2009 23:16
Forum: VLC 1.0.0 testing
Topic: crash when starting a video in libvlc
Replies: 3
Views: 6588

Re: crash when starting a video in libvlc

I think so. The first time i tried RC4, i was at work in windows 7, inside vmware. I noticed issues on startup when playing an mp4 video (for psp) or a shoutcast tv stream : my program hangs, visual studio reported that the memory may have been corrupted. But with a shoutcast radio stream worked. Ma...
by XilasZ
21 Jun 2009 10:49
Forum: VLC 1.0.0 testing
Topic: crash when starting a video in libvlc
Replies: 3
Views: 6588

crash when starting a video in libvlc

Since RC4, i'm experiencing a crash somewhere when i start playing a video with libvlc, but it only occur the first time. If i launch my program right after starting windows, it crashes. if i retry 10seconds later, it always works. But if i wait sometime before retrying, it crashes again. Since my c...
by XilasZ
18 Jun 2009 11:37
Forum: VLC 1.0.0 testing
Topic: bug in libvlc_video_set_track
Replies: 2
Views: 1473

Re: bug in libvlc_video_set_track

I found something else. The 6 functions to get/set tracks (video/audio/subtitles) do not work the same way. video_set_track use the real track id of the stream, while the 5 other ones use the index in the track list. I also noticed yesterday that deinterlace doesn't work anymore. I use options "...
by XilasZ
16 Jun 2009 20:57
Forum: VLC 1.0.0 testing
Topic: bug in libvlc_video_set_track
Replies: 2
Views: 1473

bug in libvlc_video_set_track

hi, I was testing the new version of libvlc , and i found a little bug. first i was trying to disable the video track using libvlc_video_set_track(-1) : it disables the audio track. then i tried to enable the video track again using libvlc_video_set_track(1) : it crashs. The same thing works perfect...

Go to advanced search