It's clumsier, to be sure, but if performance is your goal, the socket should be faster.
[1] https://ffmpeg.org/ffmpeg-protocols.html#unix
It's clumsier, to be sure, but if performance is your goal, the socket should be faster.