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

Mar 15, 2010 at 2:11am

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

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.

#49147
Jul 31, 2010 at 12:05am

Is anyone figured how to solve error -50?

Thanks

Luis Marques

#176575
Jul 31, 2010 at 12:07am

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.

#176576
Jul 31, 2010 at 2:04am

I went to movie properties and my video doesn’t have that text track…

Luis Marques

#176577
Jul 31, 2010 at 5:24pm

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:

http://developer.apple.com/mac/library/technotes/tn/tn2125.html#TNTAG29

#176578
Jul 31, 2010 at 5:37pm

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

#176579
Jul 31, 2010 at 6:14pm

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

Thanks,
Joshua

#176580
Jul 31, 2010 at 7:09pm

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

– Pasted Max Patch, click to expand. –

Thanks a lot

Luis Marques

#176581
Aug 1, 2010 at 11:25pm

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]

http://lists.apple.com/archives/quicktime-api/2007/May/msg00202.html

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

#176582
Aug 2, 2010 at 1:23am

Thanks, that was very helpful

Luis Marques

#176583

You must be logged in to reply to this topic.