CPU Throttling Issue with 16+ videos
  • cptnj91
    junior Member
    Posts: 1
    Joined: Thu Aug 10, 2023 5:28 pm

    CPU Throttling Issue with 16+ videos

    by cptnj91 » Thu Aug 10, 2023 6:12 pm

    I am using MadMapper v5.3.2 with an educational license. I am trying to map somewhere around 80 videos but MadMapper (and my PC) becomes incredibly sluggish around the 16 video mark, and is rendered unusable by 23 videos. You can see from the attached photo that every core of my CPU is completely maxed out from the project. I even turned on the "Use Hardware Acceleration if possible" button and it provided no relief to the CPU usage, though it did cause my GPU usage to climb a bit.

    My PC is running the following:
    Microsoft Windows 10 Home
    Intel i7-7700 CPU
    NVIDIA GeForce GTX 1070
    16 GB Ram


    Each of the videos has the following characteristics:
    0:36 Seconds
    MP4
    H.264
    25 FPS
    1920x1080 or 1080x1080
    Less than 35Mb file size


    I did some troubleshooting. For my testing I kept 8 unique videos displayed on the right side of the project, which held my CPU usage at about 40-47%. Here's what I discovered:

    1) It's not simply an issue of two many videos running at once. I created 40 quads from the same movie file (which brought the total videos on screen to 48) and the project continued to work without any impact to the CPU.
    2) It's not an issue with total video length. I created a 9 minute video by splicing together many of the individual videos and when I imported that and dropped it on screen (bringing the total videos on screen to 9) it had a negligible impact on CPU usage.

    It seems to me that this is an issue with MadMapper not being able to handle more than a certain amount of unique video files. What's even more odd to me is that I did a similar project in the past and was able to project around 30 videos (some videos over an hour in length) on my laptop with slower hardware than my PC.

    Any insight or suggestions would be valuable. Thank you.
    Attachments
    MM Issue 2.png
    MM Issue 2.png (97.81 KiB) Viewed 3663 times
  • mad-matt
    garageCube team
    Posts: 1578
    Joined: Mon Sep 09, 2013 5:50 pm

    Re: CPU Throttling Issue with 16+ videos

    by mad-matt » Fri Aug 11, 2023 10:36 am

    Hi!
    It seems to me that this is an issue with MadMapper not being able to handle more than a certain amount of unique video files.
    It's not MadMapper related. It's your CPU. Decompressing a single movie and showing it on 2000 surfaces is not really a problem, the GPU is very good at displaying a texture over millions of triangles.
    You should re-encode your movies to HAP codec. The limit with HAP might be your hard drive bandwidth, use a fast SSD drive with the right connection if you want to player many files. With HAP, the CPU does not much (fast unzipping of each frame), the frames are transmitted to the GPU in a compressed format.
    What's even more odd to me is that I did a similar project in the past and was able to project around 30 videos (some videos over an hour in length) on my laptop with slower hardware than my PC.
    Same movie resolution ? Same video codec ? Same bitrate ?
    Even with H264, the encoding bandwidth has influence. You can play a hundred H264 movies in 320x240 pixels movie with low bitrate, but maybe just one 8k in good quality.
    To what I know there's no regression in video playback

Who is online

Users browsing this forum: No registered users and 35 guests