Resolve WAV file playback errors and reduce storage size by detecting non-standard sample rates with ffprobe and resampling them to 44100 Hz using ffmpeg.