Skip to content

Conversation

@WillyJL
Copy link
Contributor

@WillyJL WillyJL commented Sep 1, 2022

It was trying to find the current frame number even though it wasnt there, leading to an error.

Now it properly uses frames for progress when the input had video, and reverts properly to duration progress when only audio is present.

@jeromewu
Copy link
Collaborator

jeromewu commented Sep 2, 2022

Looks good to me, but maybe we can add this fix to here as well: https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/src/utils/parseProgress.js#L33

@jeromewu
Copy link
Collaborator

jeromewu commented Sep 2, 2022

Let me add it after merging this PR, thanks for the PR!

@jeromewu jeromewu merged commit f2d7b83 into ffmpegwasm:master Sep 2, 2022
@jeromewu
Copy link
Collaborator

jeromewu commented Sep 2, 2022

Just realized parseProgress is not in use anymore, will remove it instead.

jeromewu added a commit that referenced this pull request Aug 10, 2023
Fix progress parsing with audio (fix #400)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants