K Kareny macrumors newbie Original poster Jun 21, 2010 22 0 Nov 22, 2010 #1 Hi everyone, Could anyone help me to convert a movie to byte? Thanks a lot~
I ianray macrumors 6502 Jun 22, 2010 452 0 @ Nov 22, 2010 #2 What form does this "movie" take, prior to conversion? Is it a file on disk, a network resource, in the media library, in RAM as an instance of some iOS class, or something else...?
What form does this "movie" take, prior to conversion? Is it a file on disk, a network resource, in the media library, in RAM as an instance of some iOS class, or something else...?
K Kareny macrumors newbie Original poster Jun 21, 2010 22 0 Nov 22, 2010 #3 ianray said: What form does this "movie" take, prior to conversion? Is it a file on disk, a network resource, in the media library, in RAM as an instance of some iOS class, or something else...? Click to expand... Hi ianray, thanks for replying! This movie was taken by iPhone, and saved in the media library.In my programming, I'd like to convert this movie to byte, in order to upload it.
ianray said: What form does this "movie" take, prior to conversion? Is it a file on disk, a network resource, in the media library, in RAM as an instance of some iOS class, or something else...? Click to expand... Hi ianray, thanks for replying! This movie was taken by iPhone, and saved in the media library.In my programming, I'd like to convert this movie to byte, in order to upload it.
I ianray macrumors 6502 Jun 22, 2010 452 0 @ Nov 24, 2010 #4 Hi Are you using ALAssetsLibrary? If so, take a look at the documentation for assetForURL:resultBlock:failureBlock:. Good luck!
Hi Are you using ALAssetsLibrary? If so, take a look at the documentation for assetForURL:resultBlock:failureBlock:. Good luck!