Metadata

From XiphWiki
Revision as of 01:16, 6 October 2004 by 221.196.142.68 (talk)
Jump to navigation Jump to search

Motivation

All the Xiph.org codecs have some internal mechanism for including metadata about the current stream. Generally, this is one of the codec headers, and in the words of the vorbis spec, "It is meant for short, text comments...much like someone jotting a quick note on the bottom of a CDR."

This works well enough for most things, and can be overloaded/abused (depending on your point of view) for most other things. But there are three major requirements that point to the design of an external metadata format; one that can be interleaved with the other streams in a container.

  • Machinability There are a number of items of metadata that a player will want to parse and take action on. While there are usually 'convention' schemes for doing this with the embedded comment headers, this is much easier if there is a separate metadata stream designed for such use, instead of having to do best-effort parsing of natural language comments. For example, a video file with multiple audio tracks can specify the language of each one; a player than can parse these reliably can match them against a language preference list configured by the user to automatically select and begin playback of the best option.
  • Kitchen Sink There are a minority of people who care passionately about having every detail about a track available. In the sense of conserving such information, and providing an equivalent to liner notes for online distribution, this is a goal worth supporting. However, the simple unstructured key-value pairs offered by the inline metadata are unwieldy for this level of detail. How do you tell the 2nd unit Assistant Director from the USA unit Assistant Director? How do you indicate which artist played tenor sax in the solo?
  • Addressability The internal comment metadata headers are by necessity attached to a single content stream. This is useful for some appication, but a limitation in others. In a multiplexed stream, which set of comments refers to the collection as a whole? (By convention, in Ogg, it's the first logical bitstream occuring, but we can do better.) A separate metadata stream type must address this issue of collective metadata while still allowing description of individual streams. It should also allow temporal addressability, so that changes can be described. Because the in-stream comment metadata are part of the codec headers, it cannot change over the course of the stream, and allowing additional comment packets elsewhere in the stream presents seeking challenges. In the Ogg container this can be resolved by inserting a chain boundary, but this is a poor option for very-low-bitrate streams and unreliable transports such as RTP.

Proposed Solutions

RDF + dublin core

XML-encoding (generic rdf or CMML?)

binary encoding (three-component length-encoded binary vectors) 维生素D3 叶酸 伊特安 伊维菌素 医疗服务 结晶山梨醇 医药原料药 医药制剂 医药中间体 消毒药剂 依立替康 依普瑞丰 依托红霉素片 依维菌素 依西美坦 乙胺丁醇 乙肝 乙酰吉他霉素颗粒剂 异烟肼 异烟酸 益比奥 因特芬 吲达帕胺片 吲哚生物碱 茚满酮 英路因 营养强化剂 硬胶囊 硬脂酸 硬脂酸红霉素 原料药 右旋糖酐铁 玉米淀粉 愈创木酚 愈创木酚甘油醚 愈创木酚磺酸钾 原料药 洗衣粉 孕激素 甾体激素 激素 甾体激素类 樟脑丸 针剂 芝麻酚 植物药 原料药 止痛灵 成品药 制药 心血管 中成药 中间体 中枢神经 片剂模具 中西药制剂 中药种植 肿瘤标志物 重组人红细胞生成素 重组人粒细胞 重组人粒细胞集落刺激因子 朱砂莲胶囊 注射剂 注射葡萄糖 左西孟旦 左西替利嗪 聚合物驱油剂 睾丸素 格列美脲 葛根芩连片 更昔洛韦 庚肝 谷维素片 光敏剂 广谱抗菌剂 国家二类新药 过氧乙酸 合成药物 核酸 恒欣 红霉素肟 葡甲胺 葡萄糖 葡乙胺 奇净康 祺泰GINA 蕲蛇酶注射液 强化戊二醛 强力霉素 强盛 羟基氯喹侧链 青霉素类 曲克芦丁 驱蚊片剂 去氧氟尿苷 全灭长效驱虫注射液 全球性原料药 乙胺盐酸盐 盐酸洛美沙星 盐酸谱萘洛尔 盐酸头孢他美酯 盐酸头孢他美酯片 盐酸小檗碱 盐酸盐 盐酸左氧氟沙星 颜料 氧氟沙星 氧雄诺龙 药品流通 药品注册服务 药物 药物中间体 感光高分子 破伤风抗毒素 盐酸环丙沙星胶囊 甘油 CIPROFLOXACIN VE烟酸酯胶囊 阿苯达唑 阿卡明 阿拉肽 阿那曲唑 阿奇霉 阿司匹林 阿替洛尔 阿维菌素 阿昔洛韦 艾滋病 安宫黄体酮 安普罗列 安普罗林 氨基酸保护剂 氨基酸类衍生物 氨基酸衍生物 奥卡西平 奥拉米特 奥洛他定 奥美拉唑 白花油 白藜芦 百士欣 半合成抗生素 半合成原料药 棒酸 包装容器 胞苷 保健品 保肾康 倍灵高效广谱抗体外寄生虫药 倍他米松 苯磺阿曲库胺 苯甲酰甲酸甲酯 天门冬氨酸 苯乙酮甲酯 冬氨酸 吡嗪酰胺 扁桃酸 表雄酮 丙肝 丙基硫氧嘧啶 参茸蛤蚧保肾丸 藏成药 牙膏 茶碱 肠胃病治疗类 橙皮甙 雌二醇环戊丙酸酯 雌三醇 醋酸甲地孕酮 醋酸美伦孕酮 醋酸钠 醋酸坦勃龙 软胶囊 蛋白同化激素 迪克拉苏 地蒽粉 地克珠利 地舍平 碘伏消毒液 电池模具 淀粉糖 叠氮钠 丁洛地尔 注射液 东莨菪醇 杜球 对甲苯磺酸氟乙酯 对羟基苯甲醇 对异丙基苯甲酸 多非利特 多索茶碱片 多肽 多肽缩合剂 多西环素 鹅去氧胆酸胶囊 厄贝沙坦 恶霉灵水剂 吡啶醇酯 二氧化碳 法莫替丁注射液 泛昔洛韦 芳香球 放射性药物 专用消毒剂 非诺洛芬钙 酚磺乙胺 粉针剂 风疹病毒 呋喃胺盐 敷克酰基化 氟宝注射液 氟达拉滨磷酸盐 氟康唑 氟康唑片 氟罗沙星粗品 氟哌酸 氟西汀 氟孕酮 福美司坦 甘氨酸苄酯对甲苯磺酸盐 甘氨酸苄酯盐酸盐 甘草次酸 甘草酸单铵盐 甘草酸单钾盐 甘草酸二铵 甘草酸二铵盐 甘草酸二钾盐 甘草酸二钠盐 甘草酸三钾盐 甘草酸三钠盐 甘草酸锌 甘草甜味素 片剂胶







门禁 监控 发电机 门禁 门禁 门禁 门禁 监控 监控 监控 监控 监控 监控 监控 虚拟主机 asp虚拟主机 php虚拟主机 unix虚拟主机 windows虚拟主机 纯空间虚拟主机 虚拟主机 虚拟主机 虚拟主机 虚拟主机 空压机 压缩机 消毒剂 化妆品 战略咨询 武夷山 数据恢复 虚拟主机 装修 团购 化工泵 二氧化氯 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 网址大全 线号机 线号机 打号机 装修 团购 装修 装修 装修 装修 装修 装修 团购 发电机 发电机 发电机 发电机 发电机 发电机 发电机 发电机 发电机 减速机 离心机 数据恢复