Posts: 2
Joined: Aug 2014
Reputation:
0
2014-08-12, 10:04
(This post was last modified: 2014-08-12, 10:05 by Benjamins.)
My 4k trailer conveted to HEVC uses all my CPU and the video from that site uses about %80 of my CPU, are there going to me optimization to the HEVC decoder or a open cl version to my GPU can take the hit not my CPU?
my CPU is a 4770k overclocked to 4.4 Ghz
CPU usage was system not XBMC, my system has about %30 or less for background stuff at the time.
Posts: 19,982
Joined: May 2009
Reputation:
451
nickr
Retired Team-Kodi Member
Posts: 19,982
2014-08-12, 10:32
(This post was last modified: 2014-08-12, 10:33 by nickr.)
No doubt the ffmpeg HEVC decoder will get better over time.
There is presently no hardware acceleration solution. The next gen of nvidia gpus (maxwell, but not the early ones) are apparently going to have hevc support, at least thats what Phoronix say.
Are all your cores being used?
If I have helped you or increased your knowledge, click the 'thumbs up' button to give thanks :) (People with less than 20 posts won't see the "thumbs up" button.)
Posts: 10,518
Joined: Oct 2011
Reputation:
637
jjd-uk
Team-Kodi Member
Posts: 10,518
2014-08-12, 18:31
(This post was last modified: 2014-08-12, 18:31 by jjd-uk.)
Yes it's what's known as hybrid mode where some of it is done in hardware and some is in software on the GPU, so CPU load will still be lower than than full CPU software decode but won't be as power efficient as full Hardware GPU decode.
Both Nvidia Maxwell and Intel Broadwell use this hybrid mode for H.265 & VP9, and I would expect any others claiming H.265 support will also be using hybrid mode with full hardware decode not likely to surface until next year. Not that disappointing really as this was to be expected as both Maxwell and Broadwell would have started development long before the H.265 spec's were finalised.
Posts: 2
Joined: Aug 2014
Reputation:
0
when I converted a 4k trailer to 265 my PC did it at 1-2 FPS, I was using a beta/alpha version of handbrake. I cant wait to see hardware accelerated 265 will do for streaming like youtube and twitch.
Posts: 478
Joined: Jun 2008
Reputation:
0
encoding with x265 is always going to be resource intensive, compared to playback...
if you think about it, same situation with x264 on hardware a few years back...
D.
Posts: 5,174
Joined: Jan 2010
Reputation:
97
Kib
Team-Kodi Member
Posts: 5,174
I'd rather spend a little bit on disk space, then having to playback everything on the CPU instead of accelerated.
I believe HEVC (the name h265 was rejected) will become interesting only when there are hardware decoders available.
Posts: 1,605
Joined: Jul 2007
Reputation:
51
I'm tempted to see how fast that actually encodes on my hex core Intel. Not expecting amazing results.
Posts: 2,771
Joined: Mar 2011
Reputation:
95
I just ran it on my i7-4790K (a mere 4 cores at 4GHz - sorry, I can't compete!). It re-encoded a 1h25m BR rip animation in about realtime - much the same as an x264 encode on this material, although I'm not claiming any scientific validity for that observation, as I can transcode 1080p live action in realtime as well.
All other settings the same (notably RF20 with the same decomb and key-int settings) and it spat out a file size of 3.0Gb versus 3.6Gb under H.264. Okay, hardly a detailed, grainy, fast-moving source, but it gives an indication. The good news is that I can't see the difference in quality when playing back in VLC (Kodi not tested, I don't have Helix on this system); the bad is that I see CPU load go from ~ 5% to ~15%, which would kill a low-powered system without silicon assistance.