Search found 17 matches

Go to advanced search

by Lohkay
27 Jul 2010 15:53
Forum: Development around libVLC
Topic: [vlc 1.1.1] libvlc_media_get_duration reporting -1
Replies: 3
Views: 664

Re: [vlc 1.1.1] libvlc_media_get_duration reporting -1

Sure, here you go: private void Media_Player_Event_Callback(ref IntPtr event_t, IntPtr user_Data) { libvlc_event_type_t CBEvent = (libvlc_event_type_t)event_t; switch (CBEvent) { case libvlc_event_type_t.libvlc_MediaDurationChanged: { int iDuration = libvlc_media_get_duration(media); if (iDuration >...
by Lohkay
23 Jul 2010 19:07
Forum: Development around libVLC
Topic: [vlc 1.1.1] libvlc_media_get_duration reporting -1
Replies: 3
Views: 664

[vlc 1.1.1] libvlc_media_get_duration reporting -1

So I upgraded to 1.1.1 from 1.0 and after receiving a libvlc_MediaDurationChanged event, I check for the media length with libvlc_media_get_duration. This used to work, now it returns -1.

Any idea?
by Lohkay
15 Mar 2010 22:10
Forum: Development around libVLC
Topic: libvlc_media_player_set_d3dsurface?
Replies: 2
Views: 566

Re: libvlc_media_player_set_d3dsurface?

Why am I not getting an answer to this? I'd be happy with any kind of answer: am I crazy to think something like that? Maybe I don't understand how it works? Maybe the dev that would be in charge of that is on a lenghty vacation? Maybe no dev knows how they'd go about doing this? Please let me know ...
by Lohkay
10 Mar 2010 22:10
Forum: Development around libVLC
Topic: libvlc_media_player_set_d3dsurface?
Replies: 2
Views: 566

libvlc_media_player_set_d3dsurface?

Hello everyone. I have been sucessfully using libvlc in my wpf project for a while now but there has always been the issue that I can't put a WPF control over what VLC is playing. At some point it hit me that WPF uses directx and that I set the vout to directx in VLC but for some odd reason, both ar...
by Lohkay
08 Dec 2009 19:20
Forum: Development around libVLC
Topic: Can't get CDDA to work
Replies: 3
Views: 1099

Re: Can't get CDDA to work

Well I have made some progress. I can get a specific track to play if I put --cdda-track=1 in the startup parameters. The downside of that is I need to create a new vlc object every time I want to change CD track. Also, I haven't figured out how to get the track count yet. Anyone can help me out on ...
by Lohkay
06 Dec 2009 00:01
Forum: Development around libVLC
Topic: Can't get CDDA to work
Replies: 3
Views: 1099

Re: Can't get CDDA to work

Look at original post for the full log of my program. Here's the full log when I run from command line: [0x216e64c] rc interface: VLC media player - version 1.0.4-rc-20091204-0203 Gold eneye - (c) 1996-2009 the VideoLAN team [0x216e64c] rc interface: Warning: if you can't access the GUI anymore, ope...
by Lohkay
04 Dec 2009 21:27
Forum: Development around libVLC
Topic: Can't get CDDA to work
Replies: 3
Views: 1099

Can't get CDDA to work

I'm using libvlc to create a media player of my own and its working great so far, I can play movies and mp3 audio with no problem. But for some reason, I can't get cd audio to work... I've stripped down my application to the minimum which looks like this: string[] argv = new string[] { "-vvv&qu...
by Lohkay
13 Oct 2009 16:21
Forum: Development around libVLC
Topic: Why would this happen *some* times
Replies: 1
Views: 453

Re: Why would this happen *some* times

Haaaa nm the problem comes from a buggy intel driver. damn I hate intel graphics...
by Lohkay
09 Oct 2009 22:24
Forum: Development around libVLC
Topic: Why would this happen *some* times
Replies: 1
Views: 453

Why would this happen *some* times

So I've been developing this media application and some times the video plays like this, I play it again and it plays correctly. It seems completly random. Any ideas as of why this would happen? Btw, this is with the latest nightly build (09/10/09) running in directx under windows. http://www.alcmed...
by Lohkay
13 Aug 2009 20:57
Forum: Development around libVLC
Topic: Graphical glitch on some .mov
Replies: 2
Views: 539

Re: Graphical glitch on some .mov

Well it might be the current behavior but it sure is not normal. Also, it only happens on certain videos and I'm resizing all videos.
by Lohkay
12 Aug 2009 17:55
Forum: Development around libVLC
Topic: Graphical glitch on some .mov
Replies: 2
Views: 539

Graphical glitch on some .mov

Hi, I don't know if this was an issue before 1.0 as I haven't noticed it before. I came upon 3 videos that have this problem, the remainder play just fine. Here's what it looks like: http://www.alcmedia.com/BadPixels.png You can get the video file at http://www.alcmedia.com/1074_1445.mov I run with ...
by Lohkay
14 Apr 2009 23:37
Forum: Development around libVLC
Topic: Temp/Cache directory used?
Replies: 3
Views: 19159

Re: Temp/Cache directory used?

Sorry for the previous post, after a bit of digging I found the logging functions which after implementing, I realised the problem comes from the modules not being found. So I added the "--plugin-path=C:\Program Files\VideoLAN\VLC\plugins" switch to my library and tried that out. In my sta...
by Lohkay
14 Apr 2009 22:10
Forum: Development around libVLC
Topic: Temp/Cache directory used?
Replies: 3
Views: 19159

Re: Temp/Cache directory used?

Actually, after further investigation, it doesn't seem to be a permission problem. Is there any way to retrieve more information after receiving a MediaPlayerEncounteredError event?
by Lohkay
10 Apr 2009 20:19
Forum: Development around libVLC
Topic: Temp/Cache directory used?
Replies: 3
Views: 19159

Temp/Cache directory used?

Hi, I did a small DLL which uses libVLC to retrieve the duration of an audio file. This DLL is to be used through a website but I'm getting a libvlc_MediaPlayerEncounteredError event. So I built a little test application that uses the DLL in the same way and it works perfectly if I run it with admin...
by Lohkay
03 Mar 2009 23:42
Forum: VLC media player for macOS Troubleshooting
Topic: Monitor live firewire stream?
Replies: 5
Views: 2548

Re: Monitor live firewire stream?

Sorry to bring back dead posts but this is of particular interest to me... Can VLC capture a DVCPRO HD stream from firewire nowadays?
by Lohkay
09 Jan 2009 20:43
Forum: Development around libVLC
Topic: Window sizing problem
Replies: 2
Views: 793

Re: Window sizing problem

Hello, I was wondering, did I formulate my question incorrectly or didn't provide enough information? I see people coming into the thread but not a single answer or comment. I didn't find a solution on my side... it would seem that whatever I do (try to refresh the window after starting VLC, send WM...
by Lohkay
06 Jan 2009 23:26
Forum: Development around libVLC
Topic: Window sizing problem
Replies: 2
Views: 793

Window sizing problem

Hi, hope someone can hint me regarding a problem I've been trying to solve. I have a WPF application that uses VLC through a WindowFormHost and everything works fine normally. I do get a situation from time to time where the video is cropped inside the window I give VLC. I've used Spy++ to monitor t...

Go to advanced search