[FFmpeg-trac] #187(undetermined:new): 3GP/MP4 performance regression

FFmpeg trac at avcodec.org
Wed May 11 01:37:43 CEST 2011


#187: 3GP/MP4 performance regression
--------------------------+--------------------------
 Reporter:  jsd           |        Type:  defect
   Status:  new           |    Priority:  normal
Component:  undetermined  |     Version:  unspecified
 Keywords:                |  Blocked By:
 Blocking:                |  Reproduced:  0
 Analyzed:  0             |
--------------------------+--------------------------
 Download source file from here:
 http://tm-west.s3.amazonaws.com/2423.mp4  (74MB)

 I have a fairly old build of ffmpeg -

 FFmpeg version SVN-r24841, Copyright (c) 2000-2010 the FFmpeg developers
   built on Aug 19 2010 16:20:28 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)

 With the following command line, it processes this particular MP4 file
 acceptably fast (about 90 seconds)

  /usr/local/bin/ffmpeg -i 2423.mp4 -s 480x352 -vcodec libx264 -acodec
 libfaac -vpre fast -b 300k -bt 300k -threads 0 2423.mp4.mp4

 The last line from ffmpeg is:
 frame= 5235 fps= 64 q=-1.0 Lsize=    7171kB time=175.40 bitrate=
 334.9kbits/s


 I built ffmpeg from the latest tarball today and something has happened so
 that it runs incredibly slowly and eventually gives up.

 /usr/local/bin/ffmpeg -loglevel quiet -v 0 -i
 /tmp/videoproc-11865/2423.mp4 -s 480x352 -an -pass 1 -vcodec libx264 -vpre
 fast_firstpass -b 300k -bt 300k -threads 0
 /tmp/videoproc-11865/2423.mp4.mp4

 ffmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
    built on May  5 2011 11:01:27 with gcc 4.1.2 20080704 (Red Hat
 4.1.2-48)
    configuration: --enable-gpl --enable-libfaac --enable-libmp3lame
 --enable-libx264 --enable-pthreads --enable-static --disable-shared
 --disable-network --enable-nonfree
    libavutil    51.  2. 0 / 51.  2. 0
    libavcodec   53.  3. 0 / 53.  3. 0
    libavformat  53.  0. 3 / 53.  0. 3
    libavdevice  53.  0. 0 / 53.  0. 0
    libavfilter   2.  4. 0 /  2.  4. 0
    libswscale    0. 14. 0 /  0. 14. 0

 Seems stream 1 codec frame rate differs from container frame rate:
 60000.00 (60000/1) -> 30000.00 (60000/2)
 Stream mapping:
    Stream #0.1 -> #0.0
  Press [q] to stop encoding

  sh: line 1: 11883 File size limit exceeded

 It took 2 hrs and 11 minutes for that command to run and fail.

-- 
Ticket URL: <http://ffmpeg.org/trac/ffmpeg/ticket/187>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list