chompionsawelo commited on
Commit
7b2cb15
·
1 Parent(s): 08d75db

minor fixes

Browse files
Files changed (1) hide show
  1. video_tool.py +1 -2
video_tool.py CHANGED
@@ -5,8 +5,7 @@ def convert_video_to_audio(input_file, output_file, start_time, end_time):
5
  (
6
  ffmpeg
7
  .input(input_file, ss=start_time, to=end_time)
8
- .audio
9
- .output(output_file, format="wav")
10
  .run(overwrite_output=True)
11
  )
12
 
 
5
  (
6
  ffmpeg
7
  .input(input_file, ss=start_time, to=end_time)
8
+ .output(output_file, format="wav", acodec='pcm_s16le')
 
9
  .run(overwrite_output=True)
10
  )
11