Opened 7 years ago

Closed 7 years ago

#6523 closed defect (fixed)

FFMpeg3 slow audio encoding

Reported by: antony007 Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: aac regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Audio encoding from wav to aac is very slow in the ffmpeg3. Earlier it used to be fast in ffmpeg2. After upgrading to ffmpeg3 the encoding process is taking thrice the time.

Following is the command that I am using.

ffmpeg -i L.wav -i R.wav -i C.wav -i LFE.wav -i Ls.wav -i Rs.wav -filter_complex "[0:a][1:a][2:a][3:a][4:a][5:a] amerge=inputs=6[aout]" -map "[aout]" -b:a 640k -y test1.aac

Change History (5)

comment:1 by Cigaes, 7 years ago

Can you show the output of the exact same command with the old version that you say was fastest?

comment:2 by antony007, 7 years ago

Output from new version.

ffmpeg version 3.3.1-1~16.04.york0 Copyright (c) 2000-2017 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version='1~16.04.york0' --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
  libavutil      55. 58.100 / 55. 58.100
  libavcodec     57. 89.100 / 57. 89.100
  libavformat    57. 71.100 / 57. 71.100
  libavdevice    57.  6.100 / 57.  6.100
  libavfilter     6. 82.100 /  6. 82.100
  libavresample   3.  5.  0 /  3.  5.  0
  libswscale      4.  6.100 /  4.  6.100
  libswresample   2.  7.100 /  2.  7.100
  libpostproc    54.  5.100 / 54.  5.100
Guessed Channel Layout for Input Stream #0.0 : mono
Input #0, wav, from '/root/Desktop/AudioEncodeTest/L.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThou9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for Input Stream #1.0 : mono
Input #1, wav, from '/root/Desktop/AudioEncodeTest/R.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThCu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #1:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for Input Stream #2.0 : mono
Input #2, wav, from '/root/Desktop/AudioEncodeTest/C.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThwu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #2:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for Input Stream #3.0 : mono
Input #3, wav, from '/root/Desktop/AudioEncodeTest/LFE.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThSu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:47
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #3:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for Input Stream #4.0 : mono
Input #4, wav, from '/root/Desktop/AudioEncodeTest/Ls.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThIu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #4:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for Input Stream #5.0 : mono
Input #5, wav, from '/root/Desktop/AudioEncodeTest/Rs.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThLu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #5:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, mono, s32 (24 bit), 1152 kb/s
Stream mapping:
  Stream #0:0 (pcm_s24le) -> amerge:in0
  Stream #1:0 (pcm_s24le) -> amerge:in1
  Stream #2:0 (pcm_s24le) -> amerge:in2
  Stream #3:0 (pcm_s24le) -> amerge:in3
  Stream #4:0 (pcm_s24le) -> amerge:in4
  Stream #5:0 (pcm_s24le) -> amerge:in5
  amerge -> Stream #0:0 (aac)
Press [q] to stop, [?] for help
[Parsed_amerge_0 @ 0x5612a6177de0] No channel layout for input 1
[Parsed_amerge_0 @ 0x5612a6177de0] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, adts, to '/root/Desktop/AudioEncodeTest/test1.aac':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThou9m5tmaaaGk
    date            : 2017-05-06
    time_reference  : 59840000
    encoder         : Lavf57.71.100
    Stream #0:0: Audio: aac (LC), 48000 Hz, 5.1, fltp, 640 kb/s (default)
    Metadata:
      encoder         : Lavc57.89.100 aac
