- Home /
Movie Texture playback choppy on Xbox One
Hi all,
I have found a lot of threads related to the Movie Texture class but nothing related to a development on XboxOne.
My problem is fairly simple, for the Xbox One project I am working on (Unity 5.1.1.4), all I need is to simply playback a video on a quad. To do that I am using the Movie Texture class but I can't get the video to playback smoothly.
After reading many older threads, I opted for an OGG THEORA video instead of a MOV or MP4. The result was better than with my original MOV but still not satisfying. The video is very choppy, like the video frame rate keeps dropping. However the test I did was with a small 640x640 video of only about 3Mb.
Just in case, here is the script I use to play the video (thanks to DarkMagicCK - http://answers.unity3d.com/questions/192542/speed-up-video-play.html)
using UnityEngine;
using System.Collections;
public class PLAY_M : MonoBehaviour {
public MovieTexture myMovieTex;
public AudioSource myAudioSource;
public float VidSpeed;
void Start()
{
myAudioSource.clip = myMovieTex.audioClip;
myAudioSource.pitch = VidSpeed; //The scale factor you want
myMovieTex.loop = true;
myMovieTex.Play();
myAudioSource.Play();
}
}
Thanks in advance to anyone who could provide some help !
Your answer
Follow this Question
Related Questions
MovieTexture stops playing after first frame 0 Answers
Movie Texture and EndUser's PC 0 Answers
On movie end 1 Answer
Movie Texture 0 Answers
www.movie.other formats 1 Answer