x


Movie Texture - lost first few seconds and long start up times

Ran into a really strange problem with movie textures.

I've got sorenson video 3, MPEG layer 3 quicktime mov (3 minutes long, 768x432pixels). It plays fine in Quicktime (win 7) but when imported into Unity the first 4 seconds are just black or cut off entirely (its hard to tell via the preview). It also takes a good few seconds to start playing.

Obviously i'm going to have to try using a different mov format, but just wondering if anyone else has had similar issues and what if any solutions were found?

more ▼

asked Jul 21 '10 at 07:14 PM

Noisecrime gravatar image

Noisecrime
1.5k 17 23 40

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

ok seem to have an answer for this.

For some reason playing an embedded movie in Unity suffers this problem, which appears to be more a case of a long delay, meaning the first few seconds are missed, rather than any codec issue.

Playing the same movie via WWW using a local file does not have this problem, it plays instantly, has no black frames and doesn't cut off the first few seconds.

My assumption is that when playing the embedded version it must be loading the entire movie or a considerable part of it into memory before playing. This means when it does start playing it has to skip forward a few seconds to be in sync.

I'd say this is a bit of abug as clearly WWW verison plays fine.

For reference I used the answer to this question.

more ▼

answered Jul 21 '10 at 08:09 PM

Noisecrime gravatar image

Noisecrime
1.5k 17 23 40

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x525
x107

asked: Jul 21 '10 at 07:14 PM

Seen: 1388 times

Last Updated: Jul 21 '10 at 08:11 PM