[vlc-devel] Re: ActiveX component development

Olivier Aubert oaubert at lisi.univ-lyon1.fr
Thu Sep 7 18:02:58 CEST 2006


The answer by Dugal Harris fits you best here (developping a video
output module). I have developped 2 approaches for the snapshot
functionality: one that uses a dummy video output to cache low-res
frames (cf modules/video_output/snapshot.c), and that once could be
accessed from the mediacontrol API. The other one uses the snapshot
functionality from the VLC video core, at the expense of an important
execution time (creation of a image_handler object, etc), and is
currently implemented in the mediacontrol API.

Another problem (for my needs at least) is that it is impossible to
precisely timestamp (in movie time) a snapshot, as the PTS is not
preserved up to the vout (last time I checked, at last).

Olivier

On Thu, 2006-09-07 at 12:02 +0300, Adam Collins wrote:
> Question:
> Is there a way of getting an RGB frame from an activeX module call?
> 
> My Possible solution: please comment on validity
> include the mediacontrol.h header file into the activeX module to
> allow the mediacontrol_snapshot() method to be called from the activeX
> module.
> 
> Context:
> Developing an application for object recognition in a live stream from
> RTSP protocol. developing for a windows environment for students to
> develop new obstacle detection algorithms, thus an easy insertion
> method would be preferable. IE insert an activeX component into visual
> studio .net 2005 and set the MRL to <stream IP> then repeatedly call
> mediacontrol_snapshot() to retrieve RGB pixel array on which to run
> the algorithms.Would anyone know how to do this? or if there is a
> better way and example?


-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list