manim-slides icon indicating copy to clipboard operation
manim-slides copied to clipboard

[BUG] Stuttering between slides when presenting

Open VGA-00001 opened this issue 6 months ago • 5 comments

Terms

Describe the issue

The videos itself renders fine, but when I present it stutters at the first second or two of the animation, even at different render resolutions, I attach a video as evidence, I'm aware that it also shows that I have a lot of things open but it also happens even if the only thing open is Visual Studio Code

Command

manim-slides [The name of the scene]

Issue Type

Visual bug when presenting (manim-slides present)

Python version

Python 3.11.10

Python environment

Manim Slides version: 5.5.1
Python executable: C:\Users\VGA_1\Documents\Python\MaNIM\.conda\python.exe
Manim bindings:
        manim (version: 0.19.0)
        manimgl not found
Qt API: pyqt6 (version: 6.9.0)

What is your platform?

Windows

Other platform

No response

Manim Slides Python code


Relevant log output

qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1 LGPL version 2.1 or later
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/4cd017aa6a11a1dcd3c87966a60916ee3e2a327be6b5a084c40eeb764098db8e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 272 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 263 kb/s, Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/8026cd9e03f85d909518c32827f2f1aef026e1434607afa6195d48186b728d9e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 313 kb/s
60 fps, 60 tbr, 15360 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 304 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
QWindowsWindow::setGeometry: Unable to set geometry 1433x705+1920+30 (frame: 1449x744+1912-1) on QWidgetWindow/"InfoClassWindow" on "LG FHD". Resulting geometry: 1435x713+1919+23 (frame: 1451x752+1911-8) margins: 8, 31, 8, 8 minimum size: 1146x564 MINMAXINFO(maxSize=POINT(x=0, y=0), maxpos=POINT(x=0, y=0), maxtrack=POINT(x=0, y=0), mintrack=POINT(x=1162, y=603)))     
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/bc279375d8829f788a26dcfe22baecd0bcc51c4008e896635adb3fb03f5d56bb.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 576 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 567 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/8026cd9e03f85d909518c32827f2f1aef026e1434607afa6195d48186b728d9e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 313 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 304 kb/s, 60 fps, 60 tbr, 15360 tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/bc279375d8829f788a26dcfe22baecd0bcc51c4008e896635adb3fb03f5d56bb.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 576 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 567 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/176f4f079b624da4610d7a36072c4727288695a2e56961580cb2f8947dce1545.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 332 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 323 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/d4851d7c2fdcfb4ed51c88df2b7910b92fbd69be63e65a4ba20f6ba18585baa9.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 560 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 552 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/176f4f079b624da4610d7a36072c4727288695a2e56961580cb2f8947dce1545.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 332 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 323 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5227e470f297ab79200bea9aedeb796715995dbd9923bffcfae0b7590731f3e0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 291 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 283 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/d4851d7c2fdcfb4ed51c88df2b7910b92fbd69be63e65a4ba20f6ba18585baa9.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 560 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 552 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/b77b1c8751c2a1700d1792ec7ccd6f4cd317bf7323fa9d8102c37b35ac65524c.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 379 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 370 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5227e470f297ab79200bea9aedeb796715995dbd9923bffcfae0b7590731f3e0.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 291 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 283 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/0dab34d2fd3f93947057474a22db58c681f3b645149b904cfa16f9ee45e10cc1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 378 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 369 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/b77b1c8751c2a1700d1792ec7ccd6f4cd317bf7323fa9d8102c37b35ac65524c.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 379 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 370 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/8db8f66562c94b5a8bc86ce47e2089f2324555420cb07244600ed7faf95fa448.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 384 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 376 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/0dab34d2fd3f93947057474a22db58c681f3b645149b904cfa16f9ee45e10cc1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 378 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 369 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/05e40268bcd87740e69e94b05c195f7f553e1565aecc901e64847192f426304f.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 513 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 504 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/8db8f66562c94b5a8bc86ce47e2089f2324555420cb07244600ed7faf95fa448.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 384 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 376 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/61f4cfeaa0496c0a33f6e23e56ce0c85176e9c46091b086abafab505f199f25e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 420 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 411 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/05e40268bcd87740e69e94b05c195f7f553e1565aecc901e64847192f426304f.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 513 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 504 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/61f4cfeaa0496c0a33f6e23e56ce0c85176e9c46091b086abafab505f199f25e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 420 kb/s
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5772afbed96480e39d5ef2b0b30e609b5900015eb5b7d5d0c7479ec208249cfe.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 485 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 411 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 478 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/fa94b33f767515654e18a2432a25465312e46c7b00a5b8cd2c973610dc4e6a24.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 517 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 510 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5772afbed96480e39d5ef2b0b30e609b5900015eb5b7d5d0c7479ec208249cfe.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:04.00, start: 0.000000, bitrate: 485 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 478 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/4c21fb4eba12a4ed6864f0e8384037fbd9b541e85e20051ce250784b60c6a1dd.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 572 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 563 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/fa94b33f767515654e18a2432a25465312e46c7b00a5b8cd2c973610dc4e6a24.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 517 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 510 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5c9be9d4d1ea0c43292c9d5c7839a4f7876d47886a2fdb0d1959fe0df84f34e1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 497 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 488 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/4c21fb4eba12a4ed6864f0e8384037fbd9b541e85e20051ce250784b60c6a1dd.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 572 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 563 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/4c21fb4eba12a4ed6864f0e8384037fbd9b541e85e20051ce250784b60c6a1dd.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 572 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 563 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/fa94b33f767515654e18a2432a25465312e46c7b00a5b8cd2c973610dc4e6a24.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 517 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 510 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5c9be9d4d1ea0c43292c9d5c7839a4f7876d47886a2fdb0d1959fe0df84f34e1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 497 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 488 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/4c21fb4eba12a4ed6864f0e8384037fbd9b541e85e20051ce250784b60c6a1dd.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 572 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 563 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/2920a1091fa7b51a8bef644861a8cf60d273cea118782ac1c8cf6bcd13ed93a3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 470 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 462 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/5c9be9d4d1ea0c43292c9d5c7839a4f7876d47886a2fdb0d1959fe0df84f34e1.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 497 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 488 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/d15c6127b7d907d414bc2c974edb926bb2a2c01a40c5e2c2c389bb51eea3d2bc.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 539 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 530 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/2920a1091fa7b51a8bef644861a8cf60d273cea118782ac1c8cf6bcd13ed93a3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:03.00, start: 0.000000, bitrate: 470 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 462 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/729fc6d13b626841c6a520a0a3b74c1a26d1927a77578c34e9aac2822ac693af.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 568 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 560 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/d15c6127b7d907d414bc2c974edb926bb2a2c01a40c5e2c2c389bb51eea3d2bc.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 539 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 530 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/77e96bc2e262a4c19437f9f613e0a63d8a59aae9011a1941ddbac33a57ca1026.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 213 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 204 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/QuadraticEquation/729fc6d13b626841c6a520a0a3b74c1a26d1927a77578c34e9aac2822ac693af.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 568 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 2560x1440, 560 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]

