[FFmpeg-trac] #4985(avdevice:new): unoptimal performance of avdevice/lavfi (compared with -filter_complex)

FFmpeg trac at avcodec.org
Tue Nov 3 16:54:46 CET 2015


#4985: unoptimal performance of avdevice/lavfi (compared with -filter_complex)
----------------------------------+---------------------------------------
             Reporter:  mfcc64    |                     Type:  enhancement
               Status:  new       |                 Priority:  normal
            Component:  avdevice  |                  Version:  git-master
             Keywords:  lavfi     |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
----------------------------------+---------------------------------------
 Benchmark:
 {{{
 % time ffmpeg -loglevel debug -f lavfi -i "allrgb=d=10" -f rawvideo -y
 /dev/null
 real    0m49.313s
 user    0m36.170s
 sys     0m12.982s

 % time ffmpeg -loglevel debug -filter_complex "allrgb=d=10" -f rawvideo -y
 /dev/null
 real    0m26.774s
 user    0m20.389s
 sys     0m6.290s
 }}}

 I suggest this because of data copying, probably it should use
 wrapped_frame.

 Thanks.

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


More information about the FFmpeg-trac mailing list