Jump to content

media scan for one week now, ffmpeg and ffprobe 100% CPU


Recommended Posts

Posted

Hello all

 

Media Browser has been my plugin of choice for MCE for years now, a great plugin with great features, all thanks to the effort of the developers. Thank you for that.

 

 

I used MB v2 (with Diamond theme) but the automatic subtitles download stopped working for a while now, so two weeks ago I upgraded to emby.

The MCE is a windows 7 ultimate 32b computer (dual-core 3GHz, 4G RAM, ATI videocard, SSD + 4 SATA hard drives) that is used just for that, connected directly to a big LG LED-TV.

Until the upgrade, no issues in performance or speedy browsing through the media collections, around 700 movies all in 1080p, the TV native resolution.

 

However, since the upgrade to emby, the PC became sluggish, browsing the media on MCE/emby takes a lot of time and even media access takes a lot of time.

I found that ffmpeg and ffprobe are taking up to 100% of the cpu and, looking at the servers scheduled tasks, the media library scan is still in progress, hanged at around 65%. It's been like this for over a week, although I've restarted emby server and even the PC several times.

 

I know that ffmpeg is used for transcoding, by I'm not accessing the emby server with any other device, and all the media is at the right resolution for local playback, so no transcoding should occur.

 

I've disabled all transcoding related tasks that I could find, leaving enabled only the dlna server, and everything else in "automatic" or default configuration, but the result is the same.

 

Can someone point me to the right direction on solving this issue?

 

thanks in advance and best regards

Alex

Posted

There is an issue where occasionally ffmpeg will continue running even when it is no longer needed. Restart the server and then kill any rogue ffmpeg processes that are still running.

 

But first check to see if you have a Media Scan scheduled to run at start up - I'd suggest cancelling that task if it's there.

 

Also a Media Scan will extract chapter images at the same time (if the server is configured to do so). The chapter thumbnail extract process also uses ffmpeg and for a new library this can be very time consuming. There is an option to turn off chapter extraction during scans - I'd suggest doing that until you have the first scan fully complete. Then at some point run the Chapter Extraction task separately (overnight would be a good idea for a large library). You could then re-enable chapter extraction during scans.

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...