Page 1 of 1

Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 09 Jun 2010 05:44
by h264_aac
I'm running VLC on a fresh Windows 7 installation with no additional codec packs installed.
Since I switched from version 1.0.3 to 1.0.5 I experienced bad AAC output quality when using acodec=mp4a with whatever bitrate or samplerate.
The same problem exits for the new 1.1.0-pre4 version.

I have prepared a batch script to produce some sample m4a files:

Code: Select all

vlc-1.0.3\vlc.exe -vvv bach.mp3 :sout="#transcode{acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=mp4,dst=vlc-1.0.3_aac_test_bach.m4a}" :no-prefer-system-codecs vlc://quit vlc-1.0.5\vlc.exe -vvv bach.mp3 :sout="#transcode{acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=mp4,dst=vlc-1.0.5_aac_test_bach.m4a}" :no-prefer-system-codecs vlc://quit vlc-1.1.0-pre4\vlc.exe -vvv bach.mp3 :sout="#transcode{acodec=mp4a,ab=128,channels=2,samplerate=44100}:std{access=file,mux=mp4,dst=vlc-1.1.0-pre4_aac_test_bach.m4a}" :no-prefer-system-codecs vlc://quit
I noticed that the files encoded by VLC 1.0.3 are always identical regardless how often I run the encoding.
In 1.0.5 and 1.1.0-pre4, however, the files are different each time.

Conversion speed in 1.0.3 is about 4 sec for the 60 sec mp3 input file.
For 1.0.5 it is 6 sec, and for 1.1.0-pre4 about the same.

I'm not sure what happened to the codec after version 1.0.3.
However, if I replace the libavcodec_plugin.dll of 1.0.5 by that from 1.0.3 I get good quality AAC.

Another workaround:
When setting channels=1 the artefacts in 1.0.5 and 1.1.0-pre4 seem to disappear and the files are identical each time.

I also tried setting aenc=ffmpeg{aac-profile=low} explicitly but that didn't help.

I wish this could be fixed in 1.1.0 because AAC is important when encoding for mobile devices, escpecially in videos.

----
Sample output
vlc-1.0.3_aac_test_bach.m4a
vlc-1.0.5_aac_test_bach.m4a
vlc-1.1.0-pre4_aac_test_bach.m4a

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 09 Jun 2010 15:35
by VLC_help
Could you share your bach.mp3 ?

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 09 Jun 2010 16:15
by h264_aac
I forgot to say that the AAC output was corrupted with any input files that I used (also videos).

It would be nice if anyone can reproduce it. The VLC versions I used are the Windows builds from VideoLAN website.
I couldn't find anything about this problem on the web but it should not only occur on my system.

----
bach.mp3

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 10 Jun 2010 18:22
by VLC_help
At what points I should hear the artifacts?

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 20 Jun 2010 15:57
by geek-du-44
with VLC 1.0.5 for me the audio in video .mov are not output audio.

by the site http://www.davestrailerpage.co.uk/

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 20 Jun 2010 16:40
by VLC_help
geek-du-44: ?

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 20 Jun 2010 19:32
by geek-du-44
in french:

pour les videos en .mov avec audio AAC, de Apple.

VLC 1.0.5 lit correctement la vidéo mais il y a pas de son! avec quicktime, si !

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 21 Jun 2010 00:14
by Jean-Baptiste Kempf
File a bug.

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 21 Jun 2010 08:21
by geek-du-44
my probleme is resolve, i reinstall VLC 1.0.5 and delete preference and cache....

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 31 Aug 2010 12:46
by h264_aac
The problem still exists.

Sample outputs for different VLC versions can now be found here:
http://traveldevel.com/vlc-stream-conve ... pted-audio

In the recent 1.1.4 release AAC audio is completely corrupted. :(

Re: Corrupted mp4a (AAC) output in 1.0.5 and 1.1.0-pre4

Posted: 04 Sep 2010 18:41
by Jean-Baptiste Kempf
Because old AAC encoder was dropped because of incompatible license.