Video created in Ffmpeg is not added to Vegas

capslk wrote on 1/25/2026, 6:00 AM

Hello, everyone.
I am using Ffmpeg to output audio as a spectrogram in .mp4 format. I enter the following command in the console:

ffmpeg -i Name.mp3 -filter_complex "[0:a]showspectrum=mode=combined:color=intensity:slide=1:s=1280x720" -c:v h264_nvenc -r 60 -c:a copy Output.mp4

After that, a video appears that can be played in VLC. However, when I import this video into Vegas, a distorted audio track appears on the timeline. The problem persists even if Ffmpeg creates a video with the full length of the audio (in this case, the audio lasts 7 hours).
The settings include legacy AVC HEVC decodings.
Vegas version 21.0, build 108.

Comments

zzzzzz9125 wrote on 1/25/2026, 6:51 AM
ffmpeg -i Name.mp3 -filter_complex "[0:a]showspectrum=mode=combined:color=intensity:slide=1:s=1280x720" -c:v h264_nvenc -r 60 -c:a copy Output.mp4

@capslk VEGAS Pro doesn't support video files that contain MP3 or FLAC audio streams. Convert them into AAC audio streams instead.

In your command, you just need to remove "-c:a copy", which will make ffmpeg use the default AAC audio stream for MP4. For me here, such files can be successfully imported into both VP21B208 and VP22B250.

 

By the way, what prevents you from upgrading to the newer builds? VP21B108 is merely the initial build of VP21. People might have reasons to stick with VP21B208 or VP21B315, but not VP21B108. The adjustment event feature in VP21B108 is not usable for me.

capslk wrote on 1/25/2026, 7:04 AM

@zzzzzz9125 Yes, everything is working now, thank you!