#7960 closed enhancement (fixed)
Trying to encode to AV1 results in "g_threads out of range [..64]" error
Reported by: | cyrozap | Owned by: | |
---|---|---|---|
Priority: | wish | Component: | avcodec |
Version: | 4.1 | Keywords: | av1 |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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 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?
Attachments (1)
Change History (4)
by , 5 years ago
Attachment: | ffmpeg-20190617-154901.log added |
---|
comment:1 by , 5 years ago
Component: | undetermined → avcodec |
---|---|
Keywords: | av1 added |
Priority: | normal → wish |
Resolution: | → wontfix |
Status: | new → closed |
Type: | defect → enhancement |
comment:2 by , 5 years ago
Resolution: | wontfix → fixed |
---|
Backported as 72f03b2af489af4c6d2efc6006629d1f2dabdead. Will be included in 4.1.4
And as cehoyos said, the -threads output parameter should work around this in the meantime.
You should ask the Debian maintainers.
Does
-threads
not work?