-
-
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
FFmpeg can't combine images & audio to a video, hangs with no callback #715
Comments
ArsenicBismuth
changed the title
FFmpeg can't convert images to a video while also combining audio
FFmpeg can't combine images & audio to a video, hangs with no callback
Apr 3, 2024
this is working for me, where audioElement is the reference to your audio file. you have to make sure you write everything to the ffmpeg memory first.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is very similar to the issue I mentioned here: #714 (which I found a workaround by using
jpg
instead ofpng
). But the behavior are similar: there's no feedback at all (no error, no log, no progress), and the command after it aren't executed (so it's stuck).As usual, I tested with simpler commands in isolation and they work perfectly: combining images into video, and combining audio with video. Combining them both are not working in FFmpeg.WASM, despite the command I run working perfectly in native FFmpeg.
The command I run is below:
The current workaround I have is to do it in two steps, generating the video first then adding the audio. This should mean there's some gap between the WASM implementation and the native one. While that's to be expected, I kinda curious why does the FFmpeg decided to just get "stuck" without any logs or error.
The text was updated successfully, but these errors were encountered: