ViveSoftware / ViveMediaDecoder

A high performance video decoding Unity plugin for Windows.
http://u3d.as/usf
Other
129 stars 36 forks source link

How to seek a particular frame and display on screen #17

Open spaul13 opened 5 years ago

spaul13 commented 5 years ago

I have encoded 5 frames in one video file. Is it possible to show exactly the 4th/5th frame on the unity screen?

As per observation, I have seen the current time of the video is getting changed while playback but it's not changing uniformly.

On this context, can anyone (@kyo8568131, @OlafZwe) please tell me how to exactly display particular fame?

kyo8568131 commented 5 years ago

Unfortunately it is not supported directly by this plugin. However, you can modify the native code for your customization.

spaul13 commented 5 years ago

Thanks a lot for the reply. I can't build the native scripts. @kyo8568131 can you please attach the build script for the native code? Or can I please tell me how to build it properly?