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? Many thanks, Alex _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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 > [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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, [hidden email] 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 [hidden email] >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing > list [hidden email] > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel -- The end of our foundation is knowledge of causes, and secret motions of things; and the enlarging of the bounds of human empire, to the effecting of all things possible. - Francis Bacon, New Atlantis _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
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, [hidden email] 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 [hidden email] > >> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > > > _______________________________________________ gstreamer-devel mailing > > list [hidden email] > > http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel > _______________________________________________ gstreamer-devel mailing list [hidden email] http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel |
Free forum by Nabble | Edit this page |