Jump to content

Transcoding Using a Ton of CPU


Recommended Posts

Posted

Hi, sometimes the cpu will still be involved. I notice this example is burning in subtitles. That is a very expensive process. Try turning off the subtitles and then you should see much better performance. Please let us know if this helps. Thanks.

bigverm23
Posted (edited)

So I have subtitle mode set to no subtitles and allow subtitle extraction on the fly....where else would I turn it off?

 

 

post-339752-0-23592200-1556638624_thumb.png

Edited by bigverm23
Posted

My mistake, this one isn't burning in subtitles, but there will still be some CPU involved. @sodtworkz may have more insight.

bigverm23
Posted

yeah, I would be comfortable with a little CPU usage, but if the GPU is doing all of the heavy lifting in this case, I wouldnt suspect the CPU would be running at over 50% for the duration for the transcode.  I am willing to provide more information to investigate further.

 

I should add this is still a new Ubuntu 19 install so its very possible I'm missing a package or something on my server as well.

Posted

The source file is 10bit (HDR). The GPU cannot convert this to normal colors, that's why all video data is copied back to system memory and them it is color-converted and scaled by the CPU, then the resulting data is copied back to the GPU for encoding.

 

With normal colored videos, you will probably see very different results.

bigverm23
Posted

The source file is 10bit (HDR). The GPU cannot convert this to normal colors, that's why all video data is copied back to system memory and them it is color-converted and scaled by the CPU, then the resulting data is copied back to the GPU for encoding.

 

With normal colored videos, you will probably see very different results.

 

thank you for the quick response, however, I am not sure I am satisfied with this answer.  It may be my lack of knowledge in the matter, but this GPU supports decoding for H.265 (HEVC) 4:2:0 up to 12bit.

 

On my previous server build, which was an intel chip and board, the GPU handled 10bit HDR transcodes without issue and never stressed the CPU.  Now that I'm running and AMD build this seems to have become an issue...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...