All Gentoo users remember the pain of compiling QtWebEngine ;)
I used to run Gentoo on my old computer. Installing it was quite the experience. That was where I learnt about most of how Linux works thanks to the wiki.
I heard compiling your own packages with use flags can improve performance, but honestly it was not worth it for the compile time.
When I switched to my new PC, the Nvidia GPU doesn’t work and I could not figure out why. I also don’t have the time at that moment so I installed Endeavour instead, which I’m still using.



Seems like a job for
ffmpeg. You may want to look into post-processing options ofyt-dlp.