Posts: 23,371
Joined: Aug 2011
Reputation:
1,088
fritsch
Team-Kodi Developer
Posts: 23,371
Let me help you.
Why can a 40 Dollar braswell decode hevc 8 bit 4k 40 Mbit while an ivb quadcore 3.4 GHz cannot?
Why will upcoming 3w Apollo Lake play your files, but not your 4770k?
Answer: cause one has capable Silicon and the other not. All argueing won't help.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 157
Joined: Jun 2014
Reputation:
1
More like ffmpeg hevc decoder doesn't use sse/avx as much as it could.
Out of curiosity what fps do you get if do -
ffmpeg -i Sony_4K_Camp.mp4 -f null -
Posts: 23,371
Joined: Aug 2011
Reputation:
1,088
fritsch
Team-Kodi Developer
Posts: 23,371
@AndyFurniss: On what is that assumption based? Just guessing? Or do you have that file running on THIS hardware using another decoder / render?
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 157
Joined: Jun 2014
Reputation:
1
Vague memories of a developer saying more needs to be done. Of course that was some time ago and more may well have been done since.
There are still patches adding avx appearing on libav devel - so I guess it can get better. Just looking at the amount of files in libavcodec/x86 for hevc compared to h264 seems to be less stuff done - though I don't really know how much there is to be gained.
My old CPU (Phenom II x4) never seemed to benefit much (over initial hevc commit) - probably because it only does sse2.
On the h/w I just was curious what an i7-6700K can do on the test I gave = benching ffmpeg CPU decode without render. If it's close then maybe someday it could play that file.
Posts: 23,371
Joined: Aug 2011
Reputation:
1,088
fritsch
Team-Kodi Developer
Posts: 23,371
20 % missing + zero copy renderpath.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 157
Joined: Jun 2014
Reputation:
1
Thanks. It seems that idct and sao already have AVX2 so maybe +20% is out of reach for "other stuff" whatever that means.
I looked on libav archive for the patch I saw and it's not going to help AVX2 CPUs as they already have SIMD for IDCT, it's for AVX and SSE2 the latter being good for me. I tested it and I get +25% on this sample.
Unfortunately going from 14 fps to 18 fps isn't really going to help much :-)