[FFmpeg-trac] #5175(avcodec:new): Performance Regression: AVI to WEBM Conversion

FFmpeg trac at avcodec.org
Wed Jan 20 15:34:12 CET 2016


#5175: Performance Regression: AVI to WEBM Conversion
----------------------------------+---------------------------------------
             Reporter:  horstr    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avcodec   |                  Version:  unspecified
             Keywords:  avi webm  |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Summary of the bug:

 After switching from 2.4.3 to 2.8.4, the conversion from AVI to WEBM takes
 significantly longer to complete (8 seconds vs. 61 seconds). The output
 size is more or less identical.

 How to reproduce:

 ffmpeg -f avi -i test.avi -acodec libvorbis -ac 2 -y test.webm

 The sample file "test.avi" is attached.

 2.4.3:

 ffmpeg-old --version
 ffmpeg version 2.4.3-   http://johnvansickle.com/ffmpeg/    Copyright (c)
 2000-2014 the FFmpeg developers
   built on Nov  4 2014 13:14:24 with gcc 4.8 (Debian 4.8.3-13)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --disable-ffserver --enable-
 libass --enable-gnutls --cc=gcc-4.8
   libavutil      54.  7.100 / 54.  7.100
   libavcodec     56.  1.100 / 56.  1.100
   libavformat    56.  4.101 / 56.  4.101
   libavdevice    56.  0.100 / 56.  0.100
   libavfilter     5.  1.100 /  5.  1.100
   libswscale      3.  0.100 /  3.  0.100
   libswresample   1.  1.100 /  1.  1.100
   libpostproc    53.  0.100 / 53.  0.100

 $ ffmpeg-old -f avi -i test.avi -acodec libvorbis -ac 2 -y test.webm && ls
 -l test.webm
 real    0m8.219s
 user    0m8.177s
 sys     0m0.031s
 -rw-r--r--. 1 root root 158993 Jan 20 14:52 test.webm

 2.8.4:

 ffmpeg --version
 ffmpeg version 2.8.4-static http://johnvansickle.com/ffmpeg/  Copyright
 (c) 2000-2015 the FFmpeg developers
   built with gcc 4.9.3 (Debian 4.9.3-10)
   configuration: --enable-gpl --enable-version3 --disable-shared
 --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-
 libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-
 libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig
 --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb
 --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-
 gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls
 --enable-libvidstab --enable-libsoxr --enable-frei0r --enable-libfribidi
 --disable-indev=sndio --disable-outdev=sndio --cc=gcc-4.9
   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
   libswscale      3.  1.101 /  3.  1.101
   libswresample   1.  2.101 /  1.  2.101
   libpostproc    53.  3.100 / 53.  3.100

 $ ffmpeg -f avi -i test.avi -acodec libvorbis -ac 2 -y test.webm && ls -l
 test.webm
 real    1m1.653s
 user    1m1.439s
 sys     0m0.132s
 -rw-r--r--. 1 root root 174055 Jan 20 14:54 test.webm

--
Ticket URL: <https://trac.ffmpeg.org/ticket/5175>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list