[FFmpeg-trac] #7542(undetermined:new): Low encoding performance depending on input method with filter complex

FFmpeg trac at avcodec.org
Fri Nov 9 13:09:13 EET 2018


#7542: Low encoding performance depending on input method with filter complex
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  daneelveloper                      |                 Priority:  normal
               Status:  new          |                  Version:
            Component:               |  unspecified
  undetermined                       |               Blocked By:
             Keywords:               |  Reproduced by developer:  0
             Blocking:               |
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 For testing video encoding performance (audio is negligible) I'm using
 command line ffmpeg.exe (4.0.2) and a single video clip. 1920x1080, 29.97
 fps, h264 video, aac audio 48000khz stereo.

 The following command encodes at an average 4.5x speed:


 {{{
 ffmpeg -i input.mp4 -filter_complex "negate" -c:v mpeg4 -y output.mpeg
 }}}


 But the next command only gets to 1.7x speed:


 {{{
 ffmpeg -filter_complex "movie=input.mp4,negate" -c:v mpeg4 -y output.mpeg
 }}}

 The difference is quite remarkable considering both are basically the same
 process. Maybe ''movie'' filter could be improved to speed encoding up.

 Thank you.

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


More information about the FFmpeg-trac mailing list