[FFmpeg-devel] ffmpeg multithread decoding, the rate is not improved

jiayaowang jiayaowang at gmail.com
Mon May 14 11:39:00 CEST 2012

Please make sure that the test.264 has multi-slices in one picture.



发件人: 艾薇妮 
发送时间: 2012-04-28  16:02:49 
收件人: ffmpeg-devel 
主题: [FFmpeg-devel] ffmpeg multithread decoding, the rate is not improved 
 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 would be so much appreciated that if you  can answer me this question!
ffmpeg-devel mailing list
ffmpeg-devel at ffmpeg.org

More information about the ffmpeg-devel mailing list