LIBVLC First video waiting too much for running

This forum is about all development around libVLC.
spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

LIBVLC First video waiting too much for running

Postby spider58 » 30 Jun 2011 10:55

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.

mangokm40
Cone that earned his stripes
Cone that earned his stripes
Posts: 130
Joined: 20 May 2010 20:00

Re: LIBVLC First video waiting too much for running

Postby mangokm40 » 30 Jun 2011 19:36

"...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.

spider58
Blank Cone
Blank Cone
Posts: 91
Joined: 28 Jun 2011 14:39

Re: LIBVLC First video waiting too much for running

Postby spider58 » 01 Jul 2011 08:14

"...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

XilasZ
Developer
Developer
Posts: 189
Joined: 16 Jun 2009 20:35

Re: LIBVLC First video waiting too much for running

Postby XilasZ » 01 Jul 2011 22:40

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 4 guests