python – How to make ffmpeg trimming video fast
command_2 = ['ffmpeg','-y','-i', input_video_path, "-ss", "00:00:03.567", "-to", "00:00:14.678","-async", "1" ,"-strict", "-2","with_sync.webm"]
Im currently using the above command to extract a part from a video.
but this takes so much time to extract the clip
Previousaly I was using the below command which extracts the part from video so fast but its not precise and also video stutters some time .
command_1 = ["ffmpeg", "-i", input_video_path , "-ss", "00:00:03.567", "-to", "00:00:14.678", "-c:v", "copy", "-c:a", "copy", "without_sync.webm"]
Read more here: Source link
