Extracts the audio from a video file, saving is as a .wav file. The function uses FFmpeg, and converts the audio track into a single channel, sampled at 8 kHz.
get_audio_file(in_path,out_path)
Arguments
in_path (str)
The path to input media file.
out_path (str)
The path to save the extracted audio file at.
Returns
str
The output path, this is the same as the out_path arguement.