Screenshots

No response

Additional information

No response

Recommended fix or suggestions

No response

VGA-00001 avatar May 27 '25 20:05 VGA-00001

Maybe a couple things worth trying:

  • Reducing the resolution or frame rate a bit (just as a test) to see if it improves playback during the presentation.
  • Splitting the video into smaller segments and loading them on different slides, if that fits your use case.
  • Making sure your system has hardware acceleration enabled — not sure if it helps here, but might be worth checking.
  • Using a slightly longer pause before the video starts playing, to give it a second to buffer?

Not sure if any of that helps, but curious if anyone else has seen this too!

Santhosh-Sathyamurthy avatar Jun 01 '25 09:06 Santhosh-Sathyamurthy

Hi @VGA-00001, thanks for reporting your bug! So I tried to reproduce your issue, but it failed:

(manim-slides) ➜  manim-slides git:(main) ✗ uv run manim-slides checkhealth   

Manim Slides version: 5.5.1
Python executable: /export/home/eertmans/repositories/manim-slides/.venv/bin/python3
Manim bindings:
        manim (version: 0.19.0)
/export/home/eertmans/repositories/manim-slides/.venv/lib/python3.11/site-packages/manimlib/__init__.py:1: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
[06/02/2025 02:07:12 PM] INFO     No OpenGL_accelerate module loaded: No       acceleratesupport.py:24
                                  module named 'OpenGL_accelerate'                                    
        manimgl (version: 1.7.2)
Qt API: pyqt6 (version: 6.9.0)

The terminal output looks similar:

(manim-slides) ➜  manim-slides git:(main) ✗ uv run manim-slides ConvertExample                  
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1 LGPL version 2.1 or later
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/ConvertExample/71585bb7330f10a3d4d8240e6d8a4f22b5ffaf05a344c56ccd1d1a6c2fb28e8a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:01.10, start: 0.000000, bitrate: 455 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 444 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/ConvertExample/587f6de56ab6af84c888bc54a60f2db5d56459fe2e1c293d9a067c3b8fd4dd79.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:01.10, start: 0.000000, bitrate: 2658 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 2647 kb/s, 60 fps, 60 tbr, 90k tbn (default)
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]

but the videos play nicely.

I am on Ubuntu, so this may explain the difference, but could you provide the code and the commands that were used to generate those animations?

jeertmans avatar Jun 02 '25 12:06 jeertmans

Hey @VGA-00001, just wanted to share a small thought that might help...

I noticed in the terminal output @jeertmans posted that they’re using manimgl 1.7.2 on Ubuntu, and things seem to be working smoothly on their end — including video playback with FFmpeg and Qt multimedia.

It made me wonder if the issue could possibly be related to manimgl or how the multimedia setup behaves differently across operating systems or versions. Maybe something like PulseAudio, GStreamer, or even the rendering backend could be affecting it?

If you happen to know your manimgl version, or feel like trying a different backend just to test, it might be worth a shot.

Also, if you're able to share your OS details along with the info @jeertmans mentioned, that could help get a clearer picture. Hope that’s useful!

Santhosh-Sathyamurthy avatar Jun 02 '25 13:06 Santhosh-Sathyamurthy

Hi @Santhosh-Sathyamurthy, ManimGL is indeed installed, but it is not used in the process at all, so I don't think the difference comes from this package being installed or not.

Qt should install its own FFmpeg bindings, so it should be independent of any locally installed FFmpeg version, but maybe I am wrong.

jeertmans avatar Jun 02 '25 15:06 jeertmans

Hey @VGA-00001 and @jeertmans, I tried to reproduce the stutter issue on Windows using @VGA-00001’s Python setup with python 3.11.9. My environment was:

(manim-py311) C:\Users\Santhosh\Downloads>uv run manim-slides checkhealth
Manim Slides version: 5.5.1
Python executable: C:\Users\Santhosh\Downloads\manim-py311\Scripts\python.exe
Manim bindings:
        manim (version: 0.19.0)
        manimgl not found
Qt API: pyqt6 (version: 6.9.0)

I ran this simple test script:

from manim_slides import Slide
from manim import *

class BuggySlide(Slide):
    def construct(self):
        for i in range(5):
            text = Text(f"Slide {i + 1}")
            self.play(Write(text))
            self.next_slide()
            self.play(FadeOut(text))

The output rendered without any visible stutter. The log showed smooth playback and proper video segment generation:

(manim-py311) C:\Users\Santhosh\Downloads>uv run manim-slides present
1: BuggySlide
2: TestSlide

Choose number corresponding to desired scene/arguments.
(Use comma separated list for multiple entries)
Choice(s): 1
qt.multimedia.ffmpeg: Using Qt multimedia with FFmpeg version 7.1 LGPL version 2.1 or later
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/4a1c391e3ad180aca8db51ab1ba94dc0e5ae6cf3b42e3e5cb898010a3a86bc18.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:01.00, start: 0.000000, bitrate: 285 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 272 kb/s, 60 fps, 60 tbr, 15360 tbn (default)   
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/a9ab831825f8f109cffac2fa31394216428b91adf81c285bf5f177029e68a41e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 252 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 243 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/352097e78276e4916545a1efe4d7559f0de7d620ac131494900aa86ed1a35c6e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 254 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 245 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/a9ab831825f8f109cffac2fa31394216428b91adf81c285bf5f177029e68a41e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 252 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 243 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/bc416564a8035bc7c38a31c0411b795864d23b973f8e8ca5cd748357a81427bf.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 251 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 241 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/352097e78276e4916545a1efe4d7559f0de7d620ac131494900aa86ed1a35c6e.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 254 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 245 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/05bd06e79d78685d70bed0ef4cc73dc839e9fbf6fa510afd372d4676d58acc4a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 252 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 243 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/bc416564a8035bc7c38a31c0411b795864d23b973f8e8ca5cd748357a81427bf.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 251 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 241 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/26acece8ce962e51e231458411da99f663c17676532b24d0508db9f0da7ac7a3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:01.00, start: 0.000000, bitrate: 220 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 207 kb/s, 60 fps, 60 tbr, 15360 tbn (default)   
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/05bd06e79d78685d70bed0ef4cc73dc839e9fbf6fa510afd372d4676d58acc4a.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:02.00, start: 0.000000, bitrate: 252 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 243 kb/s, 60 fps, 60 tbr, 90k tbn (default)     
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'slides/files/BuggySlide/26acece8ce962e51e231458411da99f663c17676532b24d0508db9f0da7ac7a3.mp4':
  Metadata:
    major_brand     : isom
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    encoder         : Lavf61.1.100
  Duration: 00:00:01.00, start: 0.000000, bitrate: 220 kb/s
  Stream #0:0[0x1](und): Video: h264 (High) (avc1 / 0x31637661), yuv420p(progressive), 1920x1080, 207 kb/s, 60 fps, 60 tbr, 15360 tbn (default)   
      Metadata:
        handler_name    : VideoHandler
        vendor_id       : [0][0][0][0]

the output was perfectly fine with default configurations of manim-slides, The recording @VGA-00001 shared showed the stutter happening during the transitions. Since I couldn’t reproduce it on my side, I have a few questions to help troubleshoot:

  • What GPU and driver versions are you using? Could hardware acceleration or drivers affect playback smoothness during transitions?
  • Are you running any background processes that might be impacting performance at those moments?
  • Does the stutter happen consistently with this minimal example, or only with your full presentation?
  • Could you share any additional logs or system stats during the transitions?

and if the exact commands be shared that would be really helpful...

btw thanks @jeertmans for clarifying regarding ManimGL.

Santhosh-Sathyamurthy avatar Jun 03 '25 03:06 Santhosh-Sathyamurthy