1

I am working on app that among other things is using the AVAssetExporter to combine video and audio file into new video. Exported video: plays fine in a web view inside the application. when it is saved using UIIMagePickerController it plays fine from the Camera app. when I am uploading video to a server it plays fine in a desktop version of Safari and Firefox.

But when I am trying to access the video from the mobile safari, I am getting the Movie Couldn't be Played Tip from the debug console.

AVAssetExportSession *exporter =[[AVAssetExportSession alloc] initWithAsset:mixComposition presetName:AVAssetExportPresetPassthrough];
        exporter.outputFileType=AVFileTypeQuickTimeMovie;

My question is what kind of export settings should I use in order to create a video that will work on mobile devices? thank you

Edit 1. It appears that it might be connected with the way how how my server side is set up. I found out the following: http://mobiforge.com/developing/story/content-delivery-mobile-devices

I will keep this post updated.

4

1 回答 1

0

看来它可能与我的服务器端的设置方式有关。我发现了以下内容:http: //mobiforge.com/developing/story/content-delivery-mobile-devices

于 2012-07-27T19:52:25.180 回答