Before using it,mpv and ffmpeg should be installed.support mac os x and linux,if you want it supports windows,you can write CMD instead of Bash Shell.
it can cut video and concat automatically
put c_concat.sh , cutter.lua into ~/.config/mpv/scripts/,then use shell:mpv path/file open the movie
press c will confirm a left trim,then press c you will confirm a right trim,left and right trim ensure one segment,you can continue do this,at last press key o,the video will be cut and concatenated in the video's dir automatically.
this script uses the FFmpeg to finish the job,and is lossless cutting,the cut video will not lose quality.
also you can bind your own hot key to the event. I have defined some event you can bind it in the ~/.config/mpv/input.conf,for example:Ctrl+s script-binding set_fromStart here are them:
In fact,I should also add some more function like GUI editor?
If you don't want the player automatically closes when video ends causing the clip to fail,add "keep-open=yes" to ~/.config/mpv/mpv.conf