Search found 38 matches

Go to advanced search

by d3x0r
22 Dec 2008 03:07
Forum: Development around libVLC
Topic: vmem pitch ?
Replies: 4
Views: 1018

Re: vmem pitch ?

I need to change the parameters that vmem is using on the fly... can I set media player width/height? and I definatly need to change the pitch on the fly... is there an explaination of how to talk to modules?
by d3x0r
09 Dec 2008 08:59
Forum: Development around libVLC
Topic: Playing a video with my own instance of VLC
Replies: 7
Views: 3251

Re: Playing a video with my own instance of VLC

have you tried adding --verbose=2 ?
by d3x0r
09 Dec 2008 06:02
Forum: Development around libVLC
Topic: vmem pitch ?
Replies: 4
Views: 1018

vmem pitch ?

I saw programattic routines for setting the width and height of the output, I assume this would in turn reflect the width/height of the vmem surface written to... so on the next lock I could return a different sized array than before. However, vmem really works off of pitch, how can I change the sur...
by d3x0r
07 Dec 2008 21:24
Forum: Development around libVLC
Topic: How are files loaded? and when?...
Replies: 2
Views: 942

Re: How are files loaded? and when?...

Oh - actually stting --file-caching=0 helpd... setting --file-caching=5000 was even worse than it started... so I went the other way and it plays quite well...
by d3x0r
06 Dec 2008 22:11
Forum: Development around libVLC
Topic: How To Shutdown
Replies: 1
Views: 1054

Re: How To Shutdown

I solved this by creating a thread that in turn created the player and surface, started playing, and goes to sleep until the event fires, wakes up and cleans up everything it created. Apparently releasing an instance from all but the creating thread locks in libvlc_release(inst);
by d3x0r
06 Dec 2008 22:05
Forum: Development around libVLC
Topic: Playing a video with my own instance of VLC
Replies: 7
Views: 3251

Re: Playing a video with my own instance of VLC

by the way... this is a rewrite, and untested version of what I do... it's a back port to standard C This adds the path you specify for vlc and vlc/plugins to the current environment. (Linux... maybe adjust LD_LIBRARY_PATH too?) void FixupPath( char *vlc_path ) // pass the vlc base path, not plugins...
by d3x0r
06 Dec 2008 21:49
Forum: Development around libVLC
Topic: How are files loaded? and when?...
Replies: 2
Views: 942

How are files loaded? and when?...

I have a player, I'm using WS_LAYERED style windows and open a seperate instance, player, and media clip on its own surface. I open two of these at once, and play one. When that stops, I start the other, and release the first, and create a new player on a new surface. A few seconds into the video th...
by d3x0r
05 Dec 2008 09:46
Forum: Development around libVLC
Topic: How To Shutdown
Replies: 1
Views: 1054

How To Shutdown

I'm using simple media players... a unique inst, media_new, player_new_from_media, event_manager, media_release, player_play... the event is libvlc_MediaPlayerEndReached when I get the event, I add my structure which contains all the above references to a list to later be deleted, and mark the curre...
by d3x0r
03 Dec 2008 03:37
Forum: Development around libVLC
Topic: How to know end of video...
Replies: 6
Views: 2776

Re: How to know end of video...

(just a tricky point, don't launch it in the callback as you will get a deadlock issue too) Thanx great to know. I actually don't want the list to be used, I want to start a seperate player instance on another surface and cross ideally the last frame of the first with the first frame of the second,...
by d3x0r
02 Dec 2008 23:57
Forum: Development around libVLC
Topic: System.DllNotFoundException: Unable to load DLL 'libvlc'
Replies: 7
Views: 11365

Re: System.DllNotFoundException: Unable to load DLL 'libvlc'

You can adjust PATH within the context of just your program... if you had a setting which as base_vlc_path or soemthing, you don't have to set the PATH in a permanent way outside of your program. And, I have the plugins folder in my dynamic path (as added to by my application) and loading them all w...
by d3x0r
02 Dec 2008 23:51
Forum: Development around libVLC
Topic: How to know end of video...
Replies: 6
Views: 2776

How to play next video...

Okay so I figured out how to connect to events... there seem to be two event managers though, one per media and one on the media player. I attached to libvlc_MediaPlayerEndReached... and I get the vent, what is the appropriate sequence of steps to play the next clip? The medias are all in a media li...
by d3x0r
01 Dec 2008 22:57
Forum: Development around libVLC
Topic: System.DllNotFoundException: Unable to load DLL 'libvlc'
Replies: 7
Views: 11365

Re: System.DllNotFoundException: Unable to load DLL 'libvlc'

I found adding both the vlc directory and vlc/plugins directory to the environment variable PATH worked wonders with an issue similar to this.
by d3x0r
01 Dec 2008 22:49
Forum: Development around libVLC
Topic: How to know end of video...
Replies: 6
Views: 2776

How to know end of video...

I have an interface mostly working...[http://sack.svn.sourceforge.net/viewvc/sack/src/vlclib/] but I want to watch the status of the current clip to know how close it is to the end. libvlc_media_player_get_length doesn't return a non 0 value until libvlc_media_player_get_time returns non 0. once the...

Go to advanced search