Forums > Jitter

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

March 15, 2010 | 2:11 am

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.


July 31, 2010 | 12:05 am

Is anyone figured how to solve error -50?

Thanks

Luis Marques


July 31, 2010 | 12:07 am

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.


July 31, 2010 | 2:04 am

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

Luis Marques


July 31, 2010 | 5:24 pm

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


July 31, 2010 | 5:37 pm

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


July 31, 2010 | 6:14 pm

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

Thanks,
Joshua


July 31, 2010 | 7:09 pm

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


August 1, 2010 | 11:25 pm

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


August 2, 2010 | 1:23 am

Thanks, that was very helpful

Luis Marques


Viewing 10 posts - 1 through 10 (of 10 total)