[vlc] Re: mini howto for low level frame grabber...
Sigmund Augdal
sigmunau at stud.ntnu.no
Wed Sep 24 18:05:49 CEST 2003
The development version of vlc allready have a access module that uses
microsoft directshow. It is reported to work with webcams and tv-tuner
cards. So the first thing you need to do, is to check if this is enough for
you. Grab a nightly build from www.videolan.org/~videolan/build and write
"dshow://" in the MRL-field
If this doesn't work then try to grab the source from cvs (look at
developers.videolan.org for instructions). The compilation failure you
reported should be fixed there.
Sigmund
On Wed, Sep 24, 2003 at 11:48:11AM -0400, jonathan dumaresq wrote:
> HI. I want to write a low level plugin or I don't know to tell this.
>
> here is what I want to do:
>
> I want to use vlc with a custom frame grabber. I don't know exactly what to do or modify to make this work. I don't know if this is much easier to use vls instead of vlc. I want to make this work in windows. I have all I need to capture frame from the grebber. (all the windows api). I don't know where to start. I try to compile vlc on cygwin ... but I always got error on compiling.
>
> What i need:
>
> The first thing to do is to be able to compile the vlc or vls in cygwin.
> I do exactly what the readme fiel : http://developers.videolan.org/vlc/vlc/INSTALL.win32 said. but when I start the make:
>
> I got this error:
>
> make[4]: Entering directory `/usr/local/src/vlc-0.6.2/modules/access'
> if gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/win32/include -I/usr/win32/include/ebml -D_OFF_T_ -D_off_t=long -DSY
> S_MINGW32 -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_file` -Wsign-compare -Wall -mms-bitfiel
> ds -finline-limit-30000 -pipe -MT libaccess_file_plugin_a-file.o -MD -MP -MF ".deps/libaccess_file_plugin_a-file.Tpo" \
> -c -o libaccess_file_plugin_a-file.o `test -f 'file.c' || echo './'`file.c; \
> then mv -f ".deps/libaccess_file_plugin_a-file.Tpo" ".deps/libaccess_file_plugin_a-file.Po"; \
> else rm -f ".deps/libaccess_file_plugin_a-file.Tpo"; exit 1; \
> fi
> In file included from ../../include/vlc/vlc.h:121,
> from file.c:27:
> ../../include/vlc_common.h:112: error: conflicting types for `ssize_t'
> /usr/i686-pc-mingw32/include/sys/types.h:119: error: previous declaration of `ssize_t'
>
> but I don'tknow what to do with this error.
>
> the cygwin environement is new to me. I always use slackware dist. for linux.
> if anybody can help me on this .?
>
> the second thing is a mini help text that explain how to write a low leve pluggins. (or any sample)
>
> should I compile vlc to be able to to get what I want or I can only write a modules and incorparate it on it ?
>
> thanx
>
> Bon voici je ce veux faire:
>
> I veux ecrir un module pour soit vlc ou vls. je veux etre capable d'envoyer le video d'un frame grabber non supporter par vlc ou vls. Donc je voudrais savoir par ou je commence ?
>
> j'essaie depui deux jours a compiler vlc ou vls sans succes. Comme je suit nouveau dans le monde du cross-compiling. j'ai un peu de difficulter a savoir comment gerer les erreur.
>
> donc la premiere chose a faire serais d'etre capable de compiler les source de vlc ou de vls.
> Je voudrais savoir si je suis obliger de compiler les source ou bien je peu ecrire simplement un plugins et l'incorporer dans vlc.
>
> merci
>
> jonathan dumaresq
>
>
>
>
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vlc
mailing list