Closed lgh06 closed 2 years ago
see: https://github.com/TrevorSundberg/gifygram/tree/master/frontend/src/editor
https://github.com/TrevorSundberg/gifygram/blob/3fa36675649db14321f74433e0a32d2ba3accb93/frontend/src/editor/editor.tsx#L145 以及Editor 、 Manager、Render、Encoder drawFrame 以及Image, 是在画gif动图的每一帧。 简短的视频,加少量元素简单的CSS transform,可以canvas转media转mp4,复杂的还是得ffmpeg+puppeteer
see https://github.com/muaz-khan/RecordRTC/ https://github.com/TrevorSundberg/h264-mp4-encoder https://github.com/antimatter15/whammy
https://github.com/antimatter15/whammy/issues/49
https://github.com/chrahunt/TagProReplays
https://github.com/chrahunt/TagProReplays/tree/master/src/js/modules https://github.com/chrahunt/TagProReplays/pull/169
https://github.com/bgrins/videoconverter.js
直接在浏览器中转换复杂的CSS3动画、Web Animations,不适合在浏览器内转换。 关闭。
see: https://github.com/TrevorSundberg/gifygram/tree/master/frontend/src/editor
see https://github.com/muaz-khan/RecordRTC/
https://github.com/TrevorSundberg/h264-mp4-encoder
https://github.com/antimatter15/whammy
https://github.com/chrahunt/TagProReplays
https://github.com/bgrins/videoconverter.js