how to prevent ffmpeg from skipping?

Trying to stream to an RTMP server since days, but no combination works. Chatgpt is very confused about ffmpeg, maybe due to lack of documentation. It seems like brute forcing your way into it.

I’m just trying to loop an image and a filelist with mp3’s and nothing has worked so far.
Now the audio is skipping a lot.

ffmpeg 
  -i "x.mp3" 
  -loop 1 
  -framerate 30 
  -i "x.jpg" 
  -c:v libx264 
  -preset fast 
  -vsync 1 
  -shortest 
  -c:a aac 
  -b:a 128k 
  -ac 2 
  -ar 44100 
  -maxrate 2500k 
  -bufsize 5000k 
  -map 0:a 
  -map 1:v 
  -g 60 
  -crf 23