I have an avi video with video codec mp4v and PCM audio. When I bring the video into Vegas Pro, it loads up fine except the audio gets seriously messed up. It gets chopped. See the waveforms below.
I used ffmpeg to extract the audio using the command
ffmpeg -i video.avi -vn -acodec copy audio.wav. The resultant file will load correctly in Vegas Pro. See the waveforms and compare. These should look exactly the same.
What is causing this and how do I fix it?
ffprobe reports the following on the file:
Input #0, avi, from '01-1.avi': Duration: 02:01:44.47, start: 0.000000, bitrate: 2060 kb/s Stream #0:0: Video: mpeg4 (Simple Profile) (MP4V / 0x5634504D), yuv420p, 1024x768 [SAR 1:1 DAR 4:3], 626 kb/s, 30 fps, 30 tbr, 30 tbn, 30 tbc Metadata: title : DVI2USB 3.0 [D2S354466] Stream #0:1: Audio: pcm_s16le ( / 0x0001), 44100 Hz, 2 channels, s16, 1411 kb/s