[vlc-devel] how to get Notification about Pause / Play / Stop /Continue inside Filter Module?

Andre Weber WeberAndre at gmx.de
Wed Nov 21 09:00:02 CET 2007


thanks for responding - why I need playing status?

not easy to explain - I think you must unterstand for what I writing
the plugin.

Its no real video filter it just passes the frame 1:1 from input to output,
but it extracts a very small portion of pixeldata out of the frame - with
very simple downscale algorithm - this datablock is used to calculate control
parameters for an external hardware - which works a little bit like
the Philipps Ambilight - in the german user forum (www.vdr-portal.de)
we call this device AtmoLight controller. Durring normal playback
it illuminates (using high power RGB LED stripes) the area around
the TV/Monitor depending on the currently played movie scene.
That works allready with my filter so far.

Now I had the idea if I pause the movie playback - it would be
nice to illuminate the room - fade the light up to specific color so
you don't need to switch on an extra lamp - "get cinema feeling"
when the movie is finished or paused...
I hope its clear what I am trying to explain??


if want to have a look at some fotos (sorry only german descriptions
at the moment)

----- Original Message ----- 
From: "Mirsal ENNAIME" <mirsal.ennaime at gmail.com>
To: "Mailing list for VLC media player developers" <vlc-devel at videolan.org>
Sent: Wednesday, November 21, 2007 3:35 AM
Subject: Re: [vlc-devel] how to get Notification about Pause / Play / Stop /Continue inside Filter Module?

> On Nov 20, 2007 10:35 PM, Andre Weber <WeberAndre at gmx.de> wrote:
> > Hello,
> Hi =)
> > What I have to implement to get notified if the video output gets paused, stopped
> > or continued?
> I'm hooking a callback on the input thread's "state" variable, but as
> I never worked on video filters I don't know if it's the right way to
> do so.
> Anyway, why does a filter module need to know the playing status?
> -- 
> Mirsal ENNAIME
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list