我使用目标c代码播放了一个mp4文件,但它不支持.wmv文件..我怎么能转换它?
NSString * path = [[NSBundle mainBundle] pathForResource:@“Movie-1”ofType:@“mp4”inDirectory:nil];
// Create custom movie player
moviePlayer = [[[CustomMoviePlayerViewController alloc] initWithPath:path] autorelease];
// Show the movie player as modal
[self presentModalViewController:moviePlayer animated:YES];
通过以上代码我已经为mp4做了
答案 0 :(得分:2)
如果你能算出how to build and incorporate the FFMPEG library into your iOS app,你应该能够将.wmv格式的文件或数据转换成你可以使用的.mp4。