Where are you receiving this error? All of the videos I use are using the H.264 video codec along with AAC Audio codec. If you're getting this error when transcoding the video, what version of ffmpeg do you have? I have a few different versions that are running on various machines that have done the transcoding.
That's going to greatly depend on the encoding quality. Check out Handbrake to see some of the settings and determine what is acceptable encoding quality. You can also look at the command running in the terminal (with top or htop) to get the ffmpeg settings used.
I don't think that I've tried using the M1 directly to do the encoding. I've always tested within a docker container since that's where I do most of my development.
I'm adding the dark mode back in. It was originally there a few years ago, but a lot of things broke when I upgraded from Bootstrap 4 to 5. It also didn't allow the user to select "always light mode" which is a gap that I intend to fix. It will take a bit of time to fix the nuances of the dark theme, but should have it done at some point. For those who prefer dark mode, this would be enabled by default if their OS is set to Auto or Dark.
☒ This dark mode feature is live. You will need to actively enable it under your profile settings. I did this as to not affect existing functionality of the site as some may prefer to have light mode enabled regardless of the OS setting. You can access the profile setting under https://www.driftingruby.com/users/edit
Not all places may be complete, but I did a quick look through. If any areas are difficult to read or any suggestion of color theming, I'm willing to make some adjustments.