-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Saving animation with mencoder fails if bitrate is specified #4003
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
Comments
this! |
neat little trick with starmap. Never used it before. Yeah, please do On Thu, Jan 15, 2015 at 10:55 AM, Marat Mavlyutov notifications@github.com
|
Please send a PR. Did memcoder change their CLI interface? Did our memconder writer just never work? attn @dopplershift @WeatherGod |
The default bitrate is -1, which just means to let the encoder On Thu, Jan 15, 2015 at 11:15 AM, Thomas A Caswell <notifications@github.com
|
Sorry, my last comment comes across as way more hostile than I intended. My worry is that memconder has changed their CLI and by fixing it here, we well break it for users with older version of memcoder. There are some animation smoke tests and the memcoder versions are marked as knownfail (https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_animation.py#L37) so that should probably be addressed. |
I did look a bit throught the mencoder doc and found no trace of another cmd format. Do you guys have a CI environment for one to find the latest successful launch of this test? |
The smoke test running on travis were added in #2679 as far as I know the answer to the last time it passed in a CI environment is 'never' . |
This should help catch more problems in commandline argument handling, like matplotlib#4003.
Closed as #4004 is merged. |
Here is a basic test script:
It crashes as follows:
Verbose reveals that it generates following command:
And MEncoder fails with:
And all the docs about MEncoder specify that mencoder's lavcopts should be given joined via
:
, as in http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-enc-libavcodec.html:Looks like the problem in with this bit of code (animation.py's
MencoderBase
):Changing this to following fixes the failure:
Could anyone of maintainers plz look into the issue and say if this is a proper fix? I would be glad to send a PR.
The text was updated successfully, but these errors were encountered: