It is currently March 28th, 2024, 7:16 pm



Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Generating h.265 preview image too heavy on CPU.
PostPosted: October 13th, 2020, 7:13 pm 

Joined: March 15th, 2020, 9:53 pm
Posts: 91
Hi,

ffmpg will use 100% of CPU by default.

In case of h.265 files, and especially large h.265 files, one image generation overloads whole server.

I tried to limit ffmpg to some number of cores, but every new process starts unlimited.

What can be done to limit CPU load for these processes?


Top
 Profile  
Reply with quote  
 Post subject: Re: Generating h.265 preview image too heavy on CPU
PostPosted: October 13th, 2020, 7:17 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
Hi,

send me via PM at least one of that file (or torrent links where I could download them).

Will make some tests.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Generating h.265 preview image too heavy on CPU.
PostPosted: October 26th, 2020, 6:24 am 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12630
Location: Earth
It really has nothing to do with h.265 in general.

Those are 8K very large resolution files. It needs more CPU it be able to process them.

You can set "Processes limit" to 1 in "Settings" -> "General". That would help a bit (since it would process one file at a time) or upgrade the CPU if you're dealing with large files constantly.

Edit: actually there is separate "threads" option for ffmpeg tool which does help (but then takes longer to process). I will add that option in "Settings" -> "Process" -> "Preview" for next update (1.71).

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC