jeertmans / manim-slides

Tool for live presentations using manim
https://manim-slides.eertmans.be
MIT License
409 stars 44 forks source link

[BUG] PowerPoint: Cannot Play Media #392

Open jeertmans opened 3 months ago

jeertmans commented 3 months ago

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

jeertmans commented 3 months ago

I have reported this issue to Microsoft: https://answers.microsoft.com/en-us/msoffice/forum/all/powerpoint-too-many-media-cause-a-cannot-play/36a06d53-c564-4735-902f-53d333d7f73f.

rwydaegh commented 2 weeks ago

I encountered a similar issue when changing the device from having 16 GB of RAM to 8 GB. It didn't freeze but skips some animations and refuses to show others.