moviepy icon indicating copy to clipboard operation
moviepy copied to clipboard

Audio volume issue while merging multiple audio files

Open surajkhaitan opened this issue 2 years ago • 0 comments

Actual Behavior

I am trying to merge multiple audio files, one by one. After the merging process is completed for around 100 files, I see that the output audio obtained has volume issues. The volume of the output audio is very very low at the start for around 20 mins and increases gradually as the audio duration increases. The input files are of proper volume and this behavior is not expected. The below code snippet is being used: ''' from moviepy.editor import concatenate_audioclips, AudioFileClip def concatenate_audio_moviepy(audio_clip_paths, output_path): """Concatenates several audio files into one audio file using MoviePy and save it to output_path.""" clips = [AudioFileClip(c) for c in audio_clip_paths] final_clip = concatenate_audioclips(clips) final_clip.write_audiofile(output_path) '''

Expected Behavior

The audio volume in the output should be same as input

Specifications

  • Python Version:3.11
  • MoviePy Version: 1.0.3
  • Platform Name: Windows

surajkhaitan avatar Sep 26 '23 10:09 surajkhaitan