Does changing the frame rate change the speed?
Not with the fps filter. It keeps every timestamp and adds or removes frames to fill the new rate, so 10 s stays 10 s.
setpts, -itsscale and -r before -i do the opposite. They keep every frame and change when each one plays. The last one catches people out, because it changes the video and leaves the audio alone:
ffmpeg -r 30 -i in.mp4 -c:a copy out.mp4240 frames, video 8.0 s, audio still 10.0 s. Picture and sound drift apart from the first frame.
If you retime on purpose, retime the audio with it, as the second answer above does with atempo.






