-
-
Notifications
You must be signed in to change notification settings - Fork 856
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.exec hangs forever without error when I try to resize a video, but only when using the multithreaded version, while using a Chromium based browser or Safari. No issues on Firefox. #772
Comments
Followup: for some crazy unexplained reason, after MUCH trial and error, if I add the params |
Same issue |
0.12.5~0.12.10 same issue, the old version 0.11.5 work |
Hahahha the solution of @Boux really worked, I literally just added "-c:a", "copy" to the parameters and it started to process the input. Before that I was just getting to the logging of the streams info like that: (Using @ffmpeg/[email protected]/dist/umd) EDIT: Still have the issue when trying to do things like EDIT2: While trying to convert an mp4 to avi without |
Same issue. The solution by @Boux worked. Here are the details: This is my original code that recently stopped working when I tried to compress an mp4 video: I had to remove
I guess this bug somehow related to audio encoding. |
I was struggling with the filter as well and on removing the filter everything else was working but with the filter |
would anyone know if it is possible to use
|
Describe the bug
If I try to resize a video, either with the
-s
param or something like-vf scale=-2:480
, the execution will simply hang forever and never give an error, but only when using the core-mt version (umd). If I try with the single-threaded version (core), everything works fineTo Reproduce
/apps/vanilla-app/public/transcode-mt.html
file in this projectawait ffmpeg.exec(['-i', name, 'output.mp4']);
toawait ffmpeg.exec(['-i', name, '-filter:v', 'scale=-2:480', 'output.mp4']);
Expected behavior
ffmpeg.exec should not hang and successfully encode the video, or at the very least give an error.
Logs
Here are the logs (directly from
ffmpeg.on("log" ...)
Desktop
Additional context
If there are issues with reproducing the bug, I'm not against the idea of doing a video call and sharing my screen
The text was updated successfully, but these errors were encountered: