Termux + ffmpeg
F-Droid
F-Droid is an installable catalogue of FOSS (Free and Open Source Software) applications for the Android platform. The client makes it easy to browse, install, and keep track of updates on your device.
Matrix space | forum | IRC
Haha best answer unironically
I haven't seen any on f-droid. Not even to just to trim it.
Video Transcoder (Video transcoding between common formats) trims https://f-droid.org/packages/protect.videoeditor/
Not entirely FOSS, but the Google Play variant of Simple Gallery has a built-in image editor with some basic video tools. It's using a proprietary library so this version isn't on F-Droid.
I believe this is the only one on fdroid:
Video Transcoder (Video transcoding between common formats) https://f-droid.org/packages/protect.videoeditor/
its not been updated in 4 years, and its clunky, but it does work. If you absolutely have to go opensource, this is ypur best option.
Otherwise, simple gallery (pro version) has a video editor, but its propriety, so only on the play store version, not fdroid
termux proot-distro , shotcut