-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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_writer.py #50
Comments
It would mean that you don't have the codec libx264 which is the default codec in moviepy (because most distributions have it). You can install it from the repos on Ubuntu/Debian. You can also try another codec that you might already have :
Or change the format (and the codec):
See the doc of PS: it's strange that in the code you give one line looks like
while it should be
|
The code was different because I tried to set a specific codec, in order to rule out other potential issues. However, I think you're right about the codec not being installed. I recently rebuilt ffmpeg and it looks like I forgot to configure the build to include libx264 support. I'm currently rebuilding ffmpeg and fingers crossed it will work this time! Edit: Now it works! |
I didn't see the edit. Very cool, I am closing the issue. |
Hi when I do something like:
I get a broken pipe error which originates from where ffmpeg_writer.py create the ffmpeg subprocess around line 78:
If you remove the line
'-vcodec', 'libx264'
parameter it seems to work. I don't know why this causes an error, or how to resolve it so that a codec can be specified. Maybe stderr could provide some useful information here.The text was updated successfully, but these errors were encountered: