Opened 9 years ago
Closed 5 years ago
#12778 closed Bug Report - General (Unverified)
h264 Cap at ~2 threads for encoding?
Reported by: | Owned by: | JYA | |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | MythTV - Mythtranscode | Version: | Unspecified |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
After setting HTTPLiveStreamThreads to 16 and seeing mythtranscode say its encoding with 16 threads (rather than the default 2) the CPU usage only went from 170%->220% (despite plenty of additional free cpus). I do see a hardcoded c->slices = 8; in avformatwriter.cpp for h264, which sets the picture subdivisions im not sure if that is too low for more threads or its something else.
If anyone has any initial thoughts or suggestions I am open to it, otherwise I will start tweaking settings to see if we can allow for more threads.
There is such reference to a cap from about 4 years ago: http://www.gossamer-threads.com/lists/mythtv/users/531170#531170
Closing all old tickets in trac.
If your issue still persists, please open an issue in Github https://github.com/MythTV/mythtv/issues
and reference the existing trac ticket.