I have encoded some videos using mencoder, with AAC and h.264. Sony vegas cannot open the files, without any explanation. Here is what Gspot tells me about the videos :
To encode the videos I have used :
-oac faac -faacopts br=160:mpeg=4:object=2 -srate 48000 -channels 2
-ovc x264 -x264encopts pass=1:preset=slow:keyint=200:crf=19:level_idc=31:colormatrix=bt709
sourceVideo.avi -o destinationVideo.mp4
previous edits :
The obvious problem seems to be the AAC codec, but I cannot find it. I've included it as a dll in mencoder, but I can't seem to find it for windows.
EDIT: I've read that AAC encoder need a licence, but here I'm only trying to read it in Vegas...
EDIT2 : I have tried installing the K-Lite codec pack, no change. Sony Vegas cannot open a file encoded with h264, neither can it read audio encoded in AAC. Is this normal ?