adrenak / GPUVideoPlayer

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

Simultaneous playback of multiple streams #12

Open integerk opened 5 years ago

integerk commented 5 years ago

I tried to play two streams using GPUVideoPlayer, but 2nd stream didn't play (black texture). And I also tried to play GPUVideoPlayer and VideoPlayer(unity standerd) simultaneously. GPUVideoPlayer play normaly and VideoPlayer didn't play(black texture). I also confirmed VideoPlayer can play multiple streams simultaneously.

Dose GPUVideoPlayer support multiple streams? Why dose GPUVideoPlayer block VideoPlayer playback?

adrenak commented 5 years ago

Do you have a sample scene you can provide? also have you tried other video players like AVPro?

integerk commented 5 years ago

I put sample scene on GPUVideoTextureTest branch. (https://github.com/integerk/GPUVideoPlayer.git) Please check it. GPUVideoTexturex2 scene is the problem scene.

I have one mistake. GPUVideoPlayer and VideoPlayer can play simultaneously. I'm sorry. About AVPro, the asset is too expensive for me, so I couldn't try it. sorry again.

adrenak commented 5 years ago

Hi @integerk , I haven't been able to find any solution for this but I will pin it so that someone more familiar with C++ could have a look down the line. Thanks