New submission from Reado <[email protected]>:

FFmpeg version git-8ed4cc6, Copyright (c) 2000-2011 the FFmpeg developers
  built on Feb 15 2011 15:35:38 with gcc 4.1.2 20080704 (Red Hat 4.1.2-48)
  configuration: --prefix=/usr --enable-shared --enable-gpl --enable-nonfree
--enable-version3 --enable-pthreads --enable-postproc --enable-libx264
--enable-libfaac
  libavutil    50. 37. 0 / 50. 37. 0
  libavcore     0. 16. 1 /  0. 16. 1
  libavcodec   52.113. 1 / 52.113. 1
  libavformat  52.100. 1 / 52.100. 1
  libavdevice  52.  2. 3 / 52.  2. 3
  libavfilter   1. 76. 0 /  1. 76. 0
  libswscale    0. 12. 0 /  0. 12. 0
  libpostproc  51.  2. 0 / 51.  2. 0

Command: ffmpeg -i 20110211_092600.MTS -acodec libfaac -ab 128k -ac 2 -ar 44100
-vcodec libx264 -vpre slow -vf yadif=1,scale=854:480 -b 2000k -qmin 22 -qmax 27
-aspect 16:9 -threads 0 -f mp4 -y part1.mp4

Using the command above, FFMPEG doesn't use multiple threads. It used to, but
recently it's stopped doing it. I have to change the threads value to something
other than 0 to get it to use multiple threads. For example, changing it to 4 or
8 and 300% or more CPU is used. Whereas if it's set to 0, less than 100% CPU is
used.

My server has 2 CPUs (8 cores) with 4GB RAM and I'm running CentOS 5.5 x64.

----------
messages: 13678
priority: normal
status: new
substatus: new
title: FFMPEG isn't using multiple threads automatically
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2609>
________________________________________________

Reply via email to