4 ms·
It's not ffmpeg that matters here but libx264, which does support multithreading. I ran a quick test on my PC (workstation class Xeon with 6c/12t) and found tha
by Veratyr 9y ago
It's not ffmpeg that matters here but libx264, which does support multithreading. I ran a quick test on my PC (workstation class Xeon with 6c/12t) and found that with 1/2/4/8/12t it took (wall time) 28.5/14.7/9.7/7.2/6 seconds to encode 10s of video at 1080p. So it is able to take advantage of multiple cores but there are diminishing returns.
For Plex I'd really focus on using hardware encoders rather more than anything. NVENC and QuickSync are both widely available and able to do decent H.264/HEVC encodes far faster than any CPU and on a home network you're not really bandwidth constrained so the degree of compression doesn't matter too much. On a mobile network I'd go for Plex's offline optimization.