size=      59kB time=00:00:02.21 bitrate= 216.9kbits/s speed=4.42x    
size=     288kB time=00:00:05.03 bitrate= 468.4kbits/s speed=5.03x    
size=     479kB time=00:00:07.48 bitrate= 523.5kbits/s speed=4.96x    
size=     658kB time=00:00:09.79 bitrate= 550.8kbits/s speed=4.86x    
size=     884kB time=00:00:12.69 bitrate= 570.6kbits/s speed=5.04x    
size=    1097kB time=00:00:15.42 bitrate= 582.8kbits/s speed= 5.1x    
size=    1271kB time=00:00:17.64 bitrate= 590.3kbits/s speed=   5x    
size=    1432kB time=00:00:19.71 bitrate= 595.0kbits/s speed=4.89x    
size=    1610kB time=00:00:22.01 bitrate= 599.2kbits/s speed=4.85x    
size=    1791kB time=00:00:24.34 bitrate= 602.9kbits/s speed=4.83x    
size=    1962kB time=00:00:26.53 bitrate= 605.7kbits/s speed=4.79x    
size=    2172kB time=00:00:29.20 bitrate= 609.3kbits/s speed=4.83x    
size=    2375kB time=00:00:31.78 bitrate= 612.0kbits/s speed=4.86x    
size=    2557kB time=00:00:34.13 bitrate= 613.7kbits/s speed=4.84x    
size=    2711kB time=00:00:36.11 bitrate= 615.0kbits/s speed=4.78x    
size=    2889kB time=00:00:38.40 bitrate= 616.4kbits/s speed=4.76x    
size=    3140kB time=00:00:41.57 bitrate= 618.7kbits/s speed=4.85x    
size=    3392kB time=00:00:44.82 bitrate= 619.9kbits/s speed=4.93x    
size=    3557kB time=00:00:46.95 bitrate= 620.6kbits/s speed= 4.9x    
size=    3738kB time=00:00:49.28 bitrate= 621.4kbits/s speed=4.89x    
size=    3953kB time=00:00:52.05 bitrate= 622.1kbits/s speed=4.92x    
size=    4198kB time=00:00:55.21 bitrate= 623.0kbits/s speed=4.98x    
size=    4467kB time=00:00:58.66 bitrate= 623.8kbits/s speed=5.06x    
size=    4715kB time=00:01:01.84 bitrate= 624.6kbits/s speed=5.11x    
size=    4928kB time=00:01:04.57 bitrate= 625.1kbits/s speed=5.13x    
size=    5152kB time=00:01:07.45 bitrate= 625.6kbits/s speed=5.15x    
size=    5329kB time=00:01:09.73 bitrate= 626.0kbits/s speed=5.13x    
size=    5573kB time=00:01:12.85 bitrate= 626.7kbits/s speed=5.17x    
size=    5900kB time=00:01:17.03 bitrate= 627.4kbits/s speed=5.28x    
size=    6118kB time=00:01:19.85 bitrate= 627.7kbits/s speed=5.29x    
size=    6309kB time=00:01:22.28 bitrate= 628.1kbits/s speed=5.27x    
size=    6584kB time=00:01:25.80 bitrate= 628.6kbits/s speed=5.33x    
size=    6928kB time=00:01:30.19 bitrate= 629.2kbits/s speed=5.43x    
size=    7199kB time=00:01:33.67 bitrate= 629.6kbits/s speed=5.48x    
size=    7442kB time=00:01:36.81 bitrate= 629.8kbits/s speed= 5.5x    
size=    7674kB time=00:01:39.79 bitrate= 629.9kbits/s speed=5.51x    
size=    7907kB time=00:01:42.78 bitrate= 630.2kbits/s speed=5.52x    
size=    8138kB time=00:01:45.77 bitrate= 630.3kbits/s speed=5.53x    
size=    8393kB time=00:01:49.03 bitrate= 630.6kbits/s speed=5.56x    
size=    8633kB time=00:01:52.12 bitrate= 630.7kbits/s speed=5.57x    
size=    8844kB time=00:01:54.83 bitrate= 630.9kbits/s speed=5.57x    
size=    9074kB time=00:01:57.78 bitrate= 631.1kbits/s speed=5.57x    
size=    9311kB time=00:02:00.83 bitrate= 631.2kbits/s speed=5.58x    
size=    9545kB time=00:02:03.81 bitrate= 631.5kbits/s speed=5.59x    
size=    9726kB time=00:02:06.10 bitrate= 631.8kbits/s speed=5.57x    
size=    9950kB time=00:02:09.00 bitrate= 631.8kbits/s speed=5.57x    
size=   10164kB time=00:02:11.73 bitrate= 632.0kbits/s speed=5.57x    
size=   10402kB time=00:02:14.80 bitrate= 632.1kbits/s speed=5.58x    
size=   10595kB time=00:02:17.28 bitrate= 632.3kbits/s speed=5.57x    
size=   10796kB time=00:02:19.84 bitrate= 632.4kbits/s speed=5.56x    
size=   10977kB time=00:02:22.16 bitrate= 632.5kbits/s speed=5.54x    
size=   11145kB time=00:02:24.29 bitrate= 632.7kbits/s speed=5.51x    
size=   11323kB time=00:02:26.56 bitrate= 632.9kbits/s speed=5.49x    
size=   11539kB time=00:02:29.29 bitrate= 633.2kbits/s speed=5.49x    
size=   11758kB time=00:02:32.08 bitrate= 633.3kbits/s speed=5.49x    
size=   11958kB time=00:02:34.64 bitrate= 633.5kbits/s speed=5.49x    
size=   12138kB time=00:02:36.94 bitrate= 633.6kbits/s speed=5.47x    
size=   12327kB time=00:02:39.36 bitrate= 633.7kbits/s speed=5.46x    
size=   12607kB time=00:02:42.92 bitrate= 633.9kbits/s speed=5.49x    
size=   12857kB time=00:02:46.16 bitrate= 633.9kbits/s speed= 5.5x    
size=   13057kB time=00:02:48.74 bitrate= 633.9kbits/s speed= 5.5x    
size=   13254kB time=00:02:51.30 bitrate= 633.8kbits/s speed=5.49x    
size=   13449kB time=00:02:53.82 bitrate= 633.8kbits/s speed=5.48x    
size=   13668kB time=00:02:56.66 bitrate= 633.8kbits/s speed=5.48x    
size=   13909kB time=00:02:59.73 bitrate= 634.0kbits/s speed=5.49x    
size=   14160kB time=00:03:02.93 bitrate= 634.1kbits/s speed=5.51x    
size=   14408kB time=00:03:06.13 bitrate= 634.1kbits/s speed=5.52x    
size=   14616kB time=00:03:08.80 bitrate= 634.2kbits/s speed=5.52x    
size=   14849kB time=00:03:11.78 bitrate= 634.3kbits/s speed=5.52x    
size=   15084kB time=00:03:14.79 bitrate= 634.3kbits/s speed=5.53x    
size=   15285kB time=00:03:17.39 bitrate= 634.3kbits/s speed=5.52x    
size=   15571kB time=00:03:21.02 bitrate= 634.6kbits/s speed=5.55x    
size=   15814kB time=00:03:24.11 bitrate= 634.7kbits/s speed=5.56x    
size=   16021kB time=00:03:26.76 bitrate= 634.7kbits/s speed=5.55x    
size=   16232kB time=00:03:29.49 bitrate= 634.7kbits/s speed=5.55x    
size=   16401kB time=00:03:31.69 bitrate= 634.7kbits/s speed=5.53x    
size=   16566kB time=00:03:33.80 bitrate= 634.7kbits/s speed=5.52x    
size=   16759kB time=00:03:36.29 bitrate= 634.7kbits/s speed=5.51x    
size=   16950kB time=00:03:38.75 bitrate= 634.7kbits/s speed= 5.5x    
size=   17136kB time=00:03:41.16 bitrate= 634.7kbits/s speed=5.49x    
size=   17334kB time=00:03:43.70 bitrate= 634.8kbits/s speed=5.49x    
size=   17555kB time=00:03:46.51 bitrate= 634.9kbits/s speed=5.49x    
size=   17767kB time=00:03:49.24 bitrate= 634.9kbits/s speed=5.49x    
size=   17973kB time=00:03:51.89 bitrate= 634.9kbits/s speed=5.48x    
size=   18212kB time=00:03:54.94 bitrate= 635.0kbits/s speed=5.49x    
size=   18456kB time=00:03:58.05 bitrate= 635.1kbits/s speed= 5.5x    
size=   18655kB time=00:04:00.61 bitrate= 635.1kbits/s speed= 5.5x    
size=   18888kB time=00:04:03.60 bitrate= 635.2kbits/s speed= 5.5x    
size=   19101kB time=00:04:06.33 bitrate= 635.2kbits/s speed= 5.5x    
size=   19336kB time=00:04:09.34 bitrate= 635.3kbits/s speed= 5.5x    
size=   19541kB time=00:04:11.96 bitrate= 635.3kbits/s speed= 5.5x    
size=   19818kB time=00:04:15.50 bitrate= 635.4kbits/s speed=5.52x    
size=   20089kB time=00:04:18.96 bitrate= 635.5kbits/s speed=5.53x    
size=   20317kB time=00:04:21.86 bitrate= 635.6kbits/s speed=5.53x    
size=   20552kB time=00:04:24.87 bitrate= 635.6kbits/s speed=5.54x    
size=   20925kB time=00:04:29.65 bitrate= 635.7kbits/s speed=5.58x    
size=   21165kB time=00:04:32.74 bitrate= 635.7kbits/s speed=5.59x    
size=   21403kB time=00:04:35.79 bitrate= 635.7kbits/s speed=5.59x    
size=   21612kB time=00:04:38.48 bitrate= 635.7kbits/s speed=5.59x    
size=   21794kB time=00:04:40.85 bitrate= 635.7kbits/s speed=5.58x    
size=   21983kB time=00:04:43.30 bitrate= 635.7kbits/s speed=5.57x    
size=   22188kB time=00:04:45.95 bitrate= 635.7kbits/s speed=5.57x    
size=   22433kB time=00:04:49.10 bitrate= 635.7kbits/s speed=5.57x    
size=   22622kB time=00:04:51.56 bitrate= 635.6kbits/s speed=5.57x    
size=   22824kB time=00:04:54.16 bitrate= 635.6kbits/s speed=5.56x    
size=   23002kB time=00:04:56.46 bitrate= 635.6kbits/s speed=5.56x    
size=   23216kB time=00:04:59.22 bitrate= 635.6kbits/s speed=5.55x    
size=   23486kB time=00:05:02.65 bitrate= 635.7kbits/s speed=5.57x    
size=   23712kB time=00:05:05.53 bitrate= 635.8kbits/s speed=5.57x    
size=   23930kB time=00:05:08.33 bitrate= 635.8kbits/s speed=5.57x    
size=   24140kB time=00:05:11.01 bitrate= 635.8kbits/s speed=5.56x    
size=   24343kB time=00:05:13.62 bitrate= 635.9kbits/s speed=5.56x    
size=   24632kB time=00:05:17.29 bitrate= 636.0kbits/s speed=5.58x    
size=   24844kB time=00:05:20.02 bitrate= 636.0kbits/s speed=5.57x    
size=   25092kB time=00:05:23.20 bitrate= 636.0kbits/s speed=5.58x    
size=   25364kB time=00:05:26.65 bitrate= 636.1kbits/s speed=5.59x    
size=   25592kB time=00:05:29.55 bitrate= 636.2kbits/s speed=5.59x    
size=   25839kB time=00:05:32.69 bitrate= 636.2kbits/s speed= 5.6x    
size=   26071kB time=00:05:35.65 bitrate= 636.3kbits/s speed= 5.6x    
size=   26300kB time=00:05:38.58 bitrate= 636.3kbits/s speed= 5.6x    
size=   26533kB time=00:05:41.54 bitrate= 636.4kbits/s speed=5.61x    
size=   26784kB time=00:05:44.74 bitrate= 636.4kbits/s speed=5.61x    
size=   27031kB time=00:05:47.88 bitrate= 636.5kbits/s speed=5.62x    
size=   27255kB time=00:05:50.74 bitrate= 636.6kbits/s speed=5.62x    
size=   27492kB time=00:05:53.77 bitrate= 636.6kbits/s speed=5.62x    
size=   27760kB time=00:05:57.18 bitrate= 636.7kbits/s speed=5.63x    
size=   27975kB time=00:05:59.91 bitrate= 636.7kbits/s speed=5.63x    
size=   28228kB time=00:06:03.15 bitrate= 636.8kbits/s speed=5.63x    
size=   28483kB time=00:06:06.40 bitrate= 636.8kbits/s speed=5.64x    
size=   28722kB time=00:06:09.47 bitrate= 636.8kbits/s speed=5.64x    
size=   28989kB time=00:06:12.88 bitrate= 636.9kbits/s speed=5.65x    
size=   29211kB time=00:06:15.72 bitrate= 636.9kbits/s speed=5.65x    
size=   29425kB time=00:06:18.47 bitrate= 636.9kbits/s speed=5.65x    
size=   29644kB time=00:06:21.26 bitrate= 636.9kbits/s speed=5.65x    
size=   29831kB time=00:06:23.65 bitrate= 637.0kbits/s speed=5.64x    
size=   29987kB time=00:06:25.64 bitrate= 637.0kbits/s speed=5.63x    
size=   30146kB time=00:06:27.69 bitrate= 637.0kbits/s speed=5.62x    
size=   30360kB time=00:06:30.42 bitrate= 637.0kbits/s speed=5.62x    
size=   30575kB time=00:06:33.17 bitrate= 637.0kbits/s speed=5.62x    
size=   30751kB time=00:06:35.43 bitrate= 637.0kbits/s speed=5.61x    
size=   30951kB time=00:06:37.99 bitrate= 637.1kbits/s speed= 5.6x    
size=   31124kB time=00:06:40.21 bitrate= 637.1kbits/s speed= 5.6x    
size=   31297kB time=00:06:42.43 bitrate= 637.1kbits/s speed=5.59x    
size=   31512kB time=00:06:45.16 bitrate= 637.1kbits/s speed=5.58x    
size=   31707kB time=00:06:47.65 bitrate= 637.2kbits/s speed=5.58x    
size=   31913kB time=00:06:50.26 bitrate= 637.2kbits/s speed=5.58x    
size=   32111kB time=00:06:52.77 bitrate= 637.3kbits/s speed=5.57x    
size=   32348kB time=00:06:55.80 bitrate= 637.3kbits/s speed=5.58x    
size=   32584kB time=00:06:58.79 bitrate= 637.4kbits/s speed=5.58x    
size=   32790kB time=00:07:01.44 bitrate= 637.4kbits/s speed=5.58x    
size=   32970kB time=00:07:03.74 bitrate= 637.4kbits/s speed=5.57x    
size=   33167kB time=00:07:06.26 bitrate= 637.4kbits/s speed=5.57x    
size=   33364kB time=00:07:08.77 bitrate= 637.4kbits/s speed=5.56x    
size=   33540kB time=00:07:11.04 bitrate= 637.4kbits/s speed=5.56x    
size=   33754kB time=00:07:13.77 bitrate= 637.5kbits/s speed=5.56x    
size=   33964kB time=00:07:16.45 bitrate= 637.5kbits/s speed=5.55x    
size=   34169kB time=00:07:19.08 bitrate= 637.5kbits/s speed=5.55x    
size=   34378kB time=00:07:21.74 bitrate= 637.5kbits/s speed=5.55x    
size=   34767kB time=00:07:26.72 bitrate= 637.6kbits/s speed=5.58x    
size=   35048kB time=00:07:30.30 bitrate= 637.6kbits/s speed=5.59x    
size=   35353kB time=00:07:34.20 bitrate= 637.6kbits/s speed= 5.6x    
size=   35650kB time=00:07:37.98 bitrate= 637.7kbits/s speed=5.61x    
size=   35923kB time=00:07:41.44 bitrate= 637.7kbits/s speed=5.62x    
size=   36310kB time=00:07:46.36 bitrate= 637.8kbits/s speed=5.65x    
size=   36571kB time=00:07:49.73 bitrate= 637.8kbits/s speed=5.65x    
size=   36839kB time=00:07:53.15 bitrate= 637.8kbits/s speed=5.66x    
size=   37052kB time=00:07:55.88 bitrate= 637.8kbits/s speed=5.66x    
size=   37288kB time=00:07:58.91 bitrate= 637.8kbits/s speed=5.66x    
size=   37504kB time=00:08:01.68 bitrate= 637.8kbits/s speed=5.66x    
size=   37745kB time=00:08:04.75 bitrate= 637.9kbits/s speed=5.66x    
size=   37961kB time=00:08:07.53 bitrate= 637.9kbits/s speed=5.66x    
size=   38185kB time=00:08:10.38 bitrate= 637.9kbits/s speed=5.66x    
size=   38439kB time=00:08:13.65 bitrate= 637.9kbits/s speed=5.66x    
size=   38713kB time=00:08:17.15 bitrate= 637.9kbits/s speed=5.67x    
size=   38963kB time=00:08:20.35 bitrate= 637.9kbits/s speed=5.68x    
size=   39201kB time=00:08:23.40 bitrate= 637.9kbits/s speed=5.68x    
size=   39446kB time=00:08:26.53 bitrate= 637.9kbits/s speed=5.68x    
size=   39653kB time=00:08:29.18 bitrate= 638.0kbits/s speed=5.68x    
size=   39903kB time=00:08:32.38 bitrate= 638.0kbits/s speed=5.68x    
size=   40150kB time=00:08:35.52 bitrate= 638.0kbits/s speed=5.69x    
size=   40394kB time=00:08:38.65 bitrate= 638.0kbits/s speed=5.69x    
size=   40628kB time=00:08:41.64 bitrate= 638.0kbits/s speed=5.69x    
size=   40991kB time=00:08:46.27 bitrate= 638.1kbits/s speed=5.71x    
size=   41205kB time=00:08:49.04 bitrate= 638.0kbits/s speed=5.71x    
size=   41424kB time=00:08:51.86 bitrate= 638.0kbits/s speed=5.71x    
size=   41649kB time=00:08:54.72 bitrate= 638.1kbits/s speed=5.71x    
size=   41885kB time=00:08:57.74 bitrate= 638.1kbits/s speed=5.71x    
size=   42129kB time=00:09:00.86 bitrate= 638.1kbits/s speed=5.71x    
size=   42337kB time=00:09:03.53 bitrate= 638.1kbits/s speed=5.71x    
size=   42570kB time=00:09:06.49 bitrate= 638.1kbits/s speed=5.71x    
size=   42801kB time=00:09:09.44 bitrate= 638.1kbits/s speed=5.71x    
size=   43017kB time=00:09:12.21 bitrate= 638.1kbits/s speed=5.71x    
size=   43259kB time=00:09:15.30 bitrate= 638.2kbits/s speed=5.71x    
size=   43482kB time=00:09:18.12 bitrate= 638.2kbits/s speed=5.71x    
size=   43720kB time=00:09:21.15 bitrate= 638.3kbits/s speed=5.71x    
size=   43944kB time=00:09:24.01 bitrate= 638.3kbits/s speed=5.71x    
size=   44178kB time=00:09:26.99 bitrate= 638.3kbits/s speed=5.71x    
size=   44374kB time=00:09:29.49 bitrate= 638.3kbits/s speed=5.71x    
size=   44569kB time=00:09:31.98 bitrate= 638.3kbits/s speed=5.71x    
size=   44783kB time=00:09:34.72 bitrate= 638.3kbits/s speed=5.71x    
size=   44978kB time=00:09:37.19 bitrate= 638.4kbits/s speed= 5.7x    
size=   45235kB time=00:09:40.48 bitrate= 638.4kbits/s speed=5.71x    
size=   45617kB time=00:09:45.30 bitrate= 638.5kbits/s speed=5.72x    
size=   45829kB time=00:09:48.01 bitrate= 638.5kbits/s speed=5.72x    
size=   46005kB time=00:09:50.27 bitrate= 638.5kbits/s speed=5.72x    
size=   46188kB time=00:09:52.61 bitrate= 638.5kbits/s speed=5.71x    
size=   46389kB time=00:09:55.17 bitrate= 638.5kbits/s speed=5.71x    
size=   46604kB time=00:09:57.93 bitrate= 638.5kbits/s speed=5.71x    
size=   46824kB time=00:10:00.72 bitrate= 638.5kbits/s speed=5.71x    
size=   47038kB time=00:10:03.45 bitrate= 638.5kbits/s speed=5.71x    
size=   47246kB time=00:10:06.10 bitrate= 638.6kbits/s speed= 5.7x    
size=   47474kB time=00:10:09.00 bitrate= 638.6kbits/s speed= 5.7x    
size=   47686kB time=00:10:11.71 bitrate= 638.6kbits/s speed= 5.7x    
size=   47904kB time=00:10:14.48 bitrate= 638.6kbits/s speed= 5.7x    
size=   48112kB time=00:10:17.15 bitrate= 638.6kbits/s speed= 5.7x    
size=   48340kB time=00:10:20.05 bitrate= 638.7kbits/s speed= 5.7x    
size=   48534kB time=00:10:22.52 bitrate= 638.7kbits/s speed= 5.7x    
size=   48728kB time=00:10:25.02 bitrate= 638.7kbits/s speed=5.69x    
size=   48958kB time=00:10:27.96 bitrate= 638.7kbits/s speed=5.69x    
size=   49272kB time=00:10:31.97 bitrate= 638.7kbits/s speed= 5.7x    
size=   49545kB time=00:10:35.43 bitrate= 638.7kbits/s speed=5.71x    
size=   49743kB time=00:10:37.97 bitrate= 638.7kbits/s speed=5.71x    
size=   49982kB time=00:10:41.04 bitrate= 638.7kbits/s speed=5.71x    
size=   50203kB time=00:10:43.88 bitrate= 638.7kbits/s speed=5.71x    
size=   50394kB time=00:10:46.33 bitrate= 638.7kbits/s speed= 5.7x    
size=   50601kB time=00:10:48.98 bitrate= 638.7kbits/s speed= 5.7x    
size=   50826kB time=00:10:51.88 bitrate= 638.7kbits/s speed= 5.7x    
size=   51048kB time=00:10:54.72 bitrate= 638.7kbits/s speed= 5.7x    
size=   51259kB time=00:10:57.42 bitrate= 638.7kbits/s speed= 5.7x    
size=   51472kB time=00:11:00.16 bitrate= 638.7kbits/s speed= 5.7x    
size=   51707kB time=00:11:03.16 bitrate= 638.7kbits/s speed= 5.7x    
size=   51936kB time=00:11:06.09 bitrate= 638.7kbits/s speed= 5.7x    
size=   52169kB time=00:11:09.07 bitrate= 638.7kbits/s speed= 5.7x    
size=   52374kB time=00:11:11.70 bitrate= 638.8kbits/s speed= 5.7x    
size=   52576kB time=00:11:14.28 bitrate= 638.8kbits/s speed= 5.7x    
size=   52791kB time=00:11:17.01 bitrate= 638.8kbits/s speed= 5.7x    
size=   53011kB time=00:11:19.82 bitrate= 638.8kbits/s speed= 5.7x    
size=   53232kB time=00:11:22.66 bitrate= 638.8kbits/s speed=5.69x    
size=   53505kB time=00:11:26.14 bitrate= 638.8kbits/s speed= 5.7x    
size=   53760kB time=00:11:29.38 bitrate= 638.8kbits/s speed= 5.7x    
size=   53978kB time=00:11:32.18 bitrate= 638.8kbits/s speed= 5.7x    
size=   54198kB time=00:11:34.99 bitrate= 638.8kbits/s speed= 5.7x    
size=   54425kB time=00:11:37.89 bitrate= 638.8kbits/s speed= 5.7x    
size=   54772kB time=00:11:42.31 bitrate= 638.9kbits/s speed=5.71x    
size=   55092kB time=00:11:46.36 bitrate= 638.9kbits/s speed=5.72x    
size=   55352kB time=00:11:49.69 bitrate= 638.9kbits/s speed=5.73x    
size=   55574kB time=00:11:52.53 bitrate= 638.9kbits/s speed=5.73x    
size=   55803kB time=00:11:55.45 bitrate= 638.9kbits/s speed=5.73x    
size=   56071kB time=00:11:58.86 bitrate= 639.0kbits/s speed=5.73x    
size=   56330kB time=00:12:02.15 bitrate= 639.0kbits/s speed=5.73x    
size=   56567kB time=00:12:05.18 bitrate= 639.0kbits/s speed=5.74x    
size=   56788kB time=00:12:08.02 bitrate= 639.0kbits/s speed=5.74x    
size=   57088kB time=00:12:11.81 bitrate= 639.0kbits/s speed=5.74x    
size=   57332kB time=00:12:14.93 bitrate= 639.1kbits/s speed=5.74x    
size=   57576kB time=00:12:18.04 bitrate= 639.1kbits/s speed=5.75x    
size=   57802kB time=00:12:20.94 bitrate= 639.1kbits/s speed=5.75x    
size=   58012kB time=00:12:23.68 bitrate= 639.0kbits/s speed=5.75x    
size=   58255kB time=00:12:26.75 bitrate= 639.1kbits/s speed=5.75x    
size=   58503kB time=00:12:29.93 bitrate= 639.1kbits/s speed=5.75x    
size=   58753kB time=00:12:33.10 bitrate= 639.1kbits/s speed=5.75x    
size=   58958kB time=00:12:35.73 bitrate= 639.1kbits/s speed=5.75x    
size=   59185kB time=00:12:38.63 bitrate= 639.1kbits/s speed=5.75x    
size=   59443kB time=00:12:41.92 bitrate= 639.1kbits/s speed=5.75x    
size=   59647kB time=00:12:44.52 bitrate= 639.1kbits/s speed=5.75x    
size=   59860kB time=00:12:47.25 bitrate= 639.1kbits/s speed=5.75x    
size=   60072kB time=00:12:49.98 bitrate= 639.1kbits/s speed=5.75x    
size=   60269kB time=00:12:52.50 bitrate= 639.1kbits/s speed=5.74x    
size=   60500kB time=00:12:55.44 bitrate= 639.1kbits/s speed=5.74x    
size=   60723kB time=00:12:58.30 bitrate= 639.1kbits/s speed=5.74x    
size=   61026kB time=00:13:02.54 bitrate= 638.8kbits/s speed=5.75x    
size=   61044kB time=00:13:03.55 bitrate= 638.2kbits/s speed=5.76x    
video:0kB audio:60793kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.413017%
[aac @ 0x5612a6178400] Qavg: 647.392

