I have two videos the same size and pixel format (about 240x360) left and right that I want to stitch together.
I'm using:
ffmpeg -i left.mp4 -i right.mp4 -filter_complex "[0:v][1:v]hstack=inputs=2:shortest=1[v]; [0:a][1:a]amerge[a]" -map "[v]" -map "[a]" -ac 2 -shortest -y output.mp4
which takes about 15 seconds on a 3 core machine. I see x1.25 on the conversion line.
I know this isnt too bad, but any speed up I can make is going to help a lot as its in heavy use.
Any ideas how I can improve this?