We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd01b8e commit 7bf17eaCopy full SHA for 7bf17ea
src/createFFmpeg.js
@@ -58,7 +58,7 @@ module.exports = (_options = {}) => {
58
readFrames = true;
59
}
60
} else if (readFrames && message.startsWith(' Stream')) {
61
- const match = message.match(/(\d+) fps/);
+ const match = message.match(/([\d\.]+) fps/);
62
if (match) {
63
const fps = parseFloat(match[1]);
64
frames = duration * fps;
0 commit comments