Unable to capture screenshot on i.imx6 sabreauto

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to capture screenshot on i.imx6 sabreauto

719 Views
akashpatel
Contributor I

We tried using following methods to capture screenshot on imx6 sabreauto (LVDS DISPLAY) running xwayland  but output is always black screen, please let us know if we are missing anything related to settings on i.imx6

1)Gstreamer-1.0  ximagesrc

--> gst-launch-1.0 ximagesrc display-name=:0 ! video/x-raw, framerate=5/1 ! videoconvert ! jpegenc ! filesink location=desktop.jpg

2)Using ffmpeg :

--> ffmpeg -f x11grab -framerate 1 -video_size 1200x500 -i :0.0 -vframes 1 output22.jpeg

3)Using frame buffer copy:

--> cp /dev/fb0 screenshot.raw

4) Using screenshot command :

-->export display=:0

-->screenshot desktop.png

0 Kudos
1 Reply

516 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hi Akash,

Sorry for the delay, In SabreAuto Everythinks works, I suggest you to use the latest bsp.

0 Kudos