[i.MX8] How to record screen on weston.

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

[i.MX8] How to record screen on weston.

1,779 次查看
tan-k
Contributor III

Hi,

We are testing i.MX8 with below environment.

[Environment]
Evaluation Kit : 8MMINILPD4-EVK (Connect HDMI cable, USB keyboard and USB mouse.)
Linux for i.MX : Linux 5.10.9_1.0.0

We can capture a screenshot with "super" + "s" key.
We also try to record a screencast with "super" + "r" key.
"capture.wcap" file is created.
However file size is not changed.
According to weston.log, total file size is 0M and 0 frames.
------------------------------------------------------------------------------------------
# ls -l /home/weston/capture.wcap
-rw-r--r-- 1 root root 16 Jul 19 07:37 /home/weston/capture.wcap
# cat /run/user/0/weston.log
[07:37:33.909] starting recorder for output HDMI-A-1, file capture.wcap
[07:58:19.181] stopping recorder, total file size 0M, 0 frames
------------------------------------------------------------------------------------------
How can I record screen on weston?

 

0 项奖励
6 回复数

1,250 次查看
shaioz
Contributor I
late for the thread but for others, I've run into the exact same problem and for me what worked is to comment this line in the weston config file:
use-g2d=1
then restart weston.

Good luck!

1,753 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

 

The screenshot is support in weston, but record screen can not support

You can run the QT, the Qt's grabWindow() to achieve the task.

0 项奖励

1,746 次查看
tan-k
Contributor III

Thank you for your reply!
We will try to use Qt's grabWindow() instead of Weston record screen.
Do you have any examples to record screen?

0 项奖励

1,185 次查看
mgonzalezg9
Contributor II

Hi, did you find any example of Qt or Python screen capture?

0 项奖励

1,742 次查看
Rita_Wang
NXP TechSupport
NXP TechSupport

Sorry I do not have.

0 项奖励

1,740 次查看
tan-k
Contributor III

OK, thank you.
By the way, could you please let us know the documents or URL about not supporting record screen function?
Where does it say that?

0 项奖励