wanwu / cheetah-capture Goto Github PK
View Code? Open in Web Editor NEWcheetah-capture是基于ffmpeg的wasm截取视频帧工具
cheetah-capture是基于ffmpeg的wasm截取视频帧工具
请问一下作者,是什么原因导致视频后面几秒的帧会丢失,是因为按照张数分割导致最后几秒未达到分割的偏移量导致不再抽帧的缘故吗?试了好3-4分钟不等的视频,都是这样,视频比较短的话,张数比较多的情况下就比较正常
如果我按张数为2去生成,第一张是视频首帧,第二张是视频最后几秒的那帧。
运行环境:win11
emsdk安装正常,编译wasm也正常。
感谢大佬,在使用中发现以下几个个问题,还请解疑答惑,感觉
1、info传1的话会报错 [Log] RuntimeError: Division by zero (evaluating '(_captureByCount = Module["_captureByCount"] = Module["asm"]["captureByCount"]).apply(null, arguments)')
2、info传2的话,截取收尾各一张
3、上传23s视频截取10张,按照2s间隔截取的话发现结果中存在近似图(可能时间间隔问题)
4、onChange发现触发超过十次,同一毫秒打印多次
./src/capture.worker.ts 21.3 KiB [built] [code generated]
webpack 5.75.0 compiled successfully in 629 ms
./script/build_wasm.sh: line 16: emcc: command not found
===== finish build wasm =====
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.