I just downloaded the source code of FFmpeg (e.g. FFmpeg-7.1.1.xz) on both Mojave 10.14.6 and Sequoia v15.4. After expanding the source folder in the Downloads folder, I did the following in the Terminal:
FFmpeg requires the GNU C compilation suite and I wasn't going there…
Mojave 10.14.6 (Parallels Desktop Pro 20.2.2 guest)
Using Command Line Tools for Xcode 11.3.1/Clang v11.0
cd ~/Downloads/ffmpeg-7.1.1
./configure --disable-x86asm
# a log of output and ignored warnings
make
make install
make clean
Sequoia 15.4 (M4 Mac Mini Pro)
Using Command Line Tools for Xcode 16.3/Clang 17.0
cd ~/Downloads/ffmpeg-7.1.1
./configure
make
make install
make clean
In either case, the installation places several libraries and executables into the /usr/local tree. There is a make uninstall in that source folder if you decide later to remove the FFmpeg installation.
I happen to have a 4h1m 1941 The 47 Ronin.mp4 that is about 800+ MB. Decided to use it for a split test set at 10 minutes (FFmpeg also allows start and end time stamps) and before I started that, I created a Foo_Split folder in my ~/Movies folder.
Again, in the Terminal for either operating system:
ffmpeg -i "The 47 Ronin".mp4 -threads 4 -vcodec copy -f segment -segment_time 10:00 -reset_timestamps 1 ./Foo_Split/out_%03d.mp4
After a bunch of FFmpeg segment output lines, you can see the result in the output folder with audio and visual playback in QuickTime.