Computer Science, asked by baovla3758, 3 months ago

_______ is developed by microsoft to play video in window environment

(a).ram (b).avi (c).mp3 (D).MP4​

Answers

Answered by Vandana338
0

Answer:

mp4

gdsshjxjjfjdoz hzjizk

Answered by rakeshkumar4061984
0

Answer:

I'm trying to write an mp4/m4a to a file so I can edit it's metadata. It's not saving to the file though. I don't have a clue as to why it isn't saving and I've been trying to fix it for a long time now. The _previewData has data from a url (www.example.com/file.m4a), and it is retrieved successfully.

_previewData

Explanation:

_previewData = [NSMutableData dataWithContentsOfURL:[NSURL URLWithString:@"http://a281.phobos.apple.com/us/r1000/119/Music/v4/f1/7b/d6/f17b‌d6e3-55c0-b7e0-9863-bc522900e950/mzaf_5153970109972844579.aac.m4a"]];

NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);

NSString *documentDirectory=[paths objectAtIndex:0];

NSString *path = [documentDirectory stringByAppendingPathComponent:[NSString stringWithFormat: @"file.mp4"]];

NSFileManager *filemanager;

filemanager = [NSFileManager defaultManager];

[_previewData writeToFile:path atomically:YES];

if ([filemanager fileExistsAtPath:path]) {

// Runs

NSLog(@"It worked");

}

NSLog(@"%@",path);

Similar questions
Math, 10 months ago