i try to record video of application window with following GStreamer command:
gst-launch-1.0 ximagesrc xid=41943058 use-damage=false ! video/x-raw,framerate=5/1 ! v