我想知道是否可以从iOS上的mov文件中提取如下元数据。
我使用在线提取器获得的元数据:
content-type application/mp4
creation-date 2016-09-02T08:56:21Z
date 2016-09-02T08:56:23Z
dcterms:created 2016-09-02T08:56:21Z
dcterms:modified 2016-09-02T08:56:23Z
file name IMG_0144.mov
file size 4190689
last-modified 2016-09-02T08:56:23Z
last-save-date 2016-09-02T08:56:23Z
meta:creation-date 2016-09-02T08:56:21Z
meta:save-date 2016-09-02T08:56:23Z
modified 2016-09-02T08:56:23Z
tiff:imagelength 1080
tiff:imagewidth 1920
xmpdm:audiosamplerate 600
xmpdm:duration 1.88
答案 0 :(得分:0)
在didFinishPickingMediaWithInfo
写,
NSLog(@"meta data : %@",info);
您将获得控制台中所有元数据的字典。
例如,
- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info {
NSLog(@"meta data : %@",info);
// other code for picking media
}