Skip to content

Commit

Permalink
Fix cut-video options
Browse files Browse the repository at this point in the history
  • Loading branch information
dunossauro committed Aug 23, 2023
1 parent 5679e24 commit 14c2925
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion vmh/video.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,13 @@ def cut_video(
paudio = AudioFileClip(str(audio_file))
video.audio = paudio
else:
silences = detect_silences(input_file, force=force)
silences = detect_silences(
input_file,
force=force,
threshold=threshold,
silence_time=silence_time,
distance=distance,
)
video = VideoFileClip(input_file)

logger.info(f'Creating subclips on {input_file}')
Expand Down

0 comments on commit 14c2925

Please sign in to comment.