Metadata

From XiphWiki
Revision as of 19:20, 31 October 2004 by 221.197.22.19 (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?) [1] 灌装机 光触媒材料 光固化地坪 光固化涂料用树脂 光缆集中监测系统 光膜 光学材料制造 光学眼镜毛坯 光阻剂 广播级摄像机锂离子电池 广告袋 广告赠品 规整波纹填料 硅胶 硅胶按键 硅胶小包装 硅凝胶 硅酸锆 硅酸盐水泥 硅酮胶包装瓶 硅烷交联聚乙烯电缆绝缘料耐环 硅微粉 国际国内贸易 过滤布 过滤稀土瓷砂 海水电解不溶性氧化物电极 含油尼龙 航空煤油 航空器材 航空润滑油 合成革 合成树脂 合成型热传导液 黑白全色胶卷 黑白全色胶片 黑色抗静电塑料原料 红外防伪发光材料 红外激光探测板 糊用聚氯乙烯树脂 护耳罩 护罩盖 花钵 花岗岩板材 花坛 滑石粉 化肥 化工填料 化合物纳米粉末 化纤 化纤绸 化纤面料 化学矿 化学试剂 化学纤维丝网 化学纤维油剂 化油器清洗剂 化妆品 化妆品玻璃 化妆品工艺 化妆品瓶 化妆品容器 化妆品添加剂 环保大芯板 环保垃圾桶 环保滤料 环保乳胶漆 环境工程 环氧胶系列 环氧树脂 环氧系列固化稀释剂 黄蜡 黄抛光膏 磺化酞菁钴 回位装置 混苯 混合气体 混凝土防水屏障 混凝土膨剂 火柴 机械护罩 机械油 机械油封 机制甘油香皂 机制透明皂 激光照排胶片冲洗套药 集装桶 加氢阻垢剂 夹层玻璃 家庭急救用品 甲苯 甲基苯三唑 甲基丙烯酸甲酯 甲基儿茶酚 甲基二乙醇胺 甲基腈 甲基萘 甲基异丁基甲酮 甲醚化六羟甲基三聚氰胺树脂 甲酸 减速机专用脂 剪切平直型 碱锌光亮剂 碱性锌锰 碱性锌锰干电池 建材 建筑材料 建筑钢材 建筑模板 建筑模板生产车间 健身器材 键盘内衬 胶辊胶 胶合板模板平铺施工 胶木粉 焦宝石 焦亚硫酸钠 巾包装袋 金锭 金漆镶嵌 金属表面处理剂 金属加工用油 金属加工油 金属纳米粉末 锦纶6聚合 锦纶丝 锦纶线 精甲醇 精密仪器 精密铸造 精品搪瓷 精塑制品 精细化工 精制盐 警示带 净化设备 镜片胶 镜铜纸 酒精消毒湿巾 局部镀铝膜 矩形镀铜碳棒 矩形气刨炭棒 聚氨脂防水涂料 聚氨酯 聚氨酯树脂 聚胺脂泡沫填缝剂 聚丙烯 聚丙烯捆扎绳 聚丙烯填料 聚合硫酸铁 聚合物锂离子电池 聚氯乙烯复合管 聚氯乙烯加工助剂 聚氯乙烯排水管 聚醚多元醇 聚四氟乙烯 聚四氟乙烯密封圈 聚四氟乙烯制品 聚烯烃复合纤维 聚乙二醇 聚乙烯 聚乙烯醇 聚乙烯工农用薄膜 聚乙烯购物袋 聚酯薄膜 聚酯切片 聚酯芯输送带 卷装背心 卷装食品保鲜袋 绝缘护套 绝缘料聚丙烯管材专用料 军用高分子材料 卡扣线系列产品 聚晶石 开缸剂 开水炉 康复理疗器械 抗静电高分子材料 抗磨液压油 空气除尘滤袋 空气清新剂 苦味酸 矿物型导热油 矿渣硅酸盐水泥 垃圾袋 拉挤树脂 拉链片 蜡烛 蜡烛台玻璃 老弱病残护理商品 雷射 雷射雕刻按键 镭射膜 镭射转印膜 冷拔钢丝型 冷却塔 冷热水管 离子交换树脂 礼花弹 礼品玻璃 锂离子电池充电器 沥青 连接气刨炭棒 连接式镀铜碳棒 连卷袋 连体豪华玻璃洗手盆 连铸保护渣 炼油 磷矿粉 磷矿石 磷酸二氢铝 磷酸二氢镁 磷酸氢镁 磷酸盐 流态化石灰粉 硫磺块 硫酸锆 硫酸铅 硫酸氧锆 柳编制品 滤紫外线石英管 铝箔封口垫片 铝箔食品容器 铝材光亮剂 铝合金氧化 铝用碳素 绿色环保型增塑剂 氯化铵 氯化钾 氯化聚乙烯卷材 氯化镁 氯化石蜡 氯化石蜡油清 氯碱工业隔膜法 氯碱化工 氯霉素原料药 氯霉素中间体 氯酸盐工业用金属阳极 箩筐 螺栓松动剂 埋弧焊用烧结焊剂 梅花点波纹填料 煤焦油瓷漆 煤炭 煤油 美容面罩 美容泡泡沐浴露 美容纸 镁基脱硫剂 密封材料 密封段 密封件 密封胶溶剂 密封胶条 密压板 棉麻固色油 免洗型助焊剂 模具标准件加工 模具硅胶 模具注塑 模内标签 模内转印 模造纸 摩托车挡风玻璃 磨擦试验机 木材表面转印膜 木钙 木钠 木糖 木糖醇 木质素磺酸钙 内燃机油 高效脱硫剂 高效脱硫脱碳剂 高效脱漆剂 高效阻燃剂 复合橡胶分散剂 锆氟酸铵 锆氟酸钾 锆刚玉 锆英粉 锆英砂 隔热耐烧蚀涂料 各种溶剂 各种卫生纸 各种橡胶杂件 各种粘结剂 铬矿 给排水管件管材 给水管材 工程塑料包装 工程橡塑 工具箱 工矿橡胶配件 工业苯 工业齿轮油 工业缝包线 设备清洗 工业级羊毛脂 工业甲醛 工业硫酸 工业清洗剂 工业热风炉 工业润滑油 工业碳酸锂 工业陶瓷 工业盐 工业用润滑油 工业用塑料薄膜 工业用油 工艺玻璃 工艺雕刻用牛角 工艺品树脂 健康监测仪器