Windows XP Pro SP2, VLC 0.8.2 official release version. I'm trying to convert a .AVI file using 10 Mbps MPEG-IV video and 320 kbps MPEG audio, as created by a capture programme, into a .MP4 file using MPEG-IV video at 1.5 Mbps and MPEG-IV [AAC] audio at 320 kbps.
I use the following sout string:
Code: Select all
:sout=#transcode{vcodec=mp4v,vb=1536,scale=1,acodec=mp4a,ab=320,channels=2}:duplicate{dst=std{access=file,mux=mp4,url="G:\primeuser\My Videos\spool\heroes.mp4"}}
The file as it comes out has no audio stream. Now, I assumed that since AAC [= mp4a] is available through the GUI, that I could actually output it. Looking at the "streaming features" list, I see that to encode AAC requires compiling ffmpeg with libffaac support. Is this not done for the Windows binary, and if not, how would I go about doing it myself? I have never been able to get AAC to encode with VLC.
When I did not transcode the audio from mpga, I got a nasty error trying to play in QuickTime, all about the audio data being invalid and the Decoder Configuration Descriptor corrupted. Transcoding it to aac, I get no audio at all. I am going to try a couple of others and see what happens.