[FFmpeg-trac] #7960(undetermined:new): Trying to encode to AV1 results in "g_threads out of range [..64]" error

FFmpeg trac at avcodec.org
Tue Jun 18 00:38:36 EEST 2019


#7960: Trying to encode to AV1 results in "g_threads out of range [..64]" error
--------------------------------------+----------------------------------
             Reporter:  cyrozap       |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  4.1
             Keywords:                |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
--------------------------------------+----------------------------------
 On FFmpeg version 4.1.3 (as distributed by Debian), on a system with 144
 CPU threads, trying to encode any media as AV1 fails with the message
 "[libaom-av1 @ 0x137013140]   Additional information: g_threads out of
 range [..64]". I've attached the verbose log if you'd like to see it.

 It seems this has already been fixed in
 [https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/b87063c06dde35ef6b56f51df7642661a3b115da
 this commit], but that patch is only in git master, so the issue still
 exists in the stable version.

 Would it be possible for this patch to be applied to the 4.1 branch?

 Also, other than building FFmpeg myself, is there any way I can work
 around this issue? e.g., is there a "limit max CPUs" option I can set
 somewhere?

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


More information about the FFmpeg-trac mailing list