Jerky movement with stepping motor and L293D

you must have connected the wires the wrong way - I know because I did the same thing and it behaves exactly as you described

I have tried many values between 48 and 360, but it does not improve the movement, but I still would like to know

that wouldn't improve anything... that value just tells the programme how many steps are needed for each revolution (useful for some commands)