Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#37160 - [python2-matplotlib] Animation module incompatible with ffmpeg 2.0

Attached to Project: Community Packages
Opened by Vlad Seghete (vlsd) - Wednesday, 02 October 2013, 00:33 GMT
Last edited by Balló György (City-busz) - Tuesday, 21 January 2014, 14:12 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Since upgrading to ffmpeg 2.0 animations fail to save to a file. I filed two bugs upstream:

http://github.com/matplotlib/matplotlib/issues/2482
http://github.com/matplotlib/matplotlib/issues/2483

I believe both of these have to do with changes introduced in ffmpeg 2.0, especially the first one. From the
ffmpeg changelog: "ffmpeg now fails when input options are used for output file or vice versa"

Additional info:
* matplotlib 1.3.0, ffmpeg 2.0.1


Steps to reproduce:
Run the script at http://github.com/matplotlib/matplotlib/blob/master/examples/animation/basic_example_writer.py
The movie will be garbled. Change the animation writer to 'ffmpeg_file' and rerun the script to get a failure.
This task depends upon

Closed by  Balló György (City-busz)
Tuesday, 21 January 2014, 14:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  python2-matplotlib 1.3.1-2
Comment by Felix Yan (felixonmars) - Thursday, 10 October 2013, 15:54 GMT
I assume the former should have been addressed in the new release, you may give a try to community/python2-matplotlib 1.3.1-1
Comment by Vlad Seghete (vlsd) - Thursday, 10 October 2013, 16:32 GMT
After some careful examination the former issue was due to the use of 'bbox: tight' option in the matplotlibrc file.

I submitted a pull request that fixes the 'ffmpeg_file' bug, but I don't think it got merged into trunk yet.
Comment by Balló György (City-busz) - Saturday, 18 January 2014, 18:19 GMT
The upstream bugs were fixed. vlsd, which upstream changes need to be applied to fix this problem? Could you link the commits, or attach a patch for that?
Comment by Vlad Seghete (vlsd) - Saturday, 18 January 2014, 19:16 GMT Comment by Balló György (City-busz) - Sunday, 19 January 2014, 01:08 GMT
So it's just a documentation fix? I think it should be fine that it will be available in the next release, and won't patch the package now.
Comment by Vlad Seghete (vlsd) - Sunday, 19 January 2014, 01:59 GMT
No, it's more than a documentation fix. The arguments were being passed in the wrong order to ffmpeg, which stops tolerating that after version 2.0
Comment by Balló György (City-busz) - Sunday, 19 January 2014, 04:17 GMT
Okay, please test python2-matplotlib 1.3.1-2.

Loading...