I use a batch script in the shell:sendto folder to do video compression, the script currently looks like this:
for %%a in (%*) do ( ffmpeg -i %%a -c:v libx265 -c:a copy "%%~na_x265.mp4" ) pause
However, I have noticed that FFmpeg cannot fully utilize all the cores on my machine. I am able to run perhaps 3-4 video compressions in parallel while maintaining the same FPS as compared to running a single video compression
Suppose I want to convert 100 videos, how can I modify this script to run say three FFmpeg instances on the first three videos in parallel, and to start a new instance each time one completes?