실제로 오디오나 비디오 영상을 추출하게 해주는 명령어
예시
Extract audio in wav format
os.system("ffmpeg -n -loglevel panic -i {} -ac 1 -ar 32000 -ss {} -t 00:00:{} {} "\
.format(video_path,
str(datetime.timedelta(seconds=start_time)), duration,
audio_path))
-y option:
ffmpeg overwrite output file if exists
-n option:
Alternatively there is also the -n option to automatically never overwrite files