-
-
Notifications
You must be signed in to change notification settings - Fork 752
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Progress value does not update correctly #112
Comments
same here, i get strange values, over 100% or -415449691.446% |
Can you provide minimal code base and video file to reproduce this issue? |
Same Issue, I am also getting progress at end of Conversion as 1, no floating values. ffmpeg.wasm/src/utils/parseProgress.js Line 19 in 42506e6
is not triggered for some strange reasons. |
I think this scenario is not handled ,i tried converting mp4 video to mp3 with following config on website, {
args: ['-i', 'vid.mp4','audio.mp3'],
inFilename: 'vid.mp4',
outFilename: 'audio.mp3',
mediaType: 'audio/mp3',
} |
Can confirm. Spent an hour trying to figure out what I was doing wrong. I was doing mp4 to mp3 as well. |
Hum, ok i think i get it! @jeromewu, I took a look at https://github.com/ffmpegwasm/ffmpeg.wasm/blob/master/src/utils/parseProgress.js Progress is working well with avi to mp4 encoding. Progress is not working with lame encoder : Pretty sure more case handling are needed here, in this specific part of progress code : |
Describe the bug
The progress is updated only at the beginning of the convert and at the end so the ratio is 0 or 1 and no float.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It should be normal to update the progress of the conversion so that you can do something with the ratio.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: