Search found 189 matches

Go to advanced search

by XilasZ
08 Feb 2011 15:02
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

excuse me... can you tell me precisely how can I use libvlc directly?
I took your source but there was nothing about libvlc.dll
Of course there is, look for DllImport("libvlc") in VideoLan.Interop/InteropMethods.cs.
All libvlc functions/structures/enums are declared in this file.
by XilasZ
06 Feb 2011 12:25
Forum: Development around libVLC
Topic: Crop-Function via libVLC
Replies: 4
Views: 1869

Re: Crop-Function via libVLC

a workaround for this is to crop the surface in which vlc renders in your app, if it's possible in your case :p
by XilasZ
06 Feb 2011 12:22
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

it's because you can't add libvlc.dll or libvlccore.dll in your project. Just use it directly, see libvlcnet or my code for that.
by XilasZ
05 Feb 2011 15:24
Forum: Development around libVLC
Topic: Crop-Function via libVLC
Replies: 4
Views: 1869

Re: Crop-Function via libVLC

simple: you can't with libvlc.
by XilasZ
05 Feb 2011 15:18
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

libvlcnet: google a little, and you'll find this : http://sourceforge.net/projects/libvlcnet/
my sources : there is a snapshot link above the file list.
by XilasZ
03 Feb 2011 14:10
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

you can try the wrapper libvlcnet, or take a look at my source here ,and especially the videolan.interop part (it's a vlc wrapper lib, based on kairos one, but modified for my needs).
by XilasZ
02 Feb 2011 10:26
Forum: VLC media player for Windows Troubleshooting
Topic: Impossible de faire tourner VLC
Replies: 10
Views: 879

Re: Impossible de faire tourner VLC

C'est fort possible, cela ne m'étonnerai pas que les dernières versions utilisent les instructions des processeurs plus récents. fucomi, cmove et cmovl sont des instructions x87 de pentium pro apparemment, sans doutes non géré par les amd K6.
by XilasZ
02 Feb 2011 09:56
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

a "wrapper" is a thin layer of code which translates an existing interface (libvlc's functions in our case) into a more usable interface.
by XilasZ
01 Feb 2011 13:40
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

ok....what about this error?
'canz.Length' threw an exception of type 'System.Runtime.InteropServices.COMException
i d'ont know abtout the activex usage, i use libvlc directly, (i use my own wrapper, something like libvlcnet).
by XilasZ
31 Jan 2011 13:44
Forum: Development around libVLC
Topic: c# issue with vlc libraries
Replies: 18
Views: 2675

Re: c# issue with vlc libraries

That's normal, axvlc is an activex (or a com object), which give access to libvlc features. So you don't need to reference libvlc* in your project.
by XilasZ
31 Jan 2011 13:30
Forum: Development around libVLC
Topic: Does libvlc support Unicode?
Replies: 4
Views: 592

Re: Does libvlc support Unicode?

Look at the libvlc APIs, it only allow basic c string (char*), so how may I add unicode file name to my player?
Yes. Just as Rémi said, it's UTF8, so special characters are just encoded on several chars, just send several chars for those, VLC will recognize them.
by XilasZ
27 Jan 2011 14:03
Forum: Development around libVLC
Topic: Does libvlc support Unicode?
Replies: 4
Views: 592

Re: Does libvlc support Unicode?

yes it does.
by XilasZ
07 Jan 2011 16:34
Forum: Development around libVLC
Topic: libvlc in my project
Replies: 3
Views: 697

Re: libvlc in my project

This code just plays the media "http://mycool.movie.com/test.mov", but only for 10s (or 10ms, don't remember, see "sleep(10)"), and then quit.

replace the url with a valid url or a file path, and increase the sleep delay to see/hear something.
by XilasZ
31 Dec 2010 09:39
Forum: Development around libVLC
Topic: libvlc in my project
Replies: 3
Views: 697

Re: libvlc in my project

looks like you are missing the plugins folder from vlc
by XilasZ
23 Dec 2010 09:49
Forum: Development around libVLC
Topic: problems playing mms stream
Replies: 2
Views: 511

Re: problems playing mms stream

Then subscribe to statechanged event from vlc and hit play on the Ended event
by XilasZ
16 Dec 2010 22:56
Forum: Development around libVLC
Topic: How do you create an event with VLC1.1.4 in C# ?
Replies: 10
Views: 2003

Re: How do you create an event with VLC1.1.4 in C# ?

libvlc_callback_t is just the name of the callback (VlcEventHandlerDelegate in your code).

the diff is the first parameter.
by XilasZ
16 Dec 2010 17:07
Forum: Development around libVLC
Topic: How do you create an event with VLC1.1.4 in C# ?
Replies: 10
Views: 2003

Re: How do you create an event with VLC1.1.4 in C# ?

i can see 2 diff between your code and my wrapper : - i don't use Marshal.GetFunctionPointerForDelegate, i use the delegate directly - my callback is not the same : internal delegate void libvlc_callback_t(ref VlcEvent Event, IntPtr UserData) where VlcEvent is a structure which match exactly libvlc_...
by XilasZ
13 Dec 2010 23:38
Forum: Development around libVLC
Topic: How do you create an event with VLC1.1.4 in C# ?
Replies: 10
Views: 2003

Re: How do you create an event with VLC1.1.4 in C# ?

What is your issue exactly ? What did you try ?
by XilasZ
10 Dec 2010 14:11
Forum: Development around libVLC
Topic: How do you create an event with VLC1.1.4 in C# ?
Replies: 10
Views: 2003

Re: How do you create an event with VLC1.1.4 in C# ?

you don't need to use libvlc_event* directly, the wrapper in your link as everything you need.
Just subscribe to VlcMediaPlayer.PositionChanged in your code.
by XilasZ
02 Dec 2010 08:27
Forum: Development around libVLC
Topic: API interactive audio play control
Replies: 5
Views: 650

Re: API interactive audio play control

of course it's possible, take a look here : http://wiki.videolan.org/Developers_Corner
by XilasZ
20 Nov 2010 01:26
Forum: Development around libVLC
Topic: audio visual effect issue
Replies: 11
Views: 2359

Re: audio visual effect issue

j-b, do you have an idea where the issue (the visual effect module which stays across media) might be located in the code ? modules/visualisation/goom.c I was talking about a more general issue, which affects both goom and visual effects. the core seems to load the "audio-visual" option, ...
by XilasZ
19 Nov 2010 23:08
Forum: Development around libVLC
Topic: Viewing and recording with videolan.interop
Replies: 5
Views: 785

Re: Viewing and recording with videolan.interop

That's weird, it's working perfectly in fritivi. Maybe it has something to do with the input stream ? can you test your media in fritivi, see whether it's working or not ? i never had any PInvokeStackImbalance error, i'm on visual 2008 with .Net 3.5, and PInvokeStackImbalance is disabled by default ...
by XilasZ
19 Nov 2010 22:35
Forum: Development around libVLC
Topic: Changing canvas while Playing video
Replies: 14
Views: 1282

Re: Changing canvas while Playing video

I tweaked my program to test this. - i added a new panel (a smaller one on top of the other one). - the play button already did something like "setsurface(hwnd1); play()", i use the pause button to do the same on the second surface "setsurface(hwnd2); play()" - i already have a w...
by XilasZ
19 Nov 2010 19:26
Forum: Development around libVLC
Topic: Changing canvas while Playing video
Replies: 14
Views: 1282

Re: Changing canvas while Playing video

Ah yes, i forgot, the getVideoTrack is buggy, it returns the index of the track (starting at 1) instead of the id, and -1 if it's disabled. but setVideoTrack need the id of the track, which can be any number > 0. So you need to use libvlc_video_get_track_description to get the track list with there ...
by XilasZ
19 Nov 2010 13:32
Forum: Development around libVLC
Topic: Viewing and recording with videolan.interop
Replies: 5
Views: 785

Re: Viewing and recording with videolan.interop

eheh, you are welcome (cocorico :mrgreen: ) i think vlc options are ok, as they are copied from my code in fritivi, which is able to play a stream and record it to a file in the same time. If i understand correctly, the created file is ok, it contains audio and video, but you want also the stream to...

Go to advanced search