libde265 icon indicating copy to clipboard operation
libde265 copied to clipboard

Bad Performance

Open rahbari opened this issue 7 years ago • 2 comments

I compiled Sherlock265, but it takes 40ms to 100ms to decode each frame of 1080p with 4 or even 8 threads on i7-4820K with 60% usage. VLC plays the same video smoothly with 15% cpu usage. I almost checked everything and couldn't find anything. I even commented show_frame but it's still the same.

I saw https://www.libde265.org/blog/2014/02/28/libde265-hevc-performance/ which suggests Libde265 can get to 125fps (8ms) for 1080p and the javascript player which plays smoothly.

rahbari avatar Nov 04 '18 12:11 rahbari

I found out that I accidentally removed QMAKE_CXXFLAGS *= -fPIC, by adding this I got to 10ms, is there any other flag that can help?

rahbari avatar Nov 04 '18 21:11 rahbari

sherlock265 is not meant for viewing real-time video. It's display routines are slow because of the diagnostic overlays that it draws. Use dec265 for example, it has fast display colorspace conversions.

farindk avatar Nov 05 '18 09:11 farindk