Page 1 of 1

LIBVLC First video waiting too much for running

Posted: 30 Jun 2011 10:55
by spider58
Hello. Sorry for bad english.

Im Using 0.3.1.0 and VB.NET


Question 1

Created a player. Thats all good going.
Im starting program and creating my player

Thats too much waiting for open video file on first run (thats checking plugins i think)
After first video loaded, no waiting again to open other videos.

How can i disabled plugin check. because i know that files exists in my Debug/plugins folder.
THATS SOLVED - IM ADDED player.initialize code in my form_load and thats waiting while program opening. OK.
----

Question 2
Player doesn't changing video picture when i changed player position on pause mode. Picture shows old time.

Question 3

I want to use plugins such as get screenshot from video. How can i do that

Inadvance thanks for your relations.

Re: LIBVLC First video waiting too much for running

Posted: 30 Jun 2011 19:36
by mangokm40
"...Question 3
I want to use plugins such as get screenshot from video. How can i do that..."

libvlc provides libvlc_video_take_snapshot() for that.

Maybe you should provide some details of your situation (OS, .NET version, libvlc wrapper, etc...). Someone familiar with what you're using
might be able to tell you if the libvlc function is exposed in your situation.

Re: LIBVLC First video waiting too much for running

Posted: 01 Jul 2011 08:14
by spider58
"...Question 3
I want to use plugins such as get screenshot from video. How can i do that..."

libvlc provides libvlc_video_take_snapshot() for that.

Maybe you should provide some details of your situation (OS, .NET version, libvlc wrapper, etc...). Someone familiar with what you're using
might be able to tell you if the libvlc function is exposed in your situation.

mangok thanks for relpy.

My OS : Windows Server 2003 (My application will run on different OSs)
.NET : 2008 (VB.NET im using)
VLC version 1.1.10

May i use that libvlc.dll

Code: Select all

Imports System Imports System.Runtime.InteropServices Public Class Form1 Private declare Function libvlc_video_take_snapshot lib "libvlc" ( How can i know which function needs which variables ) As Integer Private Sub form1_Load() End Sub End Class
I don't khow how can i know functions needs which variables.

Code: Select all

libvlc_video_take_snapshot(Byval ???????????)
I checked that page for function variables

http://www.videolan.org/developers/vlc/ ... layer.html

but can't understand anything. :oops:

There are no sufficient help for VB.NET. Always C#, all samples for C#.

I need minimal VB.NET 2008 sample for (create new player, seek on video, get screenshot, pause, play and mute)
I will be grateful.
Inadvance Thanks for relations

Re: LIBVLC First video waiting too much for running

Posted: 01 Jul 2011 22:40
by XilasZ
the best way to know libvlc api is vlc source code itself : http://git.videolan.org/?p=vlc/vlc-1.1. ... nclude/vlc;

take a look at libvlc_media_player.h