file 'file1.mp4'
file 'file2.mp4'
file 'file3.mp4'
Then call ffmpeg like this: ffmpeg -f concat -i files.txt -c copy output.mp4
And I guess you could make an LLM write a {G,T}UI for this if you really want.It's surprisingly handy to have something like this hanging around; I just use mine to fix up screen caps.
Commenting mostly because when I did this I thought I was doing something very silly, and I'm glad I'm not completely crazy.
Just bundle it
How do I know? I built one (https://github.com/rclone-ui/rclone-ui)
What I've found to be trickier is dividing a video into multiple clips, where one clip can start at the end of another, but not necessarily.
I just think there are other closely related use cases where a separate program can add more value, especially in the terminal. I wouldn't suggest most people should use ffmpeg instead of a gui, those are too dissimilar. Another example is cutting out a part of a video, with ffmpeg you need to make two temporary videos and then concatenate them, that process would greatly benefit from a better ux.
It can be done in a single command, no temp files needed.
ariym•4h ago
mikkupikku•2h ago
tptacek•2h ago
(There's Kitty Graphics too, but I couldn't figure out how to make terminal UI layout work with it.)
chadrs•2h ago
It looks like this app is shelling out to ffmpeg to get the bitmap of a frame and then shelling to something called chafa to covert to nice terminal-friendly video.
https://github.com/hpjansson/chafa/