pre clean  refactor
ffmpeg as framework