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 5a5d99f commit 94f85a3Copy full SHA for 94f85a3
functions/src/events/scrapeEvents.ts
@@ -154,7 +154,9 @@ const extractAudioFromVideo = async (
154
console.log(`Spawned FFmpeg with command: ${commandLine}`)
155
})
156
.on("progress", progress => {
157
- console.log(`Processing: ${progress.percent}% done`)
+ if (progress && progress.percent && progress.percent % 10 === 0) {
158
+ console.log(`Processing: ${progress.percent}% done`)
159
+ }
160
161
.on("end", () => {
162
console.log("FFmpeg processing finished successfully")
0 commit comments