Take a snapshot of the Tx2 screen.

Hello,

When i take a snapshot with ximagesrc on the Tx2 screen, i get only the desktop even if a video is playing with gst-play-1.0.

gst-launch-1.0 ximagesrc remote=1 num-buffers=1 ! videoconvert ! pngenc ! filesink location=screenshot.png

Screenshot.png → https://imgur.com/YSWATxN
real display → https://i.imgur.com/upiYLFW.jpg

How can i take a snapshot of the real display ?

Thank you.

hi,
This case is not supported in default release. The data is in frame buffer and there is no API to fetch the data.

In video playback, you may use tee plugin and feed decoded video frames into pngenc.