Actions
Print Screen¶
To capture screen on FBX-3566:
build main.c
gcc -o main main.c -I /usr/include/libdrm -ldrm
change permissions:
chown root screenshot
chmod u=rwx,go=xr,+s screenshot
execute:
./screenshot
The file image.rgb is created.
Convert to jpg with :
gst-launch-1.0 -v filesrc location=image.rgb blocksize=1555200 ! video/x-raw,format=RGB,width=960,height=540,framerate=1/1 ! videoconvert ! video/x-raw,format=RGB,framerate=1/1 ! jpegenc ! filesink location=out.jpg
Updated by Alex Seferidis 5 months ago ยท 1 revisions