-
-
Notifications
You must be signed in to change notification settings - Fork 253
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
[Bug]: Error when encoding mp4 result - av.codec.codec.UnknownCodecError: libx264 #377
Comments
I got the same error. |
I also encountered the same issue as you. After investigating the problem, I found that it was related to the version of PyAV. The recently downloaded version via "pip install pyav" has become 12.0.0. To resolve the above issue, you can execute I hope this can help you. |
You seem to have a version of ffmpeg that was compiled without libx264. Unfortunately I don't have a Windows computer to try reproducing the problem. The official python module for PyAV is called "av", and "pyav" is a fork. I suggest looking at the list of modules in your venv and removing pyav if it is installed. You can then either pip install av, or let the extension install it for you. |
I would consider this issue as resolved. If problem still exists, tag zappityzap. |
It works wonderfully. Thanks @nilnoun @zappityzap @continue-revolution. |
Is there an existing issue for this?
Have you read FAQ on README?
What happened?
Specs if necessary
I always get this error when I select mp4 as a result from the AnimateDiff submenu:
I have
imageio_ffmpeg
installed onvenv\Lib\site-packages
and I also installed the regular ffmpeg-full via chocolateySteps to reproduce the problem
What should have happened?
the mp4 file generated successfully
Commit where the problem happens
webui: cf2772fab0af5573da775e7437e6acdca424f26e
extension: 55ecff3
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
Console logs
Additional information
No response
The text was updated successfully, but these errors were encountered: