I won't go into the full detail of how we arrived here but I have a need to play two (locally stored on the eMMC) video files simultaneously in Firefox running on a Pi CM4.
Right now it's struggling for a variety of reasons (mainly because the files are full HD being squashed to fit in the page) - I'm planning on re-encoding & scaling the videos with ffmpeg
to remove as much CPU/GPU load from the Pi as possible.
With that in mind I have the following questions;
- What's the optimum format / parameters (EG bitrate) that will reduce the processing load on the Pi when playing back? We have plenty of storage and can take as long as we need to do the re-encoding.
- Are there any settings/confg to check in Raspbian / Firefox to ensure the GPU is being used to full effect?