Skip to content

Based on ffmpeg and airtest, video comparison is realized. Reduce the workload of regression testing

Notifications You must be signed in to change notification settings

jiangliuer32/VideoDiff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoDiff:基于ffmpeg,实现视频抽帧比较工具

使用场景:在视频渲染模块发生迭代,快速回归测试其产出的视频是否存在问题,从而节省人工回归成本

原理图

alt 流程图

一、环境准备

二、运行方式(需安装requirements.txt里的第三包)

1.脚本运行:找到 Run.py,填入对应参数(可自行调整抽帧次数)

alt 流程图

2.图形界面运行:python TestGuiRun.py

alt 流程图

三、运行结果说明

1.脚本结果:控制台打印

alt 流程图

2.界面结果:点击确认,等待结果弹窗

alt 流程图

四、参考

https://github.com/kkroening/ffmpeg-python/tree/master/examples

About

Based on ffmpeg and airtest, video comparison is realized. Reduce the workload of regression testing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages