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