movie to byte

Discussion in 'iOS Programming' started by Kareny, Nov 22, 2010.

  1. Kareny macrumors newbie

    Joined:
    Jun 21, 2010
    #1
    Hi everyone,

    Could anyone help me to convert a movie to byte?

    Thanks a lot~
     
  2. ianray macrumors 6502

    Joined:
    Jun 22, 2010
    Location:
    @
    #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...?
     
  3. Kareny thread starter macrumors newbie

    Joined:
    Jun 21, 2010
    #3
    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.
     
  4. ianray macrumors 6502

    Joined:
    Jun 22, 2010
    Location:
    @
    #4
    Hi :)

    Are you using ALAssetsLibrary? If so, take a look at the documentation for assetForURL:resultBlock:failureBlock:. Good luck!
     

Share This Page