airtest.aircv.screen_recorder module

resize_by_max(img, max_size=800)[source]
get_max_size(max_size)[source]
class FfmpegVidWriter(outfile, width, height, fps=10, orientation=0)[source]

Bases: object

Generate a video using FFMPEG.

process_frame(frame)[source]
write(frame)[source]
close()[source]
class ScreenRecorder(outfile, get_frame_func, fps=10, snapshot_sleep=0.001, orientation=0)[source]

Bases: object

is_running()[source]
property stop_time
is_stop()[source]
start()[source]
stop()[source]
get_frame_loop()[source]
write_frame_loop()[source]