[FFmpeg-trac] #1257(avcodec:new): ffmpeg multithread decoding, the rate is not improved

FFmpeg trac at avcodec.org
Sat Apr 28 09:47:30 CEST 2012

#1257: ffmpeg multithread decoding,the rate is not improved
             Reporter:  xiaoyu       |                     Type:
               Status:  new          |  enhancement
            Component:  avcodec      |                 Priority:  wish
             Keywords:  multithread  |                  Version:  git-
  decode                             |  master
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
 I'm trying to decode .264 file using ffmpeg with -threads option,i'm using
 a dual-core computer and build ffmpeg using the pthread option,but  the
 rate is not improved,i wonder what is the reason.
 my command line is:
 time ./ffmpeg -y -threads 2  -thread_type slice -i test.264 test.yuv
 time ./ffmpeg -y -threads 1 -i test.264 test.yuv
 the time is close,i didn't see any improvement.
 i tried to encode and transcode video using -threads option,i can see
 great improvment about twice speed improvent ,why does the multithread
 decode is not good?
 i hope that someone  can help me solve the problem!

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1257>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list