Vegas 12/13 unable to open some AVC files

Maverick wrote on 4/26/2014, 9:51 AM
I have several files that I want to edit but Vegas refuses to open them. They play OK in VLC Player and others. These are in AVI containers.

MediaInfo reports:


MediaInfo directs me to : but that isn't much help to me.

Any advice would be appreciated.



NormanPCN wrote on 4/26/2014, 11:11 AM
For AVI files Vegas uses Video for Windows. It does not use it's own internal codecs for AVI files. You will need to install an AVC Video for Windows codec to read these files.

AVC in AVI files is a little unusual, but it comes up at times. You could re-mux the AVI file, using Avidemux or similar, into an MP4 and that should work and then you can avoid the codec hell that can be AVI.
Maverick wrote on 4/26/2014, 11:23 AM
I'll give Avidemux a go.

I did try using Handbrake to make both an mkv and mp4 file but neither would load into Vegas.

NormanPCN wrote on 4/26/2014, 12:06 PM
Vegas does not support MKV. It does support MP4 but only with more common contents. AVC should not be a problem. What is the audio format in the source video file.

Handbrake output should not be a problem to import in V12/13. What settings in HB did you use? Video and Audio. I could try those and see if it loads for me.
Maverick wrote on 4/26/2014, 12:29 PM

Tried various settings with Avidemux with no luck.

When using Handrake I selected mp4 container leaving all settings as they are for Normal profile.

I then changed the Video Codec under Video Tab to MPEG-4 (FFmpeg) and no luck with either settings.
Maverick wrote on 4/26/2014, 12:43 PM
OK - this is rather strange.

I have just used Handbrake with the video codec set to H.264 (x264) with all other settings left as default and the file now loads into Vegas 12/13.

It was only a few weeks ago I was almost tearing my hair out as every file I tried either refused to load after conversion or loaded but with audio only and a green video.

The only thing I can think of that's changed (apart from installing the trial of 13) was an update to the AMD video drivers this morning. But I haven't even performed the required reboot yet.
NormanPCN wrote on 4/26/2014, 1:27 PM
Vegas does not like MP3 audio in MP4 files with AVC video. Use PCM or AAC.

I am not sure which video formats Vegas accepts MP3 audio in, if any. Best leave MP3 to stand alone files. I have used MP3 in that manner.
John_Cline wrote on 4/26/2014, 4:15 PM
You could always install an h.264 Video for Windows codec which will read h.264 video stored in an AVI container.
DeadRadioStar wrote on 4/29/2014, 12:46 PM
What NormanPCN said. You can use the command-line version of ffmpeg to copy the video stream and convert the audio to AAC with a line something like this:

ffmpeg -i infile.mp4 -c:v copy -map 0:0 -map 0:1 -c:a libvo_aacenc -b:a 192k outfile.mp4

I'm just learning how to use ffmpeg myself so don't ask! It just happens that by coincidence I have the same problem. The converted file will have the original h264 stream and an AAC audio stream, and Vegas 12 Pro recognises this as "Sony AVC".