- Home /
MovieTexture Issue
Recently Today I have tried creating a movie texture and yes I do have unity pro. There seems to be an issue when I create it and play it using a label, it plays video fine, only problem is there is no sound. So I search and others say to have it as an audioclip, it now plays sound but theres another issue with that too. It plays the video and sound at ridiculous speed, 30 second video into a 5 second video.
Heres my code
void StartMovie(int WindowID)
{
duration += Time.deltaTime/2;
GUI.Label(new Rect(0,0,MovieWindow.width,MovieWindow.height),TempMovie);
TempMovie.Play();
TempStart.clip = TempClip;
//TempStart.Play();
GUI.Label(new Rect(Screen.width/2-30,Screen.height-50,60,50),duration+"/"+TempMovie.duration.ToString());
}
I don't see what I'm doing wrong with this so if anyone can help that would be great. , Thankyou.
Sort of figured out why. Seems to be that if the movie and audio that needs to play is in a continuous function like update or OnGUI, it makes the video and sound play faster. Does anyone else get the same issue with movietextures
Your answer
Follow this Question
Related Questions
I want to play a MovieTexture inside a GUITexture but I can't hear the sound. Why 2 Answers
Intermittent MovieTexture Audio Track Problem 1 Answer
MovieTexture - Black Video with Audio 0 Answers
Unity 4.1 Movie Texture issue 0 Answers
is there any way to play multi-channel audio from the movietexture object? 0 Answers