mdls 和 mediainfo 之间的元数据差异

mdls 和 mediainfo 之间的元数据差异

mdls我想知道和返回的元数据类型有什么区别mediainfo。为什么它们不同?例如,为什么同一个文件的创建日期不同?

谢谢!

$ mediainfo PLOUF.MOV 
General
Complete name                            : PLOUF.MOV
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt  
File size                                : 16.9 MiB
Duration                                 : 8s 232ms
Overall bit rate                         : 17.3 Mbps
Recorded date                            : 2015-01-24T16:59:18+0100
Encoded date                             : UTC 2015-01-24 15:59:19
Tagged date                              : UTC 2015-01-24 15:59:27
Writing application                      : 8.1.2
Writing library                          : Apple QuickTime
©xyz                                     : +48.6205-001.4969+007.673/
Model                                    : iPhone 6
Make                                     : Apple
com.apple.quicktime.creationdate         : 2015-01-24T16:59:18+0100
com.apple.quicktime.model                : iPhone 6
com.apple.quicktime.software             : 8.1.2
com.apple.quicktime.location.ISO6709     : +48.6205-001.4969+007.673/
com.apple.quicktime.make                 : Apple


$ mdls PLOUF.MOV 
_kMDItemOwnerUserID            = 501
kMDItemAudioBitRate            = 64
kMDItemAudioChannelCount       = 1
kMDItemCodecs                  = (
    "H.264",
    AAC
)
kMDItemContentCreationDate     = 2015-06-20 22:52:13 +0000
kMDItemContentModificationDate = 2015-06-20 22:52:13 +0000
kMDItemContentType             = "com.apple.quicktime-movie"
kMDItemContentTypeTree         = (
    "com.apple.quicktime-movie",
    "public.movie",
    "public.audiovisual-content",
    "public.data",
    "public.item",
    "public.content"
)
kMDItemDateAdded               = 2015-07-08 22:50:31 +0000
kMDItemDisplayName             = "PLOUF.MOV"
kMDItemDurationSeconds         = 8.231666666666667
kMDItemEncodingApplications    = (
    "8.1.2"
)
kMDItemFSContentChangeDate     = 2015-06-20 22:52:13 +0000
kMDItemFSCreationDate          = 2015-06-20 22:52:13 +0000
kMDItemFSCreatorCode           = ""
kMDItemFSFinderFlags           = 0
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 0
kMDItemFSIsExtensionHidden     = 0
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "PLOUF.MOV"
kMDItemFSNodeCount             = (null)
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 17755428
kMDItemFSTypeCode              = ""
kMDItemKind                    = "QuickTime movie"
kMDItemLogicalSize             = 17755428
kMDItemMediaTypes              = (
    Video,
    Sound
)
kMDItemPhysicalSize            = 17756160
kMDItemPixelHeight             = 1080
kMDItemPixelWidth              = 1920
kMDItemProfileName             = "HD (1-1-1)"
kMDItemStreamable              = 0
kMDItemTotalBitRate            = 17248
kMDItemVideoBitRate            = 17183

答案1

例如为什么同一个文件的创建日期不同?

您的 MediaInfo 输出中没有创建日期信息。您只有“录制日期”(源录制的时间)、编码日期(某人将源文件编码为另一种格式的时间)和标记日期。它们都不是文件创建日期(文件在您的本地 fie 系统上创建的日期)。

注意每个字段的含义。

相关内容