Page 1 of 1

How to differentiate a music and voice in a video file using FFMPEG?

Posted: Mon Feb 11, 2019 4:11 pm
by ajeethrs
I have a movie.mp4 file, I extracted the audio from the video file using FFMPEG (ffmpeg -i video.mp4 -c:a pcm_s16le audio.wav).

Now from the audio file I can get the waveform, is there any way that I can differentiate the music and the voice from the audio file in the waveform and is it a best way to differentiate? I need the start time and the end time of the music from the extracted audio file.

So, at the end I might be getting multiple or single music file from the audio file.