In this video I explain how to automatically get rid of parts of a video where there is silence or no talking so as to edit video faster. sudo apt-get update -y sudo apt-get upgrade -y sudo apt-get install git ffmpeg python3-pip -y pip3 install pillow audiotsm scipy numpy git clone cd cutsilence cp cutsilence.py cutsilence.py cd python3 cutsilence.py -h python3 cutsilence.py --input_file FILE.mp4 --output_file FILE2.mp4 --sounded_speed 1 --silent_speed 999999 --frame_margin 2 --frame_rate 30 0:00 INTRO 1:10 START LINUX CONTAINER 1:34 INSTALL DEPENDENCIES AND DOWNLOAD CODE 2:01 SEE OPTIONS FOR CUTTING 2:27 EXAMPLE OF VIDEO WITH SILENCE 3:02 MOVE FILE TO LINUX CONTAINER 3:14 CODE TO AUTOMATICALLY CUT SILENCE 4:16 OUTPUT OF PROCESS 9 SECONDS TO 3 SECONDS
Источник: rutube.ru