![adjust audiospeed unity adjust audiospeed unity](https://koenig-media.raywenderlich.com/uploads/2019/01/audio-source-515x500.png)
dioOutputMode = VideoAudioOutputMode.AudioSource Disable Play on Awake for both Video and Audio OutputRenderer = gameObject.AddComponent() Public class VideoSpeedControl : MonoBehaviour It has audio for testing purposes and you can remove it if you don't want audio like you mentioned in your post. You can also access the material from the video in the outputRenderer or outputRenderer.material variable. The code below should project the video on any GameObject called " DisplayObject". In this case, you should set the VideoPlayer.renderMode to VideoRenderMode.MaterialOverride You mentioned that you want the image to be projected on a material. You can use the code in this answer to play video on RawImage then add the code below to set the playback speed. If it returns true, you can then set the video playback speed by simply changing the aybackSpeed property. With the new Unity VideoPlayer API, you can check if you can set the playback speed on the platform with VideoPlayer.canSetPlaybackSpeed.
#ADJUST AUDIOSPEED UNITY MOVIE#
You don't need Easy Movie Texture to do this and you don't even need to get the video frames to do this. The video format is not yet fixed, so whatever is easiest. So please point me in the right direction or maybe even give me a solution if you have. I imagine to decode it at runtime and then display the delta's. If I could do that myself and control it frame by frame I'd solve my problem. So as far as I know a normal video player solves that by not saving and displaying every frame but just delta between them.
![adjust audiospeed unity adjust audiospeed unity](https://masterwith.me/wp-content/uploads/2021/03/image-37.png)
The problem is that this is a nightmare from a memory and performace point of view. The video does not have any sound, so it's that easy. This way I can control the video speed by simply changing the time until displaying the next frame. In short, the author breaks the video into its frames and then displays it frame by frame. I found a problematic solution in this post. Easy Movie Texture but they do not allow me to control the speed of the video. As I target mobile devices I cannot use MovieTexture. I need to play a video projected on a Material in Unity and I need to control the speed of that video at runtime. So any hints in the right direction are welcome.
#ADJUST AUDIOSPEED UNITY HOW TO#
My general problem is that I need to play and control the speed of a video (no sound) inside a Unit圓D world and probably need to control the decoding myself and I have absolutely no idea how to do that efficiently.