Skip to content

[BUG] PowerPoint: Cannot Play Media #392

Open
@jeertmans

Description

@jeertmans

TLDR: checkout #392 (comment) for a potential fix.


Description

After playing a few slides correctly, it looks like some media starts to bug / glitch / or just do not play.

One example is my EuCAP 2024 slides. Here, it starts to glitch on slide 30 (see screenshot below).

If you hide the slides before slide 30, or just start presenting on slide 30, the next slides display correctly. The bug does not seem to be caused by the use of PyAV or notes (relevant changes from since year), but rather because it seems to load all slides into memory, and it somehow takes too much space (?) at some point.

Slides with issue: https://github.com/jeertmans/jeertmans.github.io/blob/677c519d1867fa87720eee25821692465a3ba47c/assets/slides/2024-03-18-eucap-presentation.pptx

Lowered quality from full HD to HD, and this seems to have fixed the slides: https://github.com/jeertmans/jeertmans.github.io/blob/3fe208cbed7a44974a077423931cc37948f9fbe6/assets/slides/2024-03-18-eucap-presentation.pptx

This fix is not very nice because:

  1. I don't know if it works every time (e.g., on very large presentations I might need to lower the quality even more);
  2. Lowering the quality is not super nice.

Version

v5.1.3

Platform

Windows

Screenshots

image

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpptx-convertRelated to converting to PowerPoint slideswaiting externalWaiting for things that are external to Manim Slides (e.g., a feature on a dependency)windowsWindows related

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions