Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Mp4's generated by movie writer do not appear work in browser #7379

Copy link
Copy link
Closed
@notmatthancock

Description

@notmatthancock
Issue body actions

The mp4 file generated from the moviewriter.py example does not appear to work in the browser. I have tested on Firefox 49.0.2 and Chromium 53.0.2785.143. My OS is Ubuntu 16.04, and my matplotlib version is 1.5.3.

Firefox complains that the movie is corrupt, while Chromium gives the message MediaEvent: PIPELINE_ERROR demuxer: no supported streams.

I have found a mailing list thread mentioning this issue, but I'm not sure how the proposed solution:

anim.save('file.mp4', extra_args=['-pix_fmt', 'yuv420p']))

fits into the moviewriter.py example, since the this example uses the saving( ... ) context manager, which does not accept the extra_args argument.

Can this be fixed from matplotlib? or is this a browser / ffmpeg issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.