[FFmpeg-user] Problems with aac encoding using latest zeranoe build for windows

Lou lou at lrcd.com
Thu Jan 26 01:02:30 CET 2012


On Wed, 25 Jan 2012 18:35:04 -0500
Kosta Vlotis <kosta.brazzers at gmail.com> wrote:

> here is the Output:
> 
> C:\Users\kosta.placeV2\Desktop\FFMPEG BATCH\3d watermark testing>ffmpeg -i "inp
> ut\Kosta.mov" -vcodec libx264 -b:v 8000k -bt 8000k -fpre ".\presets\libx264-slow
> .ffpreset" -s 1920x1080 -aspect 16:9 -vf "movie=wgp-video-watermark.png,scal
> e=1920:1080 [logo]; [in] [logo] overlay=main_w-overlay_w-0:main_h-overlay_h-0 [o
> ut]" -acodec aac -b:a 128k -ar 44.1k -ac 2 -threads 0 -y ".\output\Kosta_1080p_8
> 000.mp4"

For future reference please use a simple command that still gives you
the same error. For example:

ffmpeg -i input -c:a aac -ar 44.1k -ac 2 -vn output.mp4

Although I understand that it can be hard to figure out what options
you can eliminate and still provide relevant information.

> ffmpeg version N-37063-g14d94a1 Copyright (c) 2000-2012 the FFmpeg developers
>   built on Jan 23 2012 17:37:46 with gcc 4.6.2
>   configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-ru
> ntime-cpudetect --enable-avisynth --enable-bzlib --enable-frei0r --enable-libope
> ncore-amrnb --enable-libopencore-amrwb --enable-libfreetype --enable-libgsm --en
> able-libmp3lame --enable-libopenjpeg --enable-librtmp --enable-libschroedinger -
> -enable-libspeex --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwben
> c --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxavs --enable-
> libxvid --enable-zlib

[...]

> [NULL @ 039E08C0] Codec is experimental but experimental codecs are not enabled,
>  see -strict -2

^ This is the important message. The native FFmpeg AAC encoder (-c:a
aac) is considered experimental, and therefore requires "-strict
experimental" (or perhaps "-strict -2") in the command.

Alternatively, since your ffmpeg supports it, you can use "-c:a
libvo_aacenc" instead of "-c:a aac". It won't require "-strict
experimental" and most people seem to consider it to be a better
encoder.


More information about the ffmpeg-user mailing list