[FFmpeg-user] FDK_AAC OUTPUTS CBR AUDIO STREAM ONLY?!!!
bigshot
bigshot at wickmail.net
Tue May 12 01:53:32 CEST 2015
Hello,
I have noticed that /libfdk_aac/ in VBR mode spits out CBR audio encodes,
ONLY, or at least is flagged as CBR in MediaInfo. While encoding there is a
warning as you can see in the log below.
"C:\Users\ADMINISTRATOR\Videos>ffmpeg -i 1.mp4 -c:v copy -c:a libfdk_aac
-vbr 1 1_0.mp4
ffmpeg version N-71329-g235589e Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.2 (GCC)
configuration: --arch=x86 --target-os=mingw32
--cross-prefix=/home/<my_name>/ffmpeg/sandbox/mingw-w64-i686/bin/i686-w64-mingw32-
--pkg-config=pkg-config --enable-gpl --enable-libsoxr --enable-fontconfig
--enable-libass --enable-libu
deo --enable-libbluray --enable-iconv --enable-libtwolame
--extra-cflags=-DLIBTWOLAME_STATIC --enable-libzvbi --enable-libcaca
--enable-libmodplug --extra-libs=-lstdc++ --extra-libs=-lpng
--enable-libvidstab --enable-libx265 --enable
cklink --extra-libs=-loleaut32 --enable-libx264 --enable-libxvid
--enable-libmp3lame --enable-version3 --enable-zlib --enable-librtmp
--enable-libvorbis --enable-libtheora --enable-libspeex --enable-libopenjpeg
--enable-gnutls --enab
libgsm --enable-libfreetype --enable-libopus --disable-w32threads
--enable-frei0r --enable-filter=frei0r --enable-libvo-aacenc --enable-bzlib
--enable-libxavs --extra-cflags=-DPTW32_STATIC_LIB
--enable-libopencore-amrnb --enable-libo
core-amrwb --enable-libvo-amrwbenc --enable-libschroedinger --enable-libvpx
--enable-libilbc --enable-libwavpack --enable-libwebp --enable-libgme
--enable-dxva2 --enable-libdcadec --enable-avisynth --enable-static
--disable-shared --
ra-cflags=
--prefix=/home/<my_name>/ffmpeg/sandbox/mingw-w64-i686/i686-w64-mingw32
--enable-nonfree --enable-libfdk-aac --disable-libfaac --disable-decoder=aac
--enable-nvenc --enable-runtime-cpudetect
libavutil 54. 22.101 / 54. 22.101
libavcodec 56. 34.100 / 56. 34.100
libavformat 56. 30.100 / 56. 30.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 13.101 / 5. 13.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '1.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf54.63.100
Duration: 00:01:00.10, start: 0.004286, bitrate: 798 kb/s
Stream #0:0(und): Video: h264 (High) (avc1 / 0x31637661), yuv420p,
1280x720, 699 kb/s, 15 fps, 15 tbr, 15360 tbn, 30 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (mp4a / 0x6134706D), 44100 Hz, stereo, s16,
96 kb/s (default)
Metadata:
handler_name : SoundHandler
File '1_0.mp4' already exists. Overwrite ? [y/N] y
[libfdk_aac @ 00d37440] Note, the VBR setting is unsupported and only works
with some parameter combinations
[mp4 @ 052fda00] Codec for stream 0 does not use global headers but
container format requires global headers
Output #0, mp4, to '1_0.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
encoder : Lavf56.30.100
Stream #0:0(und): Video: h264 ([33][0][0][0] / 0x0021), yuv420p,
1280x720, q=2-31, 699 kb/s, 15 fps, 15 tbr, 15360 tbn, 15360 tbc (default)
Metadata:
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (libfdk_aac) ([64][0][0][0] / 0x0040),
44100 Hz, stereo, s16 (default)
Metadata:
handler_name : SoundHandler
encoder : Lavc56.34.100 libfdk_aac
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (aac (libfdk_aac) -> aac (libfdk_aac))
Press [q] to stop, [?] for help
frame= 900 fps=604 q=-1.0 Lsize= 5539kB time=00:01:00.11 bitrate=
754.9kbits/s
video:5121kB audio:388kB subtitle:0kB other streams:0kB global headers:0kB
muxing overhead: 0.554962%"
It seems /-vbr/ switch in /fdk-aac/ will NOT output VBR sound track... Also,
any other options I select will still produce CBR audio, ONLY.
Is this a bug or I am doing smth. wrong?
Cheers,
TM
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/FDK-AAC-OUTPUTS-CBR-AUDIO-STREAM-ONLY-tp4670348.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list