I'd like to use AVFoundation to display a video on osx. I would like to initialize the movie from raw data at runtime. According to this document: https://developer.apple.com/library/mac/#technotes/tn2300/_index.html AVAsset
is the equivalent of QTKit's QTMovie
. QTMovie
has the function movieWithData:error:
to load the video from data, while i could not find anything similar in AVAsset
. So, is it possible to do the same thing in AVFoundation at all?
Thank you