comment:3 by antony007, 7 years ago

Output from old version

ffmpeg version 2.8.10-0ubuntu0.16.04.1 Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
  configuration: --prefix=/usr --extra-version=0ubuntu0.16.04.1 --build-suffix=-ffmpeg --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --cc=cc --cxx=g++ --enable-gpl --enable-shared --disable-stripping --disable-decoder=libopenjpeg --disable-decoder=libschroedinger --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-librtmp --enable-libschroedinger --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzvbi --enable-openal --enable-opengl --enable-x11grab --enable-libdc1394 --enable-libiec61883 --enable-libzmq --enable-frei0r --enable-libx264 --enable-libopencv
  libavutil      54. 31.100 / 54. 31.100
  libavcodec     56. 60.100 / 56. 60.100
  libavformat    56. 40.101 / 56. 40.101
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 40.101 /  5. 40.101
  libavresample   2.  1.  0 /  2.  1.  0
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.101 /  1.  2.101
  libpostproc    53.  3.100 / 53.  3.100
Guessed Channel Layout for  Input Stream #0.0 : mono
Input #0, wav, from '/root/Desktop/AudioEncodeTest/L.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThou9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for  Input Stream #1.0 : mono
Input #1, wav, from '/root/Desktop/AudioEncodeTest/R.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThCu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #1:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for  Input Stream #2.0 : mono
Input #2, wav, from '/root/Desktop/AudioEncodeTest/C.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThwu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #2:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for  Input Stream #3.0 : mono
Input #3, wav, from '/root/Desktop/AudioEncodeTest/LFE.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThSu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:47
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #3:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for  Input Stream #4.0 : mono
Input #4, wav, from '/root/Desktop/AudioEncodeTest/Ls.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThIu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #4:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
Guessed Channel Layout for  Input Stream #5.0 : mono
Input #5, wav, from '/root/Desktop/AudioEncodeTest/Rs.wav':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThLu9m5tmaaaGk
    date            : 2017-05-06
    creation_time   : 23:17:46
    time_reference  : 59840000
  Duration: 00:13:03.54, bitrate: 1188 kb/s
    Stream #5:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, 1 channels, s32 (24 bit), 1152 kb/s
[Parsed_amerge_0 @ 0x2242260] No channel layout for input 1
[Parsed_amerge_0 @ 0x2242260] Input channel layouts overlap: output layout will be determined by the number of distinct input channels
Output #0, adts, to '/root/Desktop/AudioEncodeTest/test1.aac':
  Metadata:
    encoded_by      : Pro Tools
    originator_reference: CxThou9m5tmaaaGk
    date            : 2017-05-06
    time_reference  : 59840000
    encoder         : Lavf56.40.101
    Stream #0:0: Audio: aac, 48000 Hz, 5.1, fltp, 640 kb/s (default)
    Metadata:
      encoder         : Lavc56.60.100 aac
Stream mapping:
  Stream #0:0 (pcm_s24le) -> amerge:in0
  Stream #1:0 (pcm_s24le) -> amerge:in1
  Stream #2:0 (pcm_s24le) -> amerge:in2
  Stream #3:0 (pcm_s24le) -> amerge:in3
  Stream #4:0 (pcm_s24le) -> amerge:in4
  Stream #5:0 (pcm_s24le) -> amerge:in5
  amerge -> Stream #0:0 (aac)
Press [q] to stop, [?] for help
size=     481kB time=00:00:08.08 bitrate= 487.6kbits/s    
size=    1085kB time=00:00:15.53 bitrate= 572.1kbits/s    
size=    1811kB time=00:00:24.64 bitrate= 602.1kbits/s    
size=    2564kB time=00:00:34.09 bitrate= 616.1kbits/s    
size=    3339kB time=00:00:43.79 bitrate= 624.4kbits/s    
size=    4014kB time=00:00:52.24 bitrate= 629.3kbits/s    
size=    4871kB time=00:01:02.91 bitrate= 634.2kbits/s    
size=    5540kB time=00:01:11.27 bitrate= 636.8kbits/s    
size=    6305kB time=00:01:20.76 bitrate= 639.5kbits/s    
size=    7089kB time=00:01:30.51 bitrate= 641.6kbits/s    
size=    7849kB time=00:01:39.96 bitrate= 643.2kbits/s    
size=    8601kB time=00:01:49.29 bitrate= 644.7kbits/s    
size=    9342kB time=00:01:58.59 bitrate= 645.3kbits/s    
size=   10111kB time=00:02:08.10 bitrate= 646.6kbits/s    
size=   10790kB time=00:02:16.61 bitrate= 647.0kbits/s    
size=   11513kB time=00:02:25.66 bitrate= 647.5kbits/s    
size=   12251kB time=00:02:34.88 bitrate= 648.0kbits/s    
size=   13015kB time=00:02:44.35 bitrate= 648.7kbits/s    
size=   13760kB time=00:02:53.33 bitrate= 650.3kbits/s    
size=   14509kB time=00:03:02.46 bitrate= 651.4kbits/s    
size=   15193kB time=00:03:10.91 bitrate= 651.9kbits/s    
size=   15852kB time=00:03:19.12 bitrate= 652.1kbits/s    
size=   16547kB time=00:03:27.70 bitrate= 652.6kbits/s    
size=   17195kB time=00:03:35.80 bitrate= 652.7kbits/s    
size=   17841kB time=00:03:43.87 bitrate= 652.9kbits/s    
size=   18512kB time=00:03:52.23 bitrate= 653.0kbits/s    
size=   19216kB time=00:04:00.96 bitrate= 653.3kbits/s    
size=   19871kB time=00:04:09.17 bitrate= 653.3kbits/s    
size=   20510kB time=00:04:17.19 bitrate= 653.3kbits/s    
size=   21176kB time=00:04:25.51 bitrate= 653.3kbits/s    
size=   21886kB time=00:04:34.26 bitrate= 653.7kbits/s    
size=   22528kB time=00:04:42.24 bitrate= 653.9kbits/s    
size=   23233kB time=00:04:50.81 bitrate= 654.4kbits/s    
size=   23919kB time=00:04:59.37 bitrate= 654.5kbits/s    
size=   24588kB time=00:05:07.81 bitrate= 654.4kbits/s    
size=   25240kB time=00:05:16.01 bitrate= 654.3kbits/s    
size=   25918kB time=00:05:24.39 bitrate= 654.5kbits/s    
size=   26567kB time=00:05:32.50 bitrate= 654.5kbits/s    
size=   27234kB time=00:05:40.77 bitrate= 654.7kbits/s    
size=   27938kB time=00:05:49.46 bitrate= 654.9kbits/s    
size=   28615kB time=00:05:57.90 bitrate= 655.0kbits/s    
size=   29299kB time=00:06:06.44 bitrate= 655.0kbits/s    
size=   29968kB time=00:06:14.78 bitrate= 655.0kbits/s    
size=   30623kB time=00:06:23.01 bitrate= 655.0kbits/s    
size=   31357kB time=00:06:31.93 bitrate= 655.4kbits/s    
size=   32122kB time=00:06:41.19 bitrate= 655.9kbits/s    
size=   32885kB time=00:06:50.49 bitrate= 656.3kbits/s    
size=   33641kB time=00:06:59.77 bitrate= 656.5kbits/s    
size=   34417kB time=00:07:09.24 bitrate= 656.8kbits/s    
size=   35188kB time=00:07:18.65 bitrate= 657.1kbits/s    
size=   35980kB time=00:07:28.55 bitrate= 657.1kbits/s    
size=   36795kB time=00:07:38.79 bitrate= 657.0kbits/s    
size=   37595kB time=00:07:48.73 bitrate= 657.0kbits/s    
size=   38293kB time=00:07:57.33 bitrate= 657.2kbits/s    
size=   38993kB time=00:08:05.90 bitrate= 657.4kbits/s    
size=   39730kB time=00:08:14.91 bitrate= 657.6kbits/s    
size=   40440kB time=00:08:23.63 bitrate= 657.8kbits/s    
size=   41094kB time=00:08:31.76 bitrate= 657.8kbits/s    
size=   41802kB time=00:08:40.44 bitrate= 658.0kbits/s    
size=   42500kB time=00:08:49.17 bitrate= 657.9kbits/s    
size=   43219kB time=00:08:58.15 bitrate= 657.9kbits/s    
size=   43897kB time=00:09:06.66 bitrate= 657.8kbits/s    
size=   44614kB time=00:09:15.66 bitrate= 657.7kbits/s    
size=   45372kB time=00:09:25.12 bitrate= 657.7kbits/s    
size=   46110kB time=00:09:34.33 bitrate= 657.7kbits/s    
size=   46852kB time=00:09:43.48 bitrate= 657.8kbits/s    
size=   47553kB time=00:09:52.27 bitrate= 657.7kbits/s    
size=   48290kB time=00:10:01.53 bitrate= 657.6kbits/s    
size=   49038kB time=00:10:10.88 bitrate= 657.6kbits/s    
size=   49763kB time=00:10:19.98 bitrate= 657.5kbits/s    
size=   50477kB time=00:10:28.92 bitrate= 657.5kbits/s    
size=   51191kB time=00:10:37.78 bitrate= 657.5kbits/s    
size=   51835kB time=00:10:45.90 bitrate= 657.4kbits/s    
size=   52489kB time=00:10:54.14 bitrate= 657.3kbits/s    
size=   53136kB time=00:11:02.31 bitrate= 657.2kbits/s    
size=   53808kB time=00:11:10.67 bitrate= 657.2kbits/s    
size=   54458kB time=00:11:18.89 bitrate= 657.1kbits/s    
size=   55109kB time=00:11:27.01 bitrate= 657.1kbits/s    
size=   55807kB time=00:11:35.68 bitrate= 657.2kbits/s    
size=   56552kB time=00:11:44.93 bitrate= 657.2kbits/s    
size=   57219kB time=00:11:53.28 bitrate= 657.2kbits/s    
size=   57709kB time=00:11:59.42 bitrate= 657.1kbits/s    
size=   58353kB time=00:12:07.44 bitrate= 657.1kbits/s    
size=   59084kB time=00:12:16.51 bitrate= 657.2kbits/s    
size=   59762kB time=00:12:24.96 bitrate= 657.2kbits/s    
size=   60414kB time=00:12:33.06 bitrate= 657.2kbits/s    
size=   61055kB time=00:12:41.10 bitrate= 657.1kbits/s    
size=   61685kB time=00:12:49.04 bitrate= 657.1kbits/s    
size=   62329kB time=00:12:57.17 bitrate= 657.0kbits/s    
size=   62715kB time=00:13:03.55 bitrate= 655.7kbits/s    
video:0kB audio:62463kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.401970%

comment:4 by Cigaes, 7 years ago

This is not the output of the exact same command.

comment:5 by Carl Eugen Hoyos, 7 years ago

Component: undeterminedavcodec
Keywords: aac regression added; ffmpeg3 audio encoding removed
Resolution: fixed
Status: newclosed
Version: 3.1.7git-master

I don't think this was ever a valid ticket as the fast aac encoder needed -strict -2 and produced bad quality output but the defaults have changed and the current aac encoder is even faster than the old experimental encoder with default settings.

Note: See TracTickets for help on using tickets.