How to get keyboard events in gstreamer app?

Olivier Aubert olivier.aubert at liris.cnrs.fr
Mon Jun 27 23:56:50 PDT 2011


You can use the navseek / navigationtest (mouse) elements to handle
navigation. Either as-is for common needs, or use them as inspiration to
define you own controls.

Olivier

On Tue, 2011-06-28 at 00:28 -0400, Alex Song wrote:
> Thanks Stefan. Unfortunately I don't have UI toolkit. And I'd like to use a
> simple console application to quickly test my plugin. 
> 
> So there doesn't seem to be a way to do this? I googled but didn't find
> anything. 
> 
> Thanks,
> 
> Alex
> 
> >>>>> On Mon, 27 Jun 2011 21:16:32 -0700, ensonic at hora-obscura.de wrote:
> 
>     > On 06/27/11 20:31, Alex Song wrote:
>     >> Hi folks,
>     >> 
>     >> I'm writing a console application without GUI and would like use some
>     >> keys to control playback, like fast forward etc.
>     >> 
>     >> Is there a way that I can get the keyboard events from glib/gstreamer?
> 
>     > You will get the keyboard events from the UI toolkit you use (e.g. gtk
>     > or qt).
> 
>     > Stefan
>     >> Many thanks,
>     >> 
>     >> Alex
>     >> 
>     >> 
>     >> _______________________________________________ gstreamer-devel mailing
>     >> list gstreamer-devel at lists.freedesktop.org
>     >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 
>     > _______________________________________________ gstreamer-devel mailing
>     > list gstreamer-devel at lists.freedesktop.org
>     > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
> 




More information about the gstreamer-devel mailing list