airtest
latest
快速开始
Airtest
跨平台的API
airtest.core.api module
Some useful functions
Assertions in airtest
平台相关的API
airtest.core.android package
airtest.core.ios package
airtest.core.win package
模块内容
airtest
Wiki
Device Connection
Code Example
airtest
airtest.aircv.screen_recorder module
在 GitHub 上编辑
airtest.aircv.screen_recorder module
resize_by_max
(
img
,
max_size
=
800
)
[源代码]
get_max_size
(
max_size
)
[源代码]
class
FfmpegVidWriter
(
outfile
,
width
,
height
,
fps
=
10
,
orientation
=
0
)
[源代码]
基类:
object
Generate a video using FFMPEG.
process_frame
(
frame
)
[源代码]
write
(
frame
)
[源代码]
close
(
)
[源代码]
class
ScreenRecorder
(
outfile
,
get_frame_func
,
fps
=
10
,
snapshot_sleep
=
0.001
,
orientation
=
0
)
[源代码]
基类:
object
is_running
(
)
[源代码]
property
stop_time
is_stop
(
)
[源代码]
start
(
)
[源代码]
stop
(
)
[源代码]
get_frame_loop
(
)
[源代码]
write_frame_loop
(
)
[源代码]
Read the Docs
v: latest
版本
latest
stable
dev
下载
托管于 Read the Docs
项目主页
构建