adrenak / GPUVideoPlayer

Fast video playback on Unity using GPU Decoding
MIT License
128 stars 29 forks source link

about h265 video play details #6

Closed fingerx closed 5 years ago

fingerx commented 5 years ago

i saw "GPUVideoPlayer was tested with an 800mb 8192x4096 30FPS H265 MP4 video file. Loading took 195 ms. Video playback was at 30FPS with Unity's framerate at 60." this is great.Can you provide detailed information on this video or download link? Because I tested a 4k and 8k video playback with color errors and not smooth (the original project and my own compilation are the same). I have to run the system win10 64bit, the graphics card is amd w8100, e5-2630, I am not sure if it is my hardware problem.

adrenak commented 5 years ago

Hey, do you have this? https://www.microsoft.com/en-us/p/hevc-video-extensions/9nmzlz57r3t7?activetab=pivot%3Aoverviewtab

I am not very informed about HEVC. I have a GTX 1080 and the playback was choppy as well until I installed that. The video was of a client and I can't share it.

fingerx commented 5 years ago

i am installed HEVC Video Extensions from Device Manufacturer in ms store. using ms defualt video player is smooth but use plugin is not good.

adrenak commented 5 years ago

Not sure what the reason is, but I also had HEVC Video Extensions from Device Manufacturer before and had the same issue. Later a client told me I need HEVC Video Extensions which is the one I mentioned above. Purchased that and it started working.

I think that if you play a video check your task manager, you will see under performance that the video decode usage is almost zero. Without HEVC Video Extensions the decoding is happening on the CPU, hence it is slow.

fingerx commented 5 years ago

thanks very much . i dont know why ms need 1$ . unity 2019 support h265 video .

adrenak commented 5 years ago

I guess it's a just princely amount, for some reason it could not be made free