Thanks, I can even somewhat remember that. AI gave me args like
-c:v libx264 -pix_fmt yuv420p -preset medium -crf 18 \ -c:a aac -b:a 192k \
"-c:v h264_videotoolbox -b:v 5000k" on macos, it will use hardware encoder.
"-c:v h264_videotoolbox -b:v 5000k" on macos, it will use hardware encoder.