Catching NAVIGATION events in PyGst

Pavel Hofman pavel.hofman at ivitera.com
Mon Sep 21 11:46:20 UTC 2020


Hi,

Please may I ask how to catch Gst.EventType.NAVIGATION
https://lazka.github.io/pgi-docs/Gst-1.0/enums.html#Gst.EventType.NAVIGATION
in a simple gstreamer python player, e.g. this
https://brettviren.github.io/pygst-tutorial-org/playbin-example-video.py ?

I would assume something like this
https://github.com/gkralik/python-gst-tutorial/blob/master/basic-tutorial-5.py#L35
but do not know the event string name.

I want to make a simple player where clicking on some parts of the video
screen runs some action (zoom in/out command sent to a streaming camera).

Thank you very much for any help and hints.

Best regards,

Pavel.


More information about the gstreamer-devel mailing list