Skip to content

The transcoder does not fully utilize the CPU. #1647

Answered by Keukhan
Bistiara asked this question in Help
Discussion options

You must be logged in to vote

@Bistiara

First, I fixed the issue with thread usage not being accurate. I also added the x264 library.
In short, OpenH264 doesn't show the exact number of threads it creates. It looks like all the encoders share the same threads. but, the H264 decoder, scaling filter, and x264 encoder seem to handle CPU thread usage well.

To use x264, use <Codec>h264_x264</Codec>

Patches

CPU load balance test result

The patched code has not been released yet. The next version will be released soon. thanks.

Replies: 2 comments 10 replies

Comment options

bchah
Jun 16, 2024
Collaborator Sponsor

You must be logged in to vote
1 reply
@Bistiara
Comment options

Comment options

getroot
Aug 13, 2024
Maintainer Sponsor

You must be logged in to vote
9 replies
@Keukhan
Comment options

Keukhan Aug 26, 2024
Maintainer Sponsor

@Bistiara
Comment options

@Bistiara
Comment options

@Keukhan
Comment options

Keukhan Nov 4, 2024
Maintainer Sponsor

Answer selected by Keukhan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
patched Patch applied
4 participants
Converted from issue

This discussion was converted from issue #1646 on June 14, 2024 12:53.