added clip management

start of, also some ffmpeg stuff