https://github.com/magicdawn/ff-helper
getVideoDuration 获取视频时长getVideoRotation 获取视频 display_matrix rotationgetVideoInfo => width / height / duration / rotation获取视频信息虽然通过 ffprobe 也可以做到, 但是 ffprobe, ffmpeg-probe, ffprobe-normalized 等 wrapper 都不太好用. 索性自己造一个
发现 https://github.com/mutschler/mt 在用 https://gitlab.com/opennota/screengen
于是 port 到 napi-rs + Node.js 中了, 用于生成给定时间戳的截图
see github homepage
这不是一个完整的 ffmpeg binding, 而是 binding 实现的 helper, 如其名.