[FFmpeg-trac] #3730(undetermined:new): libx265 ignores threads option.

FFmpeg trac at avcodec.org
Fri Jun 20 12:08:29 CEST 2014


#3730: libx265 ignores threads option.
-------------------------------------+-------------------------------------
             Reporter:  Danixu       |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  git-
  undetermined                       |  master
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:
 Ffmpeg ignores the -threads option with libx265. I've tried with libx264
 and works fine, it uses about 60% of processor, but with libx265 uses
 about 95% (full processor).
 I'm using Windows 7 SP1 on a Core2Duo 2GHZ CPU (2 threads).

 How to reproduce:
 {{{
 % ffmpeg -threads 1 -i salida.mp4 -c:v libx265 -b:v 500k -b:a 128k -preset
 superfast "salida2.mp4"
 }}}

 and just the same command but with libx264 instead libx265 works fine.

 Ffmpeg info:
 {{{
 ffmpeg version N-64088-gcc0057a Copyright (c) 2000-2014 the FFmpeg
 developers
   built on Jun 20 2014 00:41:14 with gcc 4.8.3 (GCC)
   configuration: --enable-gpl --enable-version3 --disable-w32threads
 --enable-av
 isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls
 --enab
 le-iconv --enable-libass --enable-libbluray --enable-libcaca --enable-
 libfreetyp
 e --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug
 --enable-
 libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-
 libope
 njpeg --enable-libopus --enable-librtmp --enable-libschroedinger --enable-
 libsox
 r --enable-libspeex --enable-libtheora --enable-libtwolame --enable-
 libvidstab -
 -enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-
 libvpx
 --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265
 --enable-
 libxavs --enable-libxvid --enable-decklink --enable-zlib
   libavutil      52. 89.100 / 52. 89.100
   libavcodec     55. 67.100 / 55. 67.100
   libavformat    55. 44.100 / 55. 44.100
   libavdevice    55. 13.101 / 55. 13.101
   libavfilter     4.  8.100 /  4.  8.100
   libswscale      2.  6.100 /  2.  6.100
   libswresample   0. 19.100 /  0. 19.100
   libpostproc    52.  3.100 / 52.  3.100
 }}}

 Is the lastest Zeranoe build for Win64.

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


More information about the FFmpeg-trac mailing list