BananaSplit is an application built in .NET Core WinForms that can be used to split video files based on ffmpeg's black frame detection feature.
To install BananaSplit, simply extract the zip file to a location of your choosing. Those more interested in the code can clone the directory and run the application from Visual Studio.
- The application in its current state is not very thread-safe. Some processes are spun off into separate threads so the application does not become unresponsive, but in general you should avoid adding files or encoding files if the application is already scanning for black frames or currently encoding a file.
- There is no special naming done. Each part will be appended with something like
-2
at the end of the filename. I use Bulk Rename Utility to name everything when the splitting is complete. - Windows only. Maybe this will change in the future, but I wanted to get this up and running quickly.
- The default ffmpeg arguments is set to reencode using
-crf 18
. This has a fairly unnoticeable effect on overall quality. - Every file gets repackaged to MKV
- Reference frames are generated when the file is added to the queue and are then loaded into RAM. This is fairly dirty and may end up consuming more RAM than desired.
- Black frame duration, threshold, and delete original settings are currently non-functioning
3.1.0
- Added support for drag and drop files
- Added support to delete files with delete key
- Fixed possible crash
- Fixed cursor not changing to the right icon
(Thanks to ricardosabino for his pull request!)
- Another complete rewrite. We've become exceedingly efficient at it.
- Drop support of Mac/Linux
- ffmpeg arguments are now customizable from the settings menu
- It's now easier to pick where the splits/transitions exist
- The offset for generating the reference frame (thumbnail) is now customizable
- Frame detection is more granular and more reliable
- Instead of reencoding files, you can now choose to generate chapters in the resulting Matroska file (useful for later reencoding or playback with some players)
- No longer built on Electron, so performance should be somewhat better
- Complete rewrite of the backend, now built in Electron!
- Support of Windows, Mac, Linux
- Made more sections of the app asynchronous
- Fixed some issues with the file browser
- Added Windows compatibility
- Fixed a few UX/interface bugs
- Allowed the queue to stay opened but hidden when using the app
- Removed the need to write thumbnails to disk
- Initial Release!
This software is provided as non-commercial free software with source available. Don't be an ass.