[Python] Matplotlib saved animation has compression artifacts after ffmpeg update

Discussão em 'Python' iniciado por Stack, Fevereiro 21, 2025.

  1. Stack

    Stack Membro Participativo

    I am using matplotlib.animation.FuncAnimation.save to produce .mp4 animation files. I have recently updated the ffmpeg package, but now it causes ugly compression artifacts to appear in the generated videos. I have solved my issue by rolling back to the old version of the ffmpeg package, but maybe someone can suggest a proper solution or advise me where to report this issue.

    ffmpeg 6.1.1 produces videos with the artifacts. ffmpeg 4.2.2 produces videos without the artifacts.

    I am using matplotlib 3.10.0, numpy 2.1.3, python 3.10.

    Continue reading...

Compartilhe esta Página