asyncread errors: jit.qt.movie: error -50 creating new movie from file

derp mcderpington's icon

upon trying to perform a jit.qt.movie asyncread command, this happens randomly on different files, even with the included /media folder, either with javascript or a poly~ (andrew benson's vps-4 patch).

anyone ever figure out why? this issue has persisted for awhile.

Luis Marques's icon

Is anyone figured how to solve error -50?

Thanks

Luis Marques

derp mcderpington's icon

there was a post on the boards somewhere that said deleting any generated text/subtitle tracks using quicktime pro seemed to alleviate some of these issues.

Luis Marques's icon

I went to movie properties and my video doesn't have that text track...

Luis Marques

Joshua Kit Clayton's icon

Since asyncread works in another thread, I assume you are trying to load a file whose codec is not threadsafe.

A list of threadsafe and non-threadsafe components is listed here:

derp mcderpington's icon

i've experienced this with photojpeg in the past, so im unsure of that being the sole cause.

Joshua Kit Clayton's icon

Okay, we can investigate further, but we'll need a patch and a link to a sample file, please.

Thanks,
Joshua

Luis Marques's icon
Max Patch
Copy patch and select New From Clipboard in Max.

hi, the patch is simply a message box whit "asyncread" connected to jit.qt.movie.
I post the video link and the patch here.
http://dl.dropbox.com/u/1067597/005.mov

Thanks a lot

Luis Marques

Joshua Kit Clayton's icon

Thank you. I was able to reproduce on my machine. This example file is Sorenson Video 3. It would appear that this codec is not threadsafe. Here's one thing I found when googling [quicktime sorenson thread safe component]

I am not familiar with how Sorenson Video 3 relates to "Apple Sorenson" which is allegedly threadsafe according to the chart in the earlier link I sent, however this codec doesn't seem to work.

After I exported the movie to Photo-JPEG (video), AAC (audio), it loaded fine with asyncread.

So, AFAICT, my analysis remains appropriate to the reported problem. However, if someone can provide an example movie file which in theory should work (or definitive documentation or evidence that Sorenson Video 3 is in fact threadsafe), there may be some other problems. Keep in mind that the audio component, and perhaps additional tracks (like text/subtitle tracks mentioned in some of the asyncread threads) also need to be considered regarding whether or not the movie may be loaded in a background thread.

-Joshua

Luis Marques's icon

Thanks, that was very helpful

Luis Marques