ebml.js 4.0.1 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ebml.js +347 -301
- package/dist/ebml.js.map +1 -1
- package/dist/ebml.min.js +4 -4
- package/dist/ebml.min.js.map +1 -1
- package/dist/ebml.min.node.js +1 -1
- package/dist/ebml.min.node.js.map +1 -1
- package/dist/ebml.node.js +347 -301
- package/dist/ebml.node.js.map +1 -1
- package/package.json +1 -1
- package/src/decoder.js +347 -301
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ebml.min.node.js","mappings":"oBAWAA,EAAAC,QAAA,CAAmBC,SAXnBC,IACA,IAAAC,GAAA,EACA,MAAAC,EAAA,IAAAC,KACAF,GAKA,OADAC,EAAAD,QAAAA,EACAC,gBCRA,MAAAE,UAAQA,GAAcC,EAAQ,KAC9BC,EAAcD,EAAQ,KACtBE,EAAeF,EAAQ,MACvBN,SAAQA,GAAaM,EAAQ,KAE7BG,EAAAT,EAAA,gBAMA,MAAAU,UAAAL,EAMAM,QAAA,KAOAC,UAAA,GAOAC,OAxBA,EA+BAC,QAAA,EAOAC,OAAA,EAMA,WAAAC,CAAAC,EAAA,IACAC,MAAA,IAAYD,EAAAE,oBAAA,GACZ,CAEA,UAAAC,GACA,OAAAC,KAAAV,OACA,CAEA,UAAAW,GACA,OAAAD,KAAAP,OACA,CAEA,SAAAS,GACA,OAAAF,KAAAR,MACA,CAEA,YAAAW,GACA,OAAAH,KAAAT,SACA,CAEA,SAAAa,GACA,OAAAJ,KAAAN,MACA,CAEA,UAAAK,CAAAA,GACAC,KAAAV,QAAAS,CACA,CAKA,UAAAE,CAAAA,GACAD,KAAAP,QAAAQ,CACA,CAEA,SAAAC,CAAAA,GACAF,KAAAR,OAAAU,CACA,CAEA,SAAAE,CAAAA,GACAJ,KAAAN,OAAAU,CACA,CAEA,UAAAC,CAAAC,EAAAC,EAAAC,GAOA,IANAR,KAAAD,OA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ACA6D,QAAA,EACAF,MAAA,MACA/D,YAAA,sIACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,kBACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA5D,OAAA,EACAE,MAAA,EACA6D,QAAA,EACAC,GAAA,cACAC,IAAA,2BACAnE,YAAA,mHACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,sBACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,2KACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,UACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACAG,QAAA,WACA/D,OAAA,EACAF,YAAA,+HACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACAnD,KAAA,qBACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACAG,QAAA,EACA/D,OAAA,EACAF,YAAA,+EACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACAnD,KAAA,cACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACAG,QAAA,EACA/D,OAAA,EACAF,YAAA,sDACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACAnD,KAAA,iBACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACAG,QAAA,EACA/D,OAAA,EACAF,YAAA,8DACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACAnD,KAAA,gBACAgD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAgE,SAAA,GACApE,YAAA,gGAGA,CACA,MACA,CACA/C,KAAA,UACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAF,YAAA,mEACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACAnD,KAAA,aACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA5D,OAAA,EACAE,MAAA,EACA6D,QAAA,EACAF,MAAA,MACA/D,YAAA,gGACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,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A6D,QAAA,EACAC,GAAA,QACAlE,YAAA,iHACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,qBACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,qOACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,oBACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,0HACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,iBACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAF,MAAA,QACA/D,YAAA,gDACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,QACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,yCACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,qBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,oPACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,iBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,qGACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,qMACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,mMACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,oBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,mRACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,oBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,wIACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,mBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,wFACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,mBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,qFACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,QACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,gKACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,0BACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,yKACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,YACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,mJACA8D,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAhH,KAAA,SACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,6GACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,UACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,wHACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,oBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,6BACAG,UAAA,IAGA,CACA,MACA,CACAlD,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,6DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,6DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,8DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,wBACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,8DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,0BACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,0BACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACA+D,MAAA,eAGA,CACA,MACA,CACA9G,KAAA,eACAgD,MAAA,EACAF,KAAA,IACAC,YAAA,yEACA+D,MAAA,WAGA,CACA,MACA,CACA9G,KAAA,eACAgD,MAAA,EACAF,KAAA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CACA/C,KAAA,kBACA+G,QAAA,mBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAjE,YAAA,+GAGA,CACA,MACA,CACA/C,KAAA,cACA+G,QAAA,mBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAjE,YAAA,4HAGA,CACA,MACA,CACA/C,KAAA,gBACA+G,QAAA,qBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,cACAF,MAAA,QACA/D,YAAA,kGAGA,CACA,MACA,CACA/C,KAAA,eACA+G,QAAA,oBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,aACAF,MAAA,QACA/D,YAAA,iGAGA,CACA,MACA,CACA/C,KAAA,iBACA+G,QAAA,sBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAjE,YAAA,oEAGA,CACA,MACA,CACA/C,KAAA,gBACA+G,QAAA,qBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAjE,YAAA,mEAGA,CACA,MACA,CACA/C,KAAA,eACA+G,QAAA,oBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAjE,YAAA,kEAGA,CACA,MACA,CACA/C,KAAA,kBACA+G,QAAA,uBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAjE,YAAA,wFAGA,CACA,IACA,CACA/C,KAAA,cACA+G,QAAA,mBACA/D,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA5D,OAAA,EACA6D,MAAA,QACA/D,YAAA,kDAGA,CACA,IACA,CACA/C,KAAA,aACA+G,QAAA,kBACA/D,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA5D,OAAA,EACA6D,MAAA,QACA/D,YAAA,iDAGA,CACA,MACA,CACA/C,KAAA,gBACAgD,MAAA,EACAF,KAAA,IACAyE,OAAA,IACApE,MAAA,EACAiE,MAAA,EACArE,YAAA,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,EACAiE,MAAA,EACArE,YAAA,iCAGA,CACA,IACA,CACA/C,KAAA,kBACAgD,MAAA,EACAF,KAAA,IACAI,UAAA,EACA2D,WAAA,EACA5D,OAAA,EACAE,MAAA,EACAiE,MAAA,EACArE,YAAA,iCAGA,CACA,IACA,CACA/C,KAAA,iBACAgD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAiE,MAAA,EACArE,YAAA,iCAGA,CACA,IACA,CACA/C,KAAA,gBACAgD,MAAA,EACAF,KAAA,IACAkE,QAAA,EACAjE,YAAA,mDAGA,CACA,IACA,CACA/C,KAAA,QACA+G,QAAA,aACA/D,MAAA,EACAF,KAAA,IACAkE,QAAA,EACAjE,YAAA,gDAGA,CACA,IACA,CACA/C,KAAA,kBACA+G,QAAA,kBACA/D,MAAA,EACAF,KAAA,IACAkE,QAAA,EACAjE,YAAA,iEAGA,CACA,IACA,CACA/C,KAAA,cACA+G,QAAA,mBACA/D,MAAA,EACAF,KAAA,IACAkE,QAAA,EACAjE,YAAA,sIAGA,CACA,IACA,CACA/C,KAAA,aACA+G,QAAA,kBACA/D,MAAA,EACAF,KAAA,IACAG,OAAA,EACA+D,QAAA,EACAI,MAAA,EACArE,YAAA,iRAGA,CACA,IACA,CACA/C,KAAA,YACAgD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAmE,MAAA,EACArE,YAAA,yPAGA,CACA,IACA,CACA/C,KAAA,SACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,MAAA,EACArE,YAAA,iCAGA,CACA,MACA,CACA/C,KAAA,iBACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,sSAGA,CACA,IACA,CACA/C,KAAA,aACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,2IAGA,CACA,IACA,CACA/C,KAAA,mBACAgD,MAAA,EACAF,KAAA,IACAK,MAAA,EACAJ,YAAA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AA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,2DAGA,CACA,QACA,CACA/C,KAAA,UACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAgE,SAAA,GACApE,YAAA,iEAGA,CACA,QACA,CACA/C,KAAA,eACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,+DAGA,CACA,QACA,CACA/C,KAAA,UACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAgE,SAAA,GACApE,YAAA,qEAGA,CACA,MACA,CACA/C,KAAA,aACAgD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACA2D,MAAA,QACAK,SAAA,GACApE,YAAA,mGAGA,CACA,UACA,CACA/C,KAAA,OACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA3D,UAAA,EACAD,OAAA,EACAF,YAAA,2EAGA,CACA,MACA,CACA/C,KAAA,eACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA5D,OAAA,EACAF,YAAA,sFAGA,CACA,MACA,CACA/C,KAAA,SACAgD,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA5D,OAAA,EACAF,YAAA,qDAGA,CACA,MACA,CACA/C,KAAA,OACA+G,QAAA,YACA/D,MAAA,EACAF,KAAA,IACA+D,WAAA,EACA3D,UAAA,EACAD,OAAA,EACAF,YAAA,qDAGA,CACA,UACA,CACA/C,KAAA,WACA+G,QAAA,aACA/D,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAF,YAAA,qDAGA,CACA,MACA,CACA/C,KAAA,uBACAgD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAC,MAAA,EACAqE,EAAA,gCACAzE,YAAA,2MAGA,CACA,MACA,CACA/C,KAAA,oBACAgD,MAAA,EACAF,KAAA,IACAK,MAAA,EACAJ,YAAA,kEAGA,CACA,MACA,CACA/C,KAAA,YACAgD,MAAA,EACAF,KAAA,IACAK,MAA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AAgH,EAAA,IAAAC,WAAAjH,GACA,QAAAwD,EAAA,EAAA0D,EAAAlH,EAAA,EAAkCwD,EAAAxD,IAAUwD,IAAA0D,EAC5CF,EAAAxD,GAAA3D,GAAA,EAAAqH,EAAA,IAEA,OAAAF,CACA,CAGA,yBAAAG,CAAAtH,GAEA,OAAAA,EAAA,IACA,EACMA,EAAA,MACN,EACMA,EAAA,MACN,EACMA,EAAA,MACN,EACMA,EAAA,MACN,EAEA,CAEA,CAGA,wBAAAuH,CAAAvH,GACA,GAAAA,EAAA,IAKA,SACM,GAAAA,EAAA,MACN,SACM,GAAAA,EAAA,QACN,SACM,GAAAA,EAAA,UACN,SACM,GAAAA,EAAA,QACN,SACM,GAAAA,EAAA,QACN,SAEA,UAAAuC,MAAA,gCAAAvC,EAEA,EAGAhE,EAAAC,QAAA2H,uBClWA5H,EAAAC,QAAAuL,QAAA,YCCAC,EAAA,IAGA,SAAAjL,EAAAkL,GAEA,IAAAC,EAAAF,EAAAC,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAA1L,QAGA,IAAAD,EAAAyL,EAAAC,GAAA,CAGAzL,QAAA,IAOA,OAHA4L,EAAAH,GAAA1L,EAAAA,EAAAC,QAAAO,GAGAR,EAAAC,OACA,ECnBAO,CAAA","sources":["webpack://ebml.js/./src/debug-log.js","webpack://ebml.js/./src/decoder.js","webpack://ebml.js/./src/encoder.js","webpack://ebml.js/./src/index.js","webpack://ebml.js/./src/schema.js","webpack://ebml.js/./src/tools.js","webpack://ebml.js/external node-commonjs \"stream\"","webpack://ebml.js/webpack/bootstrap","webpack://ebml.js/webpack/startup"],"sourcesContent":["const debugLog = (name) => {\r\n let enabled = false\r\n const log = (...args) => {\r\n if (enabled) {\r\n console.log(`[${name}]`, ...args)\r\n }\r\n }\r\n log.enabled = enabled\r\n return log\r\n}\r\n\r\nmodule.exports = { debugLog }\r\n","const { Transform } = require('stream');\r\nconst tools = require('./tools');\r\nconst schema = require('./schema');\r\nconst { debugLog } = require('./debug-log');\r\n\r\nconst debug = debugLog('ebml:decoder');\r\n\r\nconst STATE_TAG = 1;\r\nconst STATE_SIZE = 2;\r\nconst STATE_CONTENT = 3;\r\n\r\nclass EbmlDecoder extends Transform {\r\n /**\r\n * @property\r\n * @private\r\n * @type {Buffer}\r\n */\r\n mBuffer = null;\r\n\r\n /**\r\n * @private\r\n * @property\r\n * @readonly\r\n */\r\n mTagStack = [];\r\n\r\n /**\r\n * @property\r\n * @private\r\n * @type {Number}\r\n */\r\n mState = STATE_TAG;\r\n\r\n /**\r\n * @property\r\n * @private\r\n * @type {Number}\r\n */\r\n mCursor = 0;\r\n\r\n /**\r\n * @property\r\n * @private\r\n * @type {Number}\r\n */\r\n mTotal = 0;\r\n\r\n /**\r\n * @constructor\r\n * @param {Object} options The options to be passed along to the super class\r\n */\r\n constructor(options = {}) {\r\n super({ ...options, readableObjectMode: true });\r\n }\r\n\r\n get buffer() {\r\n return this.mBuffer;\r\n }\r\n\r\n get cursor() {\r\n return this.mCursor;\r\n }\r\n\r\n get state() {\r\n return this.mState;\r\n }\r\n\r\n get tagStack() {\r\n return this.mTagStack;\r\n }\r\n\r\n get total() {\r\n return this.mTotal;\r\n }\r\n\r\n set buffer(buffer) {\r\n this.mBuffer = buffer;\r\n }\r\n\r\n /**\r\n * @param {number} cursor\r\n */\r\n set cursor(cursor) {\r\n this.mCursor = cursor;\r\n }\r\n\r\n set state(state) {\r\n this.mState = state;\r\n }\r\n\r\n set total(total) {\r\n this.mTotal = total;\r\n }\r\n\r\n _transform(chunk, enc, done) {\r\n if (!this.buffer) {\r\n this.buffer = Buffer.from(chunk);\r\n } else {\r\n this.buffer = tools.concatenate(this.buffer, Buffer.from(chunk));\r\n }\r\n\r\n while (this.cursor < this.buffer.length) {\r\n if (this.state === STATE_TAG && !this.readTag()) {\r\n break;\r\n }\r\n if (this.state === STATE_SIZE && !this.readSize()) {\r\n break;\r\n }\r\n if (this.state === STATE_CONTENT && !this.readContent()) {\r\n break;\r\n }\r\n }\r\n\r\n done();\r\n }\r\n\r\n static getSchemaInfo(tag) {\r\n if (Number.isInteger(tag) && schema.has(tag)) {\r\n return schema.get(tag);\r\n }\r\n const tagStr = `0x${tag.toString(16).toUpperCase()}`\r\n const unknown = {\r\n type: null,\r\n name: `unknown-${tagStr}`,\r\n description: `${tagStr}`,\r\n level: -1,\r\n minver: -1,\r\n multiple: false,\r\n webm: false,\r\n };\r\n schema.set(tag, unknown)\r\n console.warn('[SCHEMA]', 'unknown tag:', tagStr)\r\n return unknown\r\n }\r\n\r\n readTag() {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('parsing tag');\r\n }\r\n\r\n if (this.cursor >= this.buffer.length) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('waiting for more data');\r\n }\r\n return false;\r\n }\r\n\r\n const start = this.total;\r\n const tag = tools.readVint(this.buffer, this.cursor);\r\n\r\n if (tag == null) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('waiting for more data');\r\n }\r\n\r\n return false;\r\n }\r\n\r\n const tagStr = tools.readHexString(\r\n this.buffer,\r\n this.cursor,\r\n this.cursor + tag.length,\r\n );\r\n const tagNum = Number.parseInt(tagStr, 16);\r\n this.cursor += tag.length;\r\n this.total += tag.length;\r\n this.state = STATE_SIZE;\r\n\r\n const tagObj = {\r\n tag: tag.value,\r\n tagStr,\r\n type: EbmlDecoder.getSchemaInfo(tagNum).type,\r\n name: EbmlDecoder.getSchemaInfo(tagNum).name,\r\n start,\r\n end: start + tag.length,\r\n };\r\n\r\n this.tagStack.push(tagObj);\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`read tag: ${tagStr}`);\r\n }\r\n\r\n return true;\r\n }\r\n\r\n readSize() {\r\n const tagObj = this.tagStack[this.tagStack.length - 1];\r\n\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`parsing size for tag: ${tagObj.tagStr}`);\r\n }\r\n\r\n if (this.cursor >= this.buffer.length) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('waiting for more data');\r\n }\r\n\r\n return false;\r\n }\r\n\r\n const size = tools.readVint(this.buffer, this.cursor);\r\n\r\n if (size == null) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('waiting for more data');\r\n }\r\n\r\n return false;\r\n }\r\n\r\n this.cursor += size.length;\r\n this.total += size.length;\r\n this.state = STATE_CONTENT;\r\n tagObj.dataSize = size.value;\r\n\r\n // unknown size\r\n if (size.value === -1) {\r\n tagObj.end = -1;\r\n } else {\r\n tagObj.end += size.value + size.length;\r\n }\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`read size: ${size.value}`);\r\n }\r\n\r\n return true;\r\n }\r\n\r\n readContent() {\r\n const { tagStr, type, dataSize, ...rest } = this.tagStack[this.tagStack.length - 1];\r\n\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`parsing content for tag: ${tagStr}`);\r\n }\r\n\r\n if (type === 'm') {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('content should be tags');\r\n }\r\n this.push(['start', { tagStr, type, dataSize, ...rest }]);\r\n this.state = STATE_TAG;\r\n\r\n return true;\r\n }\r\n\r\n if (this.buffer.length < this.cursor + dataSize) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`got: ${this.buffer.length}`);\r\n debug(`need: ${this.cursor + dataSize}`);\r\n debug('waiting for more data');\r\n }\r\n\r\n return false;\r\n }\r\n\r\n const data = this.buffer.subarray(this.cursor, this.cursor + dataSize);\r\n this.total += dataSize;\r\n this.state = STATE_TAG;\r\n this.buffer = this.buffer.subarray(this.cursor + dataSize);\r\n this.cursor = 0;\r\n\r\n this.tagStack.pop(); // remove the object from the stack\r\n\r\n this.push([\r\n 'tag',\r\n tools.readDataFromTag(\r\n { tagStr, type, dataSize, ...rest },\r\n Buffer.from(data),\r\n ),\r\n ]);\r\n\r\n while (this.tagStack.length > 0) {\r\n const topEle = this.tagStack[this.tagStack.length - 1];\r\n if (this.total < topEle.end) {\r\n break;\r\n }\r\n this.push(['end', topEle]);\r\n this.tagStack.pop();\r\n }\r\n\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`read data: ${data.toString('hex')}`);\r\n }\r\n\r\n return true;\r\n }\r\n}\r\n\r\nmodule.exports = EbmlDecoder\r\n","const { Transform } = require('stream');\r\nconst schema = require('./schema');\r\nconst tools = require('./tools');\r\nconst { debugLog } = require('./debug-log');\r\n\r\nconst debug = debugLog('ebml:encoder');\r\n\r\n/** @typedef {import('./types/tag.types').Tag} Tag */\r\n\r\n/**\r\n * @param {number} tagId\r\n * @param {Buffer} tagData\r\n * @param {number} [end]\r\n */\r\nfunction encodeTag(tagId, tagData, end) {\r\n const data = [Buffer.from(tagId.toString(16), 'hex')];\r\n if (end === -1) {\r\n data.push(Buffer.from([0xFF]))\r\n } else {\r\n data.push(tools.writeVint(tagData.length))\r\n }\r\n\r\n // cast ArrayBuffer to Buffer\r\n if (!Buffer.isBuffer(tagData)) {\r\n tagData = Buffer.from(tagData); // eslint-disable-line no-param-reassign\r\n }\r\n data.push(tagData);\r\n return Buffer.concat(data);\r\n}\r\n\r\n/**\r\n * Encodes a raw EBML stream\r\n * @class EbmlEncoder\r\n * @extends Transform\r\n */\r\nclass EbmlEncoder extends Transform {\r\n /**\r\n * @type {Buffer}\r\n * @property\r\n * @private\r\n */\r\n mBuffer = null;\r\n\r\n /**\r\n * @private\r\n * @property\r\n * @type {Boolean}\r\n */\r\n mCorked = false;\r\n\r\n /**\r\n * @private\r\n * @property\r\n * @type {Array<Tag>}\r\n */\r\n mStack = [];\r\n\r\n constructor(options = {}) {\r\n super({ ...options, writableObjectMode: true });\r\n }\r\n\r\n get buffer() {\r\n return this.mBuffer;\r\n }\r\n\r\n get corked() {\r\n return this.mCorked;\r\n }\r\n\r\n get stack() {\r\n return this.mStack;\r\n }\r\n\r\n set buffer(buffer) {\r\n this.mBuffer = buffer;\r\n }\r\n\r\n set corked(corked) {\r\n this.mCorked = corked;\r\n }\r\n\r\n set stack(stak) {\r\n this.mStack = stak;\r\n }\r\n\r\n /**\r\n *\r\n * @param {[string, Tag]} chunk array of chunk data, starting with the tag\r\n * @param {string} enc the encoding type (not used)\r\n * @param {Function} done a callback method to call after the transformation\r\n */\r\n _transform(chunk, enc, done) {\r\n const [tag, { data, name, ...rest }] = chunk;\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`encode ${tag} ${name}`);\r\n }\r\n\r\n switch (tag) {\r\n case 'start':\r\n this.startTag(name, { ...rest });\r\n break;\r\n case 'tag':\r\n this.writeTag(name, data);\r\n break;\r\n case 'end':\r\n this.endTag();\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n return done();\r\n }\r\n\r\n /**\r\n * @private\r\n * @param {Function} done callback function\r\n */\r\n flush(done = () => {}) {\r\n if (!this.buffer || this.corked) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('no buffer/nothing pending');\r\n }\r\n return done();\r\n }\r\n\r\n if (this.buffer.byteLength === 0) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('empty buffer');\r\n }\r\n return done();\r\n }\r\n\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`writing ${this.buffer.length} bytes`);\r\n }\r\n\r\n const chunk = Buffer.from(this.buffer);\r\n this.buffer = null;\r\n this.push(chunk);\r\n return done();\r\n }\r\n\r\n /**\r\n * @private\r\n * @param {Buffer | Buffer[]} buffer\r\n */\r\n bufferAndFlush(buffer) {\r\n this.buffer = tools.concatenate(this.buffer, buffer);\r\n this.flush();\r\n }\r\n\r\n _flush(done = () => {}) {\r\n this.flush(done);\r\n }\r\n\r\n _bufferAndFlush(buffer) {\r\n this.bufferAndFlush(buffer);\r\n }\r\n\r\n /**\r\n * gets the ID of the type of tagName\r\n * @static\r\n * @param {string} tagName to be looked up\r\n * @return {number} A buffer containing the schema information\r\n */\r\n static getSchemaInfo(tagName) {\r\n const tagId = Array.from(schema.keys()).find(\r\n str => schema.get(str).name === tagName,\r\n );\r\n if (tagId) {\r\n return tagId;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n cork() {\r\n this.corked = true;\r\n }\r\n\r\n uncork() {\r\n this.corked = false;\r\n this.flush();\r\n }\r\n\r\n /** @private */\r\n writeTag(tagName, tagData) {\r\n const tagId = EbmlEncoder.getSchemaInfo(tagName);\r\n if (!tagId) {\r\n throw new Error(`No schema entry found for ${tagName}`);\r\n }\r\n if (tagData) {\r\n const data = encodeTag(tagId, tagData);\r\n if (this.stack.length > 0) {\r\n this.stack[this.stack.length - 1].children.push({ data });\r\n } else {\r\n this.bufferAndFlush(data);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @private\r\n * @param {String} tagName The name of the tag to start\r\n * @param {{end: Number}} info an information object with a `end` parameter\r\n */\r\n startTag(tagName, { end }) {\r\n const tagId = EbmlEncoder.getSchemaInfo(tagName);\r\n if (!tagId) {\r\n throw new Error(`No schema entry found for ${tagName}`);\r\n }\r\n\r\n const tag = {\r\n data: null,\r\n id: tagId,\r\n name: tagName,\r\n end,\r\n children: [],\r\n };\r\n\r\n if (this.stack.length > 0) {\r\n this.stack[this.stack.length - 1].children.push(tag);\r\n }\r\n this.stack.push(tag);\r\n }\r\n\r\n /** @private */\r\n endTag() {\r\n const tag = this.stack.pop() || {\r\n children: [],\r\n data: { buffer: Buffer.from([]) },\r\n };\r\n const childTagDataBuffers = tag.children.map(child => child.data);\r\n tag.data = encodeTag(tag.id, Buffer.concat(childTagDataBuffers), tag.end);\r\n if (this.stack.length < 1) {\r\n this.bufferAndFlush(tag.data);\r\n }\r\n }\r\n}\r\n\r\nmodule.exports = EbmlEncoder\r\n","const tools = require('./tools');\r\nconst schema = require('./schema');\r\nconst Decoder = require('./decoder');\r\nconst Encoder = require('./encoder');\r\n\r\nmodule.exports = {\r\n tools,\r\n schema,\r\n Decoder,\r\n Encoder,\r\n};\r\n","/**\r\n * @see https://www.matroska.org/technical/elements.html#EBML_ex\r\n */\r\nconst schema = new Map([\r\n [\r\n 0x80,\r\n {\r\n name: \"ChapterDisplay\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains all possible strings to use for the chapter display.\",\r\n },\r\n ],\r\n [\r\n 0x83,\r\n {\r\n name: \"TrackType\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 1,\r\n range: \"1-254\",\r\n description: \"A set of track types coded on 8 bits (1: video, 2: audio, 3: complex, 0x10: logo, 0x11: subtitle, 0x12: buttons, 0x20: control).\",\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x85,\r\n {\r\n name: \"ChapString\",\r\n cppname: \"ChapterString\",\r\n level: 5,\r\n type: \"8\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains the string to use as the chapter atom.\",\r\n },\r\n ],\r\n [\r\n 0x86,\r\n {\r\n name: \"CodecID\",\r\n level: 3,\r\n type: \"s\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"An ID corresponding to the codec, see the codec page for more info.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x88,\r\n {\r\n name: \"FlagDefault\",\r\n cppname: \"TrackFlagDefault\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Set if that track (audio, video or subs) SHOULD be active if no language found matches the user preference. (1 bit)\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x89,\r\n {\r\n name: \"ChapterTrackNumber\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"UID of the Track to apply this chapter too. In the absense of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absense of this element indicates that the Chapter should be applied to any currently used Tracks.\",\r\n },\r\n ],\r\n [\r\n 0x91,\r\n {\r\n name: \"ChapterTimeStart\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Timestamp of the start of Chapter (not scaled).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x92,\r\n {\r\n name: \"ChapterTimeEnd\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Timestamp of the end of Chapter (timestamp excluded, not scaled).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x96,\r\n {\r\n name: \"CueRefTime\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: false,\r\n description: \"Timestamp of the referenced Block.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x97,\r\n {\r\n name: \"CueRefCluster\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n webm: false,\r\n description: \"The Position of the Cluster containing the referenced Block.\",\r\n minver: 0,\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x98,\r\n {\r\n name: \"ChapterFlagHidden\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"If a chapter is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4254,\r\n {\r\n name: \"ContentCompAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: [\"\", \"\", \"\", \"\"],\r\n del: [\"1 - bzlib,\", \"2 - lzo1x\"],\r\n description: \"The compression algorithm used. Algorithms that have been specified so far are: 0 - zlib, 3 - Header Stripping\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4255,\r\n {\r\n name: \"ContentCompSettings\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings that might be needed by the decompressor. For Header Stripping (ContentCompAlgo=3), the bytes that were removed from the beggining of each frames of the track.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4282,\r\n {\r\n name: \"DocType\",\r\n level: 1,\r\n type: \"s\",\r\n mandatory: true,\r\n default: \"matroska\",\r\n minver: 1,\r\n description: \"A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4285,\r\n {\r\n name: \"DocTypeReadVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The minimum DocType version an interpreter has to support to read this file.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4286,\r\n {\r\n name: \"EBMLVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The version of EBML parser used to create the file.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4287,\r\n {\r\n name: \"DocTypeVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The version of DocType interpreter used to create the file.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4444,\r\n {\r\n name: \"SegmentFamily\",\r\n level: 2,\r\n type: \"b\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n bytesize: 16,\r\n description: \"A randomly generated unique ID that all segments related to each other must use (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x4461,\r\n {\r\n name: \"DateUTC\",\r\n level: 2,\r\n type: \"d\",\r\n minver: 1,\r\n description: \"Date of the origin of timestamp (value 0), i.e. production date.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4484,\r\n {\r\n name: \"TagDefault\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Indication to know if this is the default/original language to use for the given tag. (1 bit)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4485,\r\n {\r\n name: \"TagBinary\",\r\n level: 4,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The values of the Tag if it is binary. Note that this cannot be used in the same SimpleTag as TagString.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4487,\r\n {\r\n name: \"TagString\",\r\n level: 4,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The value of the Tag.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4489,\r\n {\r\n name: \"Duration\",\r\n level: 2,\r\n type: \"f\",\r\n minver: 1,\r\n range: \"> 0\",\r\n description: \"Duration of the segment (based on TimecodeScale).\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4598,\r\n {\r\n name: \"ChapterFlagEnabled\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Specify wether the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie should skip all the content between the TimeStart and TimeEnd of this chapter (see flag notes). (1 bit)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4660,\r\n {\r\n name: \"FileMimeType\",\r\n level: 3,\r\n type: \"s\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"MIME type of the file.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4661,\r\n {\r\n name: \"FileUsedStartTime\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n description: \"DivX font extension\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4662,\r\n {\r\n name: \"FileUsedEndTime\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n multiple: false,\r\n description: \"DivX font extension\",\r\n },\r\n ],\r\n [\r\n 0x4675,\r\n {\r\n name: \"FileReferral\",\r\n level: 3,\r\n type: \"b\",\r\n webm: false,\r\n description: \"A binary value that a track/codec can refer to when the attachment is needed.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5031,\r\n {\r\n name: \"ContentEncodingOrder\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n multiple: false,\r\n description: \"Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder elements in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x5032,\r\n {\r\n name: \"ContentEncodingScope\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"not 0\",\r\n br: [\"\", \"\", \"\"],\r\n description: \"A bit field that describes which elements have been modified in this way. Values (big endian) can be OR'ed. Possible values: 1 - all frame contents, 2 - the track's private data, 4 - the next ContentEncoding (next ContentEncodingOrder. Either the data inside ContentCompression and/or ContentEncryption)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5033,\r\n {\r\n name: \"ContentEncodingType\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: [\"\", \"\"],\r\n description: \"A value describing what kind of transformation has been done. Possible values: 0 - compression, 1 - encryption\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5034,\r\n {\r\n name: \"ContentCompression\",\r\n level: 5,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings describing the compression used. Must be present if the value of ContentEncodingType is 0 and absent otherwise. Each block must be decompressable even if no previous block is available in order not to prevent seeking.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5035,\r\n {\r\n name: \"ContentEncryption\",\r\n level: 5,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings describing the encryption used. Must be present if the value of ContentEncodingType is 1 and absent otherwise.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5378,\r\n {\r\n name: \"CueBlockNumber\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"Number of the Block in the specified Cluster.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b0,\r\n {\r\n name: \"Color\",\r\n level: 4,\r\n type: \"m\",\r\n description: \"Settings describing the colour format.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b1,\r\n {\r\n name: \"MatrixCoefficients\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries. For clarity, the value and meanings for MatrixCoefficients are adopted from Table 4 of ISO/IEC 23001-8:2016 or ITU-T H.273.\",\r\n mandatory: true,\r\n default: 2,\r\n },\r\n ],\r\n [\r\n 0x55b2,\r\n {\r\n name: \"BitsPerChannel\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Number of decoded bits per channel. A value of 0 indicates that the BitsPerChannel is unspecified.\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55b3,\r\n {\r\n name: \"ChromaSubsamplingHorz\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cr and Cb channels for every pixel not removed horizontally. Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingHorz SHOULD be set to 1.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b4,\r\n {\r\n name: \"ChromaSubsamplingVert\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cr and Cb channels for every pixel not removed vertically. Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingVert SHOULD be set to 1.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b5,\r\n {\r\n name: \"CbSubsamplingHorz\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cb channel for every pixel not removed horizontally. This is additive with ChromaSubsamplingHorz. Example: For video with 4:2:1 chroma subsampling, the ChromaSubsamplingHorz SHOULD be set to 1 and CbSubsamplingHorz SHOULD be set to 1.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b6,\r\n {\r\n name: \"CbSubsamplingVert\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cb channel for every pixel not removed vertically. This is additive with ChromaSubsamplingVert.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b7,\r\n {\r\n name: \"ChromaSitingHorz\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"How chroma is subsampled horizontally. 0 - unspecified, 1 - left collocated, 2 - half\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55b8,\r\n {\r\n name: \"ChromaSitingVert\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"How chroma is subsampled vertically. 0 - unspecified, 1 - top collocated, 2 - half\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55b9,\r\n {\r\n name: \"Range\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Clipping of the color ranges. 0 - unspecified, 1 - broadcast range, 2 - full range (no clipping), 3 - defined by MatrixCoefficients / TransferCharacteristics\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55ba,\r\n {\r\n name: \"TransferCharacteristics\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The transfer characteristics of the video. For clarity, the value and meanings for TransferCharacteristics are adopted from Table 3 of ISO/IEC 23091-4 or ITU-T H.273.\",\r\n mandatory: true,\r\n default: 2,\r\n },\r\n ],\r\n [\r\n 0x55bb,\r\n {\r\n name: \"Primaries\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The colour primaries of the video. For clarity, the value and meanings for Primaries are adopted from Table 2 of ISO/IEC 23091-4 or ITU-T H.273.\",\r\n mandatory: true,\r\n default: 2,\r\n },\r\n ],\r\n [\r\n 0x55bc,\r\n {\r\n name: \"MaxCLL\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Maximum brightness of a single pixel (Maximum Content Light Level) in candelas per square meter (cd/m^2^).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55bd,\r\n {\r\n name: \"MaxFALL\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Maximum brightness of a single full frame (Maximum Frame-Average Light Level) in candelas per square meter (cd/m^2^).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55d0,\r\n {\r\n name: \"MasteringMetadata\",\r\n level: 5,\r\n type: \"m\",\r\n description: \"SMPTE 2086 mastering data.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55d1,\r\n {\r\n name: \"PrimaryRChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Red X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d2,\r\n {\r\n name: \"PrimaryRChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Red Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d3,\r\n {\r\n name: \"PrimaryGChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Green X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d4,\r\n {\r\n name: \"PrimaryGChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Green Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d5,\r\n {\r\n name: \"PrimaryBChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Blue X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d6,\r\n {\r\n name: \"PrimaryBChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Blue Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d7,\r\n {\r\n name: \"WhitePointChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"White X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d8,\r\n {\r\n name: \"WhitePointChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"White Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d9,\r\n {\r\n name: \"LuminanceMax\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Maximum luminance. Represented in candelas per square meter (cd/m^2^).\",\r\n range: \">= 0.0\",\r\n },\r\n ],\r\n [\r\n 0x55da,\r\n {\r\n name: \"LuminanceMin\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Minimum luminance. Represented in candelas per square meter (cd/m^2^).\",\r\n range: \">= 0.0\",\r\n },\r\n ],\r\n [\r\n 0x5654,\r\n {\r\n name: \"ChapterStringUID\",\r\n level: 4,\r\n type: \"8\",\r\n mandatory: false,\r\n minver: 3,\r\n webm: true,\r\n description: \"A unique string ID to identify the Chapter. Use for WebVTT cue identifier storage.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5741,\r\n {\r\n name: \"WritingApp\",\r\n level: 2,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n multiple: false,\r\n description: 'Writing application (\"mkvmerge-0.3.3\").',\r\n },\r\n ],\r\n [\r\n 0x5854,\r\n {\r\n name: \"SilentTracks\",\r\n cppname: \"ClusterSilentTracks\",\r\n level: 2,\r\n type: \"m\",\r\n minver: 1,\r\n multiple: false,\r\n webm: false,\r\n description: \"The list of tracks that are not used in that part of the stream. It is useful when using overlay tracks on seeking. Then you should decide what track to use.\",\r\n },\r\n ],\r\n [\r\n 0x6240,\r\n {\r\n name: \"ContentEncoding\",\r\n level: 4,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings for one content encoding like compression or encryption.\",\r\n },\r\n ],\r\n [\r\n 0x6264,\r\n {\r\n name: \"BitDepth\",\r\n cppname: \"AudioBitDepth\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n range: \"not 0\",\r\n multiple: false,\r\n description: \"Bits per sample, mostly used for PCM.\",\r\n },\r\n ],\r\n [\r\n 0x6532,\r\n {\r\n name: \"SignedElement\",\r\n level: 3,\r\n type: \"b\",\r\n multiple: true,\r\n webm: false,\r\n description: \"An element ID whose data will be used to compute the signature.\",\r\n },\r\n ],\r\n [\r\n 0x6624,\r\n {\r\n name: \"TrackTranslate\",\r\n level: 3,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The track identification for the given Chapter Codec.\",\r\n },\r\n ],\r\n [\r\n 0x6911,\r\n {\r\n name: \"ChapProcessCommand\",\r\n cppname: \"ChapterProcessCommand\",\r\n level: 5,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains all the commands associated to the Atom.\",\r\n },\r\n ],\r\n [\r\n 0x6922,\r\n {\r\n name: \"ChapProcessTime\",\r\n cppname: \"ChapterProcessTime\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Defines when the process command should be handled (0: during the whole chapter, 1: before starting playback, 2: after playback of the chapter).\",\r\n },\r\n ],\r\n [\r\n 0x6924,\r\n {\r\n name: \"ChapterTranslate\",\r\n level: 2,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"A tuple of corresponding ID used by chapter codecs to represent this segment.\",\r\n },\r\n ],\r\n [\r\n 0x6933,\r\n {\r\n name: \"ChapProcessData\",\r\n cppname: \"ChapterProcessData\",\r\n level: 6,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains the command information. The data should be interpreted depending on the ChapProcessCodecID value. For ChapProcessCodecID = 1, the data correspond to the binary DVD cell pre/post commands.\",\r\n },\r\n ],\r\n [\r\n 0x6944,\r\n {\r\n name: \"ChapProcess\",\r\n cppname: \"ChapterProcess\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains all the commands associated to the Atom.\",\r\n },\r\n ],\r\n [\r\n 0x6955,\r\n {\r\n name: \"ChapProcessCodecID\",\r\n cppname: \"ChapterProcessCodecID\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"Contains the type of the codec used for the processing. A value of 0 means native Matroska processing (to be defined), a value of 1 means the DVD command set is used. More codec IDs can be added later.\",\r\n },\r\n ],\r\n [\r\n 0x7373,\r\n {\r\n name: \"Tag\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Element containing elements specific to Tracks/Chapters.\",\r\n },\r\n ],\r\n [\r\n 0x7384,\r\n {\r\n name: \"SegmentFilename\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"A filename corresponding to this segment.\",\r\n },\r\n ],\r\n [\r\n 0x7446,\r\n {\r\n name: \"AttachmentLink\",\r\n cppname: \"TrackAttachmentLink\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The UID of an attachment that is used by this codec.\",\r\n },\r\n ],\r\n [\r\n 0x258688,\r\n {\r\n name: \"CodecName\",\r\n level: 3,\r\n type: \"8\",\r\n minver: 1,\r\n description: \"A human-readable string specifying the codec.\",\r\n },\r\n ],\r\n [\r\n 0x18538067,\r\n {\r\n name: \"Segment\",\r\n level: 0,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"This element contains all other top-level (level 1) elements. Typically a Matroska file is composed of 1 segment.\",\r\n },\r\n ],\r\n [\r\n 0x447a,\r\n {\r\n name: \"TagLanguage\",\r\n level: 4,\r\n type: \"s\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: \"und\",\r\n description: \"Specifies the language of the tag specified, in the Matroska languages form.\",\r\n },\r\n ],\r\n [\r\n 0x45a3,\r\n {\r\n name: \"TagName\",\r\n level: 4,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The name of the Tag that is going to be stored.\",\r\n },\r\n ],\r\n [\r\n 0x67c8,\r\n {\r\n name: \"SimpleTag\",\r\n cppname: \"TagSimple\",\r\n level: 3,\r\n recursive: true,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains general information about the target.\",\r\n },\r\n ],\r\n [\r\n 0x63c6,\r\n {\r\n name: \"TagAttachmentUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the Attachment(s) the tags belong to. If the value is 0 at this level, the tags apply to all the attachments in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63c4,\r\n {\r\n name: \"TagChapterUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the Chapter(s) the tags belong to. If the value is 0 at this level, the tags apply to all chapters in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63c9,\r\n {\r\n name: \"TagEditionUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the EditionEntry(s) the tags belong to. If the value is 0 at this level, the tags apply to all editions in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63c5,\r\n {\r\n name: \"TagTrackUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63ca,\r\n {\r\n name: \"TargetType\",\r\n cppname: \"TagTargetType\",\r\n level: 4,\r\n type: \"s\",\r\n minver: 1,\r\n webm: false,\r\n strong: \"informational\",\r\n description: 'An string that can be used to display the logical level of the target like \"ALBUM\", \"TRACK\", \"MOVIE\", \"CHAPTER\", etc (see TargetType).',\r\n },\r\n ],\r\n [\r\n 0x68ca,\r\n {\r\n name: \"TargetTypeValue\",\r\n cppname: \"TagTargetTypeValue\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 50,\r\n description: \"A number to indicate the logical level of the target (see TargetType).\",\r\n },\r\n ],\r\n [\r\n 0x63c0,\r\n {\r\n name: \"Targets\",\r\n cppname: \"TagTargets\",\r\n level: 3,\r\n type: \"m\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain all UIDs where the specified meta data apply. It is empty to describe everything in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x1254c367,\r\n {\r\n name: \"Tags\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Element containing elements specific to Tracks/Chapters. A list of valid tags can be found here.\",\r\n },\r\n ],\r\n [\r\n 0x450d,\r\n {\r\n name: \"ChapProcessPrivate\",\r\n cppname: \"ChapterProcessPrivate\",\r\n level: 5,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: 'Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the \"DVD level\" equivalent.',\r\n },\r\n ],\r\n [\r\n 0x437e,\r\n {\r\n name: \"ChapCountry\",\r\n cppname: \"ChapterCountry\",\r\n level: 5,\r\n type: \"s\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The countries corresponding to the string, same 2 octets as in Internet domains.\",\r\n },\r\n ],\r\n [\r\n 0x437c,\r\n {\r\n name: \"ChapLanguage\",\r\n cppname: \"ChapterLanguage\",\r\n level: 5,\r\n type: \"s\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n default: \"eng\",\r\n description: \"The languages corresponding to the string, in the bibliographic ISO-639-2 form.\",\r\n },\r\n ],\r\n [\r\n 0x8f,\r\n {\r\n name: \"ChapterTrack\",\r\n level: 4,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"List of tracks on which the chapter applies. If this element is not present, all tracks apply\",\r\n },\r\n ],\r\n [\r\n 0x63c3,\r\n {\r\n name: \"ChapterPhysicalEquiv\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: 'Specify the physical equivalent of this ChapterAtom like \"DVD\" (60) or \"SIDE\" (50), see complete list of values.',\r\n },\r\n ],\r\n [\r\n 0x6ebc,\r\n {\r\n name: \"ChapterSegmentEditionUID\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The EditionUID to play from the segment linked in ChapterSegmentUID.\",\r\n },\r\n ],\r\n [\r\n 0x6e67,\r\n {\r\n name: \"ChapterSegmentUID\",\r\n level: 4,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n range: \">0\",\r\n bytesize: 16,\r\n description: \"A segment to play in place of this chapter. Edition ChapterSegmentEditionUID should be used for this segment, otherwise no edition is used.\",\r\n },\r\n ],\r\n [\r\n 0x73c4,\r\n {\r\n name: \"ChapterUID\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: true,\r\n range: \"not 0\",\r\n description: \"A unique ID to identify the Chapter.\",\r\n },\r\n ],\r\n [\r\n 0xb6,\r\n {\r\n name: \"ChapterAtom\",\r\n level: 3,\r\n recursive: true,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains the atom information to use as the chapter atom (apply to all tracks).\",\r\n },\r\n ],\r\n [\r\n 0x45dd,\r\n {\r\n name: \"EditionFlagOrdered\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"Specify if the chapters can be defined multiple times and the order to play them is enforced. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x45db,\r\n {\r\n name: \"EditionFlagDefault\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"If a flag is set (1) the edition should be used as the default one. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x45bd,\r\n {\r\n name: \"EditionFlagHidden\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"If an edition is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x45bc,\r\n {\r\n name: \"EditionUID\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"A unique ID to identify the edition. It's useful for tagging an edition.\",\r\n },\r\n ],\r\n [\r\n 0x45b9,\r\n {\r\n name: \"EditionEntry\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains all information about a segment edition.\",\r\n },\r\n ],\r\n [\r\n 0x1043a770,\r\n {\r\n name: \"Chapters\",\r\n level: 1,\r\n type: \"m\",\r\n minver: 1,\r\n webm: true,\r\n description: \"A system to define basic menus and partition data. For more detailed information, look at the Chapters Explanation.\",\r\n },\r\n ],\r\n [\r\n 0x46ae,\r\n {\r\n name: \"FileUID\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"Unique ID representing the file, as random as possible.\",\r\n },\r\n ],\r\n [\r\n 0x465c,\r\n {\r\n name: \"FileData\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The data of the file.\",\r\n },\r\n ],\r\n [\r\n 0x466e,\r\n {\r\n name: \"FileName\",\r\n level: 3,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Filename of the attached file.\",\r\n },\r\n ],\r\n [\r\n 0x467e,\r\n {\r\n name: \"FileDescription\",\r\n level: 3,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"A human-friendly name for the attached file.\",\r\n },\r\n ],\r\n [\r\n 0x61a7,\r\n {\r\n name: \"AttachedFile\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"An attached file.\",\r\n },\r\n ],\r\n [\r\n 0x1941a469,\r\n {\r\n name: \"Attachments\",\r\n level: 1,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain attached files.\",\r\n },\r\n ],\r\n [\r\n 0xeb,\r\n {\r\n name: \"CueRefCodecState\",\r\n level: 5,\r\n type: \"u\",\r\n webm: false,\r\n default: 0,\r\n description: \"The position of the Codec State corresponding to this referenced element. 0 means that the data is taken from the initial Track Entry.\",\r\n },\r\n ],\r\n [\r\n 0x535f,\r\n {\r\n name: \"CueRefNumber\",\r\n level: 5,\r\n type: \"u\",\r\n webm: false,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"Number of the referenced Block of Track X in the specified Cluster.\",\r\n },\r\n ],\r\n [\r\n 0xdb,\r\n {\r\n name: \"CueReference\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 2,\r\n webm: false,\r\n description: \"The Clusters containing the required referenced Blocks.\",\r\n },\r\n ],\r\n [\r\n 0xea,\r\n {\r\n name: \"CueCodecState\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 2,\r\n webm: false,\r\n default: 0,\r\n description: \"The position of the Codec State corresponding to this Cue element. 0 means that the data is taken from the initial Track Entry.\",\r\n },\r\n ],\r\n [\r\n 0xb2,\r\n {\r\n name: \"CueDuration\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: false,\r\n minver: 4,\r\n webm: false,\r\n description: \"The duration of the block according to the segment time base. If missing the track's DefaultDuration does not apply and no duration information is available in terms of the cues.\",\r\n },\r\n ],\r\n [\r\n 0xf0,\r\n {\r\n name: \"CueRelativePosition\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: false,\r\n minver: 4,\r\n webm: false,\r\n description: \"The relative position of the referenced block inside the cluster with 0 being the first possible position for an element inside that cluster.\",\r\n },\r\n ],\r\n [\r\n 0xf1,\r\n {\r\n name: \"CueClusterPosition\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"The position of the Cluster containing the required Block.\",\r\n },\r\n ],\r\n [\r\n 0xf7,\r\n {\r\n name: \"CueTrack\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"The track for which a position is given.\",\r\n },\r\n ],\r\n [\r\n 0xb7,\r\n {\r\n name: \"CueTrackPositions\",\r\n level: 3,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contain positions for different tracks corresponding to the timestamp.\",\r\n },\r\n ],\r\n [\r\n 0xb3,\r\n {\r\n name: \"CueTime\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"Absolute timestamp according to the segment time base.\",\r\n },\r\n ],\r\n [\r\n 0xbb,\r\n {\r\n name: \"CuePoint\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains all information relative to a seek point in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x1c53bb6b,\r\n {\r\n name: \"Cues\",\r\n level: 1,\r\n type: \"m\",\r\n minver: 1,\r\n description: 'A top-level element to speed seeking access. All entries are local to the segment. Should be mandatory for non \"live\" streams.',\r\n },\r\n ],\r\n [\r\n 0x47e6,\r\n {\r\n name: \"ContentSigHashAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: [\"\", \"\"],\r\n description: \"The hash algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - SHA1-160 2 - MD5\",\r\n },\r\n ],\r\n [\r\n 0x47e5,\r\n {\r\n name: \"ContentSigAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: \"\",\r\n description: \"The algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - RSA\",\r\n },\r\n ],\r\n [\r\n 0x47e4,\r\n {\r\n name: \"ContentSigKeyID\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"This is the ID of the private key the data was signed with.\",\r\n },\r\n ],\r\n [\r\n 0x47e3,\r\n {\r\n name: \"ContentSignature\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"A cryptographic signature of the contents.\",\r\n },\r\n ],\r\n [\r\n 0x47e2,\r\n {\r\n name: \"ContentEncKeyID\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"For public key algorithms this is the ID of the public key the the data was encrypted with.\",\r\n },\r\n ],\r\n [\r\n 0x47e1,\r\n {\r\n name: \"ContentEncAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: \"\",\r\n description: \"The encryption algorithm used. The value '0' means that the contents have not been encrypted but only signed. Predefined values: 1 - DES, 2 - 3DES, 3 - Twofish, 4 - Blowfish, 5 - AES\",\r\n },\r\n ],\r\n [\r\n 0x6d80,\r\n {\r\n name: \"ContentEncodings\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings for several content encoding mechanisms like compression or encryption.\",\r\n },\r\n ],\r\n [\r\n 0xc4,\r\n {\r\n name: \"TrickMasterTrackSegmentUID\",\r\n level: 3,\r\n type: \"b\",\r\n divx: true,\r\n bytesize: 16,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc7,\r\n {\r\n name: \"TrickMasterTrackUID\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc6,\r\n {\r\n name: \"TrickTrackFlag\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n default: 0,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc1,\r\n {\r\n name: \"TrickTrackSegmentUID\",\r\n level: 3,\r\n type: \"b\",\r\n divx: true,\r\n bytesize: 16,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc0,\r\n {\r\n name: \"TrickTrackUID\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xed,\r\n {\r\n name: \"TrackJoinUID\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 3,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The trackUID number of a track whose blocks are used to create this virtual track.\",\r\n },\r\n ],\r\n [\r\n 0xe9,\r\n {\r\n name: \"TrackJoinBlocks\",\r\n level: 4,\r\n type: \"m\",\r\n minver: 3,\r\n webm: false,\r\n description: \"Contains the list of all tracks whose Blocks need to be combined to create this virtual track\",\r\n },\r\n ],\r\n [\r\n 0xe6,\r\n {\r\n name: \"TrackPlaneType\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 3,\r\n webm: false,\r\n description: \"The kind of plane this track corresponds to (0: left eye, 1: right eye, 2: background).\",\r\n },\r\n ],\r\n [\r\n 0xe5,\r\n {\r\n name: \"TrackPlaneUID\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 3,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The trackUID number of the track representing the plane.\",\r\n },\r\n ],\r\n [\r\n 0xe4,\r\n {\r\n name: \"TrackPlane\",\r\n level: 5,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 3,\r\n webm: false,\r\n description: \"Contains a video plane track that need to be combined to create this 3D track\",\r\n },\r\n ],\r\n [\r\n 0xe3,\r\n {\r\n name: \"TrackCombinePlanes\",\r\n level: 4,\r\n type: \"m\",\r\n minver: 3,\r\n webm: false,\r\n description: \"Contains the list of all video plane tracks that need to be combined to create this 3D track\",\r\n },\r\n ],\r\n [\r\n 0xe2,\r\n {\r\n name: \"TrackOperation\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 3,\r\n webm: false,\r\n description: \"Operation that needs to be applied on tracks to create this virtual track. For more details look at the Specification Notes on the subject.\",\r\n },\r\n ],\r\n [\r\n 0x7d7b,\r\n {\r\n name: \"ChannelPositions\",\r\n cppname: \"AudioPosition\",\r\n level: 4,\r\n type: \"b\",\r\n webm: false,\r\n description: \"Table of horizontal angles for each successive channel, see appendix.\",\r\n },\r\n ],\r\n [\r\n 0x9f,\r\n {\r\n name: \"Channels\",\r\n cppname: \"AudioChannels\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"Numbers of channels in the track.\",\r\n },\r\n ],\r\n [\r\n 0x78b5,\r\n {\r\n name: \"OutputSamplingFrequency\",\r\n cppname: \"AudioOutputSamplingFreq\",\r\n level: 4,\r\n type: \"f\",\r\n minver: 1,\r\n default: \"Sampling Frequency\",\r\n range: \"> 0\",\r\n description: \"Real output sampling frequency in Hz (used for SBR techniques).\",\r\n },\r\n ],\r\n [\r\n 0xb5,\r\n {\r\n name: \"SamplingFrequency\",\r\n cppname: \"AudioSamplingFreq\",\r\n level: 4,\r\n type: \"f\",\r\n mandatory: true,\r\n minver: 1,\r\n default: \"8000.0\",\r\n range: \"> 0\",\r\n description: \"Sampling frequency in Hz.\",\r\n },\r\n ],\r\n [\r\n 0xe1,\r\n {\r\n name: \"Audio\",\r\n cppname: \"TrackAudio\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n description: \"Audio settings.\",\r\n },\r\n ],\r\n [\r\n 0x2383e3,\r\n {\r\n name: \"FrameRate\",\r\n cppname: \"VideoFrameRate\",\r\n level: 4,\r\n type: \"f\",\r\n range: \"> 0\",\r\n strong: \"Informational\",\r\n description: \"Number of frames per second. only.\",\r\n },\r\n ],\r\n [\r\n 0x2fb523,\r\n {\r\n name: \"GammaValue\",\r\n cppname: \"VideoGamma\",\r\n level: 4,\r\n type: \"f\",\r\n webm: false,\r\n range: \"> 0\",\r\n description: \"Gamma Value.\",\r\n },\r\n ],\r\n [\r\n 0x2eb524,\r\n {\r\n name: \"ColourSpace\",\r\n cppname: \"VideoColourSpace\",\r\n level: 4,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n bytesize: 4,\r\n description: \"Same value as in AVI (32 bits).\",\r\n },\r\n ],\r\n [\r\n 0x54b3,\r\n {\r\n name: \"AspectRatioType\",\r\n cppname: \"VideoAspectRatio\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"Specify the possible modifications to the aspect ratio (0: free resizing, 1: keep aspect ratio, 2: fixed).\",\r\n },\r\n ],\r\n [\r\n 0x54b2,\r\n {\r\n name: \"DisplayUnit\",\r\n cppname: \"VideoDisplayUnit\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"How DisplayWidth & DisplayHeight should be interpreted (0: pixels, 1: centimeters, 2: inches, 3: Display Aspect Ratio).\",\r\n },\r\n ],\r\n [\r\n 0x54ba,\r\n {\r\n name: \"DisplayHeight\",\r\n cppname: \"VideoDisplayHeight\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: \"PixelHeight\",\r\n range: \"not 0\",\r\n description: \"Height of the video frames to display. The default value is only valid when DisplayUnit is 0.\",\r\n },\r\n ],\r\n [\r\n 0x54b0,\r\n {\r\n name: \"DisplayWidth\",\r\n cppname: \"VideoDisplayWidth\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: \"PixelWidth\",\r\n range: \"not 0\",\r\n description: \"Width of the video frames to display. The default value is only valid when DisplayUnit is 0.\",\r\n },\r\n ],\r\n [\r\n 0x54dd,\r\n {\r\n name: \"PixelCropRight\",\r\n cppname: \"VideoPixelCropRight\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove on the right of the image.\",\r\n },\r\n ],\r\n [\r\n 0x54cc,\r\n {\r\n name: \"PixelCropLeft\",\r\n cppname: \"VideoPixelCropLeft\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove on the left of the image.\",\r\n },\r\n ],\r\n [\r\n 0x54bb,\r\n {\r\n name: \"PixelCropTop\",\r\n cppname: \"VideoPixelCropTop\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove at the top of the image.\",\r\n },\r\n ],\r\n [\r\n 0x54aa,\r\n {\r\n name: \"PixelCropBottom\",\r\n cppname: \"VideoPixelCropBottom\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove at the bottom of the image (for HDTV content).\",\r\n },\r\n ],\r\n [\r\n 0xba,\r\n {\r\n name: \"PixelHeight\",\r\n cppname: \"VideoPixelHeight\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"Height of the encoded video frames in pixels.\",\r\n },\r\n ],\r\n [\r\n 0xb0,\r\n {\r\n name: \"PixelWidth\",\r\n cppname: \"VideoPixelWidth\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"Width of the encoded video frames in pixels.\",\r\n },\r\n ],\r\n [\r\n 0x53b9,\r\n {\r\n name: \"OldStereoMode\",\r\n level: 4,\r\n type: \"u\",\r\n maxver: \"0\",\r\n webm: false,\r\n divx: false,\r\n description: \"DEPRECATED, DO NOT USE. Bogus StereoMode value used in old versions of libmatroska. (0: mono, 1: right eye, 2: left eye, 3: both eyes).\",\r\n },\r\n ],\r\n [\r\n 0x53c0,\r\n {\r\n name: \"AlphaMode\",\r\n cppname: \"VideoAlphaMode\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 3,\r\n webm: true,\r\n default: 0,\r\n description: \"Alpha Video Mode. Presence of this element indicates that the BlockAdditional element could contain Alpha data.\",\r\n },\r\n ],\r\n [\r\n 0x53b8,\r\n {\r\n name: \"StereoMode\",\r\n cppname: \"VideoStereoMode\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 3,\r\n webm: true,\r\n default: 0,\r\n description: \"Stereo-3D video mode (0: mono, 1: side by side (left eye is first), 2: top-bottom (right eye is first), 3: top-bottom (left eye is first), 4: checkboard (right is first), 5: checkboard (left is first), 6: row interleaved (right is first), 7: row interleaved (left is first), 8: column interleaved (right is first), 9: column interleaved (left is first), 10: anaglyph (cyan/red), 11: side by side (right eye is first), 12: anaglyph (green/magenta), 13 both eyes laced in one Block (left eye is first), 14 both eyes laced in one Block (right eye is first)) . There are some more details on 3D support in the Specification Notes.\",\r\n },\r\n ],\r\n [\r\n 0x9a,\r\n {\r\n name: \"FlagInterlaced\",\r\n cppname: \"VideoFlagInterlaced\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: true,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"Set if the video is interlaced. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0xe0,\r\n {\r\n name: \"Video\",\r\n cppname: \"TrackVideo\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n description: \"Video settings.\",\r\n },\r\n ],\r\n [\r\n 0x66a5,\r\n {\r\n name: \"TrackTranslateTrackID\",\r\n level: 4,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The binary value used to represent this track in the chapter codec data. The format depends on the ChapProcessCodecID used.\",\r\n },\r\n ],\r\n [\r\n 0x66bf,\r\n {\r\n name: \"TrackTranslateCodec\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The chapter codec using this ID (0: Matroska Script, 1: DVD-menu).\",\r\n },\r\n ],\r\n [\r\n 0x66fc,\r\n {\r\n name: \"TrackTranslateEditionUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Specify an edition UID on which this translation applies. When not specified, it means for all editions found in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x56bb,\r\n {\r\n name: \"SeekPreRoll\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n multiple: false,\r\n default: 0,\r\n minver: 4,\r\n webm: true,\r\n description: \"After a discontinuity, SeekPreRoll is the duration in nanoseconds of the data the decoder must decode before the decoded data is valid.\",\r\n },\r\n ],\r\n [\r\n 0x56aa,\r\n {\r\n name: \"CodecDelay\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: false,\r\n default: 0,\r\n minver: 4,\r\n webm: true,\r\n description: \"CodecDelay is The codec-built-in delay in nanoseconds. This value must be subtracted from each block timestamp in order to get the actual timestamp. The value should be small so the muxing of tracks with the same actual timestamp are in the same Cluster.\",\r\n },\r\n ],\r\n [\r\n 0x6fab,\r\n {\r\n name: \"TrackOverlay\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Specify that this track is an overlay track for the Track specified (in the u-integer). That means when this track has a gap (see SilentTracks) the overlay track should be used instead. The order of multiple TrackOverlay matters, the first one is the one that should be used. If not found it should be the second, etc.\",\r\n },\r\n ],\r\n [\r\n 0xaa,\r\n {\r\n name: \"CodecDecodeAll\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: false,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"The codec can decode potentially damaged data (1 bit).\",\r\n },\r\n ],\r\n [\r\n 0x26b240,\r\n {\r\n name: \"CodecDownloadURL\",\r\n level: 3,\r\n type: \"s\",\r\n multiple: true,\r\n webm: false,\r\n description: \"A URL to download about the codec used.\",\r\n },\r\n ],\r\n [\r\n 0x3b4040,\r\n {\r\n name: \"CodecInfoURL\",\r\n level: 3,\r\n type: \"s\",\r\n multiple: true,\r\n webm: false,\r\n description: \"A URL to find information about the codec used.\",\r\n },\r\n ],\r\n [\r\n 0x3a9697,\r\n {\r\n name: \"CodecSettings\",\r\n level: 3,\r\n type: \"8\",\r\n webm: false,\r\n description: \"A string describing the encoding setting used.\",\r\n },\r\n ],\r\n [\r\n 0x63a2,\r\n {\r\n name: \"CodecPrivate\",\r\n level: 3,\r\n type: \"b\",\r\n minver: 1,\r\n description: \"Private data only known to the codec.\",\r\n },\r\n ],\r\n [\r\n 0x22b59c,\r\n {\r\n name: \"Language\",\r\n cppname: \"TrackLanguage\",\r\n level: 3,\r\n type: \"s\",\r\n minver: 1,\r\n default: \"eng\",\r\n description: \"Specifies the language of the track in the Matroska languages form.\",\r\n },\r\n ],\r\n [\r\n 0x536e,\r\n {\r\n name: \"Name\",\r\n cppname: \"TrackName\",\r\n level: 3,\r\n type: \"8\",\r\n minver: 1,\r\n description: \"A human-readable track name.\",\r\n },\r\n ],\r\n [\r\n 0x55ee,\r\n {\r\n name: \"MaxBlockAdditionID\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"The maximum value of BlockAdditions for this track.\",\r\n },\r\n ],\r\n [\r\n 0x537f,\r\n {\r\n name: \"TrackOffset\",\r\n level: 3,\r\n type: \"i\",\r\n webm: false,\r\n default: 0,\r\n description: \"A value to add to the Block's Timestamp. This can be used to adjust the playback offset of a track.\",\r\n },\r\n ],\r\n [\r\n 0x23314f,\r\n {\r\n name: \"TrackTimecodeScale\",\r\n level: 3,\r\n type: \"f\",\r\n mandatory: true,\r\n minver: 1,\r\n maxver: \"3\",\r\n webm: false,\r\n default: \"1.0\",\r\n range: \"> 0\",\r\n description: \"DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks (mostly used to adjust video speed when the audio length differs).\",\r\n },\r\n ],\r\n [\r\n 0x234e7a,\r\n {\r\n name: \"DefaultDecodedFieldDuration\",\r\n cppname: \"TrackDefaultDecodedFieldDuration\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 4,\r\n range: \"not 0\",\r\n description: \"The period in nanoseconds (not scaled by TimcodeScale)\\nbetween two successive fields at the output of the decoding process (see the notes)\",\r\n },\r\n ],\r\n [\r\n 0x23e383,\r\n {\r\n name: \"DefaultDuration\",\r\n cppname: \"TrackDefaultDuration\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"Number of nanoseconds (not scaled via TimecodeScale) per frame ('frame' in the Matroska sense -- one element put into a (Simple)Block).\",\r\n },\r\n ],\r\n [\r\n 0x6df8,\r\n {\r\n name: \"MaxCache\",\r\n cppname: \"TrackMaxCache\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The maximum cache size required to store referenced frames in and the current frame. 0 means no cache is needed.\",\r\n },\r\n ],\r\n [\r\n 0x6de7,\r\n {\r\n name: \"MinCache\",\r\n cppname: \"TrackMinCache\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"The minimum number of frames a player should be able to cache during playback. If set to 0, the reference pseudo-cache system is not used.\",\r\n },\r\n ],\r\n [\r\n 0x9c,\r\n {\r\n name: \"FlagLacing\",\r\n cppname: \"TrackFlagLacing\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Set if the track may contain blocks using lacing. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x55aa,\r\n {\r\n name: \"FlagForced\",\r\n cppname: \"TrackFlagForced\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"Set if that track MUST be active during playback. There can be many forced track for a kind (audio, video or subs), the player should select the one which language matches the user preference or the default + forced track. Overlay MAY happen between a forced and non-forced track of the same kind. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0xb9,\r\n {\r\n name: \"FlagEnabled\",\r\n cppname: \"TrackFlagEnabled\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: true,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Set if the track is usable. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x73c5,\r\n {\r\n name: \"TrackUID\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"A unique ID to identify the Track. This should be kept the same when making a direct stream copy of the Track to another file.\",\r\n },\r\n ],\r\n [\r\n 0xd7,\r\n {\r\n name: \"TrackNumber\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number).\",\r\n },\r\n ],\r\n [\r\n 0xae,\r\n {\r\n name: \"TrackEntry\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Describes a track with all elements.\",\r\n },\r\n ],\r\n [\r\n 0x1654ae6b,\r\n {\r\n name: \"Tracks\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"A top-level block of information with many tracks described.\",\r\n },\r\n ],\r\n [\r\n 0xaf,\r\n {\r\n name: \"EncryptedBlock\",\r\n level: 2,\r\n type: \"b\",\r\n multiple: true,\r\n webm: false,\r\n description: \"Similar to EncryptedBlock Structure)\",\r\n },\r\n ],\r\n [\r\n 0xca,\r\n {\r\n name: \"ReferenceTimeCode\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 0,\r\n webm: false,\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc9,\r\n {\r\n name: \"ReferenceOffset\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 0,\r\n webm: false,\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc8,\r\n {\r\n name: \"ReferenceFrame\",\r\n level: 3,\r\n type: \"m\",\r\n multiple: false,\r\n minver: 0,\r\n webm: false,\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xcf,\r\n {\r\n name: \"SliceDuration\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The (scaled) duration to apply to the element.\",\r\n },\r\n ],\r\n [\r\n 0xce,\r\n {\r\n name: \"Delay\",\r\n cppname: \"SliceDelay\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The (scaled) delay to apply to the element.\",\r\n },\r\n ],\r\n [\r\n 0xcb,\r\n {\r\n name: \"BlockAdditionID\",\r\n cppname: \"SliceBlockAddID\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The ID of the BlockAdditional element (0 is the main Block).\",\r\n },\r\n ],\r\n [\r\n 0xcd,\r\n {\r\n name: \"FrameNumber\",\r\n cppname: \"SliceFrameNumber\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame).\",\r\n },\r\n ],\r\n [\r\n 0xcc,\r\n {\r\n name: \"LaceNumber\",\r\n cppname: \"SliceLaceNumber\",\r\n level: 5,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n divx: false,\r\n description: \"The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc). While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback.\",\r\n },\r\n ],\r\n [\r\n 0xe8,\r\n {\r\n name: \"TimeSlice\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n divx: false,\r\n description: \"Contains extra time information about the data contained in the Block. While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback.\",\r\n },\r\n ],\r\n [\r\n 0x8e,\r\n {\r\n name: \"Slices\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n divx: false,\r\n description: \"Contains slices description.\",\r\n },\r\n ],\r\n [\r\n 0x75a2,\r\n {\r\n name: \"DiscardPadding\",\r\n level: 3,\r\n type: \"i\",\r\n minver: 4,\r\n webm: true,\r\n description: \"Duration in nanoseconds of the silent data added to the Block (padding at the end of the Block for positive value, at the beginning of the Block for negative value). The duration of DiscardPadding is not calculated in the duration of the TrackEntry and should be discarded during playback.\",\r\n },\r\n ],\r\n [\r\n 0xa4,\r\n {\r\n name: \"CodecState\",\r\n level: 3,\r\n type: \"b\",\r\n minver: 2,\r\n webm: false,\r\n description: \"The new codec state to use. Data interpretation is private to the codec. This information should always be referenced by a seek entry.\",\r\n },\r\n ],\r\n [\r\n 0xfd,\r\n {\r\n name: \"ReferenceVirtual\",\r\n level: 3,\r\n type: \"i\",\r\n webm: false,\r\n description: \"Relative position of the data that should be in position of the virtual block.\",\r\n },\r\n ],\r\n [\r\n 0xfb,\r\n {\r\n name: \"ReferenceBlock\",\r\n level: 3,\r\n type: \"i\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"Timestamp of another frame used as a reference (ie: B or P frame). The timestamp is relative to the block it's attached to.\",\r\n },\r\n ],\r\n [\r\n 0xfa,\r\n {\r\n name: \"ReferencePriority\",\r\n cppname: \"FlagReferenced\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced.\",\r\n },\r\n ],\r\n [\r\n 0x9b,\r\n {\r\n name: \"BlockDuration\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n default: \"TrackDuration\",\r\n description: 'The duration of the Block (based on TimecodeScale). This element is mandatory when DefaultDuration is set for the track (but can be omitted as other default values). When not written and with no DefaultDuration, the value is assumed to be the difference between the timestamp of this Block and the timestamp of the next Block in \"display\" order (not coding order). This element can be useful at the end of a Track (as there is not other Block available), or when there is a break in a track like for subtitle tracks. When set to 0 that means the frame is not a keyframe.',\r\n },\r\n ],\r\n [\r\n 0xa5,\r\n {\r\n name: \"BlockAdditional\",\r\n level: 5,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Interpreted by the codec as it wishes (using the BlockAddID).\",\r\n },\r\n ],\r\n [\r\n 0xee,\r\n {\r\n name: \"BlockAddID\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"An ID to identify the BlockAdditional level.\",\r\n },\r\n ],\r\n [\r\n 0xa6,\r\n {\r\n name: \"BlockMore\",\r\n level: 4,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain the BlockAdditional and some parameters.\",\r\n },\r\n ],\r\n [\r\n 0x75a1,\r\n {\r\n name: \"BlockAdditions\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain additional blocks to complete the main one. An EBML parser that has no knowledge of the Block structure could still see and use/skip these data.\",\r\n },\r\n ],\r\n [\r\n 0xa2,\r\n {\r\n name: \"BlockVirtual\",\r\n level: 3,\r\n type: \"b\",\r\n webm: false,\r\n description: \"A Block with no data. It must be stored in the stream at the place the real Block should be in display order. (see Block Virtual)\",\r\n },\r\n ],\r\n [\r\n 0xa1,\r\n {\r\n name: \"Block\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"Block containing the actual data to be rendered and a timestamp relative to the Cluster Timecode. (see Block Structure)\",\r\n },\r\n ],\r\n [\r\n 0xa0,\r\n {\r\n name: \"BlockGroup\",\r\n level: 2,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"Basic container of information containing a single Block or BlockVirtual, and information specific to that Block/VirtualBlock.\",\r\n },\r\n ],\r\n [\r\n 0xa3,\r\n {\r\n name: \"SimpleBlock\",\r\n level: 2,\r\n type: \"b\",\r\n multiple: true,\r\n minver: 2,\r\n webm: true,\r\n divx: true,\r\n description: \"Similar to SimpleBlock Structure)\",\r\n },\r\n ],\r\n [\r\n 0xab,\r\n {\r\n name: \"PrevSize\",\r\n cppname: \"ClusterPrevSize\",\r\n level: 2,\r\n type: \"u\",\r\n minver: 1,\r\n description: \"Size of the previous Cluster, in octets. Can be useful for backward playing.\",\r\n },\r\n ],\r\n [\r\n 0xa7,\r\n {\r\n name: \"Position\",\r\n cppname: \"ClusterPosition\",\r\n level: 2,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The Position of the Cluster in the segment (0 in live broadcast streams). It might help to resynchronise offset on damaged streams.\",\r\n },\r\n ],\r\n [\r\n 0x58d7,\r\n {\r\n name: \"SilentTrackNumber\",\r\n cppname: \"ClusterSilentTrackNumber\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"One of the track number that are not used from now on in the stream. It could change later if not specified as silent in a further Cluster.\",\r\n },\r\n ],\r\n [\r\n 0xe7,\r\n {\r\n name: \"Timecode\",\r\n cppname: \"ClusterTimecode\",\r\n level: 2,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"Absolute timestamp of the cluster (based on TimecodeScale).\",\r\n },\r\n ],\r\n [\r\n 0x1f43b675,\r\n {\r\n name: \"Cluster\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"The lower level element containing the (monolithic) Block structure.\",\r\n },\r\n ],\r\n [\r\n 0x4d80,\r\n {\r\n name: \"MuxingApp\",\r\n level: 2,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n description: 'Muxing application or library (\"libmatroska-0.4.3\").',\r\n },\r\n ],\r\n [\r\n 0x7ba9,\r\n {\r\n name: \"Title\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"General name of the segment.\",\r\n },\r\n ],\r\n [\r\n 0x2ad7b2,\r\n {\r\n name: \"TimecodeScaleDenominator\",\r\n level: 2,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 4,\r\n default: 1000000000,\r\n description: \"Timestamp scale numerator, see TimecodeScale.\",\r\n },\r\n ],\r\n [\r\n 0x2ad7b1,\r\n {\r\n name: \"TimecodeScale\",\r\n level: 2,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1000000,\r\n description: \"Timestamp scale in nanoseconds (1.000.000 means all timestamps in the segment are expressed in milliseconds).\",\r\n },\r\n ],\r\n [\r\n 0x69a5,\r\n {\r\n name: \"ChapterTranslateID\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The binary value used to represent this segment in the chapter codec data. The format depends on the ChapProcessCodecID used.\",\r\n },\r\n ],\r\n [\r\n 0x69bf,\r\n {\r\n name: \"ChapterTranslateCodec\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The chapter codec using this ID (0: Matroska Script, 1: DVD-menu).\",\r\n },\r\n ],\r\n [\r\n 0x69fc,\r\n {\r\n name: \"ChapterTranslateEditionUID\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Specify an edition UID on which this correspondance applies. When not specified, it means for all editions found in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x3e83bb,\r\n {\r\n name: \"NextFilename\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"An escaped filename corresponding to the next segment.\",\r\n },\r\n ],\r\n [\r\n 0x3eb923,\r\n {\r\n name: \"NextUID\",\r\n level: 2,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n bytesize: 16,\r\n description: \"A unique ID to identify the next chained segment (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x3c83ab,\r\n {\r\n name: \"PrevFilename\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"An escaped filename corresponding to the previous segment.\",\r\n },\r\n ],\r\n [\r\n 0x3cb923,\r\n {\r\n name: \"PrevUID\",\r\n level: 2,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n bytesize: 16,\r\n description: \"A unique ID to identify the previous chained segment (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x73a4,\r\n {\r\n name: \"SegmentUID\",\r\n level: 2,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n bytesize: 16,\r\n description: \"A randomly generated unique ID to identify the current segment between many others (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x1549a966,\r\n {\r\n name: \"Info\",\r\n level: 1,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains miscellaneous general information and statistics on the file.\",\r\n },\r\n ],\r\n [\r\n 0x53ac,\r\n {\r\n name: \"SeekPosition\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"The position of the element in the segment in octets (0 = first level 1 element).\",\r\n },\r\n ],\r\n [\r\n 0x53ab,\r\n {\r\n name: \"SeekID\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"The binary ID corresponding to the element name.\",\r\n },\r\n ],\r\n [\r\n 0x4dbb,\r\n {\r\n name: \"Seek\",\r\n cppname: \"SeekPoint\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains a single seek entry to an EBML element.\",\r\n },\r\n ],\r\n [\r\n 0x114d9b74,\r\n {\r\n name: \"SeekHead\",\r\n cppname: \"SeekHeader\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains the position of other level 1 elements.\",\r\n },\r\n ],\r\n [\r\n 0x7e7b,\r\n {\r\n name: \"SignatureElementList\",\r\n level: 2,\r\n type: \"m\",\r\n multiple: true,\r\n webm: false,\r\n i: \"Cluster|Block|BlockAdditional\",\r\n description: \"A list consists of a number of consecutive elements that represent one case where data is used in signature. Ex: means that the BlockAdditional of all Blocks in all Clusters is used for encryption.\",\r\n },\r\n ],\r\n [\r\n 0x7e5b,\r\n {\r\n name: \"SignatureElements\",\r\n level: 1,\r\n type: \"m\",\r\n webm: false,\r\n description: \"Contains elements that will be used to compute the signature.\",\r\n },\r\n ],\r\n [\r\n 0x7eb5,\r\n {\r\n name: \"Signature\",\r\n level: 1,\r\n type: \"b\",\r\n webm: false,\r\n description: \"The signature of the data (until a new.\",\r\n },\r\n ],\r\n [\r\n 0x7ea5,\r\n {\r\n name: \"SignaturePublicKey\",\r\n level: 1,\r\n type: \"b\",\r\n webm: false,\r\n description: \"The public key to use with the algorithm (in the case of a PKI-based signature).\",\r\n },\r\n ],\r\n [\r\n 0x7e9a,\r\n {\r\n name: \"SignatureHash\",\r\n level: 1,\r\n type: \"u\",\r\n webm: false,\r\n description: \"Hash algorithm used (1=SHA1-160, 2=MD5).\",\r\n },\r\n ],\r\n [\r\n 0x7e8a,\r\n {\r\n name: \"SignatureAlgo\",\r\n level: 1,\r\n type: \"u\",\r\n webm: false,\r\n description: \"Signature algorithm used (1=RSA, 2=elliptic).\",\r\n },\r\n ],\r\n [\r\n 0x1b538667,\r\n {\r\n name: \"SignatureSlot\",\r\n level: -1,\r\n type: \"m\",\r\n multiple: true,\r\n webm: false,\r\n description: \"Contain signature of some (coming) elements in the stream.\",\r\n },\r\n ],\r\n [\r\n 0xbf,\r\n {\r\n name: \"CRC-32\",\r\n level: -1,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian\",\r\n },\r\n ],\r\n [\r\n 0xec,\r\n {\r\n name: \"Void\",\r\n level: -1,\r\n type: \"b\",\r\n minver: 1,\r\n description: \"Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use.\",\r\n },\r\n ],\r\n [\r\n 0x42f3,\r\n {\r\n name: \"EBMLMaxSizeLength\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 8,\r\n minver: 1,\r\n description: \"The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid.\",\r\n },\r\n ],\r\n [\r\n 0x42f2,\r\n {\r\n name: \"EBMLMaxIDLength\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 4,\r\n minver: 1,\r\n description: \"The maximum length of the IDs you'll find in this file (4 or less in Matroska).\",\r\n },\r\n ],\r\n [\r\n 0x42f7,\r\n {\r\n name: \"EBMLReadVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The minimum EBML version a parser has to support to read this file.\",\r\n },\r\n ],\r\n [\r\n 0x1a45dfa3,\r\n {\r\n name: \"EBML\",\r\n level: 0,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Set the EBML characteristics of the data to follow. Each EBML document has to start with this.\",\r\n },\r\n ],\r\n]);\r\n\r\nmodule.exports = schema;\r\n","const schema = require(\"./schema\");\r\n\r\nclass Tools {\r\n /**\r\n * read variable length integer per\r\n * https://www.matroska.org/technical/specs/index.html#EBML_ex\r\n * @static\r\n * @param {Buffer} buffer containing input\r\n * @param {Number} [start=0] position in buffer\r\n * @returns {{length: Number, value: number}} value / length object\r\n */\r\n static readVint(buffer, start = 0) {\r\n // Calculate length based on leading zeros in the first byte\r\n const firstByte = buffer[start];\r\n\r\n // Find the first 1 bit to determine length (VINT_WIDTH)\r\n let length = 1;\r\n let mask = 0x80; // 10000000 binary\r\n while ((firstByte & mask) === 0 && length <= 8) {\r\n length++;\r\n mask >>= 1;\r\n }\r\n\r\n if (length > 8) {\r\n const number = Tools.readHexString(buffer, start, start + length);\r\n throw new Error(`Unrepresentable length: ${length} ${number}`);\r\n }\r\n\r\n if (start + length > buffer.length) {\r\n return null;\r\n }\r\n\r\n // Check if all data bits are 1 (indicating unknown/infinite size)\r\n const dataMask = (1 << (8 - length)) - 1;\r\n let value = firstByte & dataMask;\r\n\r\n // Check for \"all bits set\" pattern (unknown size)\r\n let allBitsSet = (firstByte & dataMask) === dataMask;\r\n for (let i = 1; i < length && allBitsSet; i++) {\r\n if (buffer[start + i] !== 0xFF) {\r\n allBitsSet = false;\r\n }\r\n }\r\n\r\n // If all data bits are 1, it represents unknown/infinite size\r\n if (allBitsSet) {\r\n return { length, value: -1 };\r\n }\r\n\r\n // Parse the remaining bytes\r\n for (let i = 1; i < length; i++) {\r\n value = (value << 8) | buffer[start + i];\r\n }\r\n\r\n return { length, value };\r\n }\r\n\r\n /**\r\n * write variable length integer\r\n * @static\r\n * @param {Number} value to store into buffer\r\n * @returns {Buffer} containing the value\r\n */\r\n static writeVint(value, minLength = 1) {\r\n if (value < 0 || value > 2 ** 53) {\r\n throw new Error(`Unrepresentable value: ${value}`);\r\n }\r\n\r\n minLength = typeof minLength === 'number' && !isNaN(minLength) ? Math.max(1, minLength) : 1;\r\n minLength = Math.min(8, minLength);\r\n let length = 1;\r\n for (length = minLength; length <= 8; length += 1) {\r\n if (value < 2 ** (7 * length) - 1) {\r\n break;\r\n }\r\n }\r\n\r\n const buffer = Buffer.alloc(length);\r\n let val = value;\r\n for (let i = 1; i <= length; i += 1) {\r\n const b = val & 0xff;\r\n buffer[length - i] = b;\r\n val -= b;\r\n val /= 2 ** 8;\r\n }\r\n buffer[0] |= 1 << (8 - length);\r\n\r\n return buffer;\r\n }\r\n\r\n /**\r\n * *\r\n * concatenate two arrays of bytes\r\n * @static\r\n * @param {Buffer} a1 First array\r\n * @param {Buffer} a2 Second array\r\n * @returns {Buffer} concatenated arrays\r\n */\r\n static concatenate(a1, a2) {\r\n // both null or undefined\r\n if (!a1 && !a2) {\r\n return Buffer.from([]);\r\n }\r\n if (!a1 || a1.byteLength === 0) {\r\n return a2;\r\n }\r\n if (!a2 || a2.byteLength === 0) {\r\n return a1;\r\n }\r\n\r\n return Buffer.concat([a1, a2]);\r\n }\r\n\r\n /**\r\n * get a hex text string from Buff[start,end)\r\n * @param {Buffer} buff from which to read the string\r\n * @param {Number} [start=0] starting point (default 0)\r\n * @param {Number} [end=buff.byteLength] ending point (default the whole buffer)\r\n * @returns {string} the hex string\r\n */\r\n static readHexString(buff, start = 0, end = buff.byteLength) {\r\n return Array.from(buff.slice(start, end))\r\n .map(q => Number(q).toString(16))\r\n .reduce((acc, current) => `${acc}${current.padStart(2, '0')}`, '');\r\n }\r\n\r\n /**\r\n * tries to read out a UTF-8 encoded string\r\n * @param {Buffer} buff the buffer to attempt to read from\r\n * @return {string|null} the decoded text, or null if unable to\r\n */\r\n static readUtf8(buff) {\r\n try {\r\n return Buffer.from(buff).toString('utf8');\r\n } catch (exception) {\r\n return null;\r\n }\r\n }\r\n\r\n /**\r\n * get an unsigned number from a buffer\r\n * @param {Buffer} buff from which to read variable-length unsigned number\r\n * @returns {number|string} result (in hex for lengths > 6)\r\n */\r\n static readUnsigned(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 1:\r\n return b.getUint8(0);\r\n case 2:\r\n return b.getUint16(0);\r\n case 4:\r\n return b.getUint32(0);\r\n default:\r\n break;\r\n }\r\n if (buff.byteLength <= 6) {\r\n return buff.reduce((acc, current) => acc * 256 + current, 0);\r\n }\r\n\r\n return Tools.readHexString(buff, 0, buff.byteLength);\r\n }\r\n\r\n /**\r\n * get an signed number from a buffer\r\n * @static\r\n * @param {Buffer} buff from which to read variable-length signed number\r\n * @returns {number} result\r\n */\r\n static readSigned(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 1:\r\n return b.getInt8(0);\r\n case 2:\r\n return b.getInt16(0);\r\n case 4:\r\n return b.getInt32(0);\r\n default:\r\n return NaN;\r\n }\r\n }\r\n\r\n /**\r\n * get an floating-point number from a buffer\r\n * @static\r\n * @param {Buffer} buff from which to read variable-length floating-point number\r\n * @returns {number} result\r\n */\r\n static readFloat(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 4:\r\n return b.getFloat32(0);\r\n case 8:\r\n return b.getFloat64(0);\r\n default:\r\n return NaN;\r\n }\r\n }\r\n\r\n /**\r\n * get a date from a buffer\r\n * @static\r\n * @param {Buffer} buff from which to read the date\r\n * @return {Date} result\r\n */\r\n static readDate(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 1:\r\n return new Date(b.getUint8(0));\r\n case 2:\r\n return new Date(b.getUint16(0));\r\n case 4:\r\n return new Date(b.getUint32(0));\r\n case 8:\r\n return new Date(Number.parseInt(Tools.readHexString(buff), 16));\r\n default:\r\n return new Date(0);\r\n }\r\n }\r\n\r\n /**\r\n * Reads the data from a tag\r\n * @static\r\n * @param {TagData} tagObj The tag object to be read\r\n * @param {Buffer} data Data to be transformed\r\n * @return {Tag} result\r\n */\r\n static readDataFromTag(tagObj, data) {\r\n const { type, name } = tagObj;\r\n let { track } = tagObj;\r\n let discardable = tagObj.discardable || false;\r\n let keyframe = tagObj.keyframe || false;\r\n let payload = null;\r\n let value;\r\n\r\n switch (type) {\r\n case 'u':\r\n value = Tools.readUnsigned(data);\r\n break;\r\n case 'f':\r\n value = Tools.readFloat(data);\r\n break;\r\n case 'i':\r\n value = Tools.readSigned(data);\r\n break;\r\n case 's':\r\n value = String.fromCharCode(...data);\r\n break;\r\n case '8':\r\n value = Tools.readUtf8(data);\r\n break;\r\n case 'd':\r\n value = Tools.readDate(data);\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n if (name === 'SimpleBlock' || name === 'Block') {\r\n let p = 0;\r\n const { length, value: trak } = Tools.readVint(data, p);\r\n p += length;\r\n track = trak;\r\n value = Tools.readSigned(data.subarray(p, p + 2));\r\n p += 2;\r\n if (name === 'SimpleBlock') {\r\n keyframe = Boolean(data[length + 2] & 0x80);\r\n discardable = Boolean(data[length + 2] & 0x01);\r\n }\r\n p += 1;\r\n payload = data.subarray(p);\r\n }\r\n\r\n return {\r\n ...tagObj,\r\n data,\r\n discardable,\r\n keyframe,\r\n payload,\r\n track,\r\n value,\r\n };\r\n }\r\n\r\n /**\r\n * @param {Array<[number, import(\"./types/schema.types\").EBMLSchema]>} items\r\n */\r\n static addSchema(items) {\r\n if (!Array.isArray(items)) {\r\n return schema\r\n }\r\n for (const item of items) {\r\n schema.set(item[0], item[1])\r\n }\r\n return schema\r\n }\r\n\r\n /**\r\n * @param {number} value\r\n * @param {number} size\r\n */\r\n static toUint8(value, size) {\r\n var buf = new Uint8Array(size)\r\n for (let i = 0, k = size - 1; i < size; ++i, --k) {\r\n buf[i] = (value >> (8 * k)) & 0xFF\r\n }\r\n return buf\r\n }\r\n\r\n /** @param {number} value */\r\n static measureUnsignedInt(value) {\r\n // Force to 32-bit unsigned integer\r\n if (value < (1 << 8)) {\r\n return 1;\r\n } else if (value < (1 << 16)) {\r\n return 2;\r\n } else if (value < (1 << 24)) {\r\n return 3;\r\n } else if (value < 2 ** 32) {\r\n return 4;\r\n } else if (value < 2 ** 40) {\r\n return 5;\r\n } else {\r\n return 6;\r\n }\r\n };\r\n\r\n /** @param {number} value */\r\n static measureEBMLVarInt(value) {\r\n if (value < (1 << 7) - 1) {\r\n /** Top bit is set, leaving 7 bits to hold the integer, but we can't store\r\n * 127 because \"all bits set to one\" is a reserved value. Same thing for the\r\n * other cases below:\r\n */\r\n return 1;\r\n } else if (value < (1 << 14) - 1) {\r\n return 2;\r\n } else if (value < (1 << 21) - 1) {\r\n return 3;\r\n } else if (value < (1 << 28) - 1) {\r\n return 4;\r\n } else if (value < 2 ** 35 - 1) {\r\n return 5;\r\n } else if (value < 2 ** 42 - 1) {\r\n return 6;\r\n } else {\r\n throw new Error('EBML VINT size not supported ' + value);\r\n }\r\n };\r\n}\r\n\r\nmodule.exports = Tools","module.exports = require(\"stream\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(44);\n"],"names":["module","exports","debugLog","name","enabled","log","args","Transform","__webpack_require__","tools","schema","debug","EbmlDecoder","mBuffer","mTagStack","mState","mCursor","mTotal","constructor","options","super","readableObjectMode","buffer","this","cursor","state","tagStack","total","_transform","chunk","enc","done","concatenate","Buffer","from","length","readTag","readSize","readContent","getSchemaInfo","tag","Number","isInteger","has","get","tagStr","toString","toUpperCase","unknown","type","description","level","minver","multiple","webm","set","console","warn","start","readVint","readHexString","tagNum","parseInt","tagObj","value","end","push","size","dataSize","rest","data","subarray","pop","readDataFromTag","topEle","encodeTag","tagId","tagData","writeVint","isBuffer","concat","EbmlEncoder","mCorked","mStack","writableObjectMode","corked","stack","stak","startTag","writeTag","endTag","flush","byteLength","bufferAndFlush","_flush","_bufferAndFlush","tagName","Array","keys","find","str","cork","uncork","Error","children","id","childTagDataBuffers","map","child","Decoder","Encoder","Map","mandatory","range","cppname","default","br","del","bytesize","divx","recursive","strong","maxver","i","Tools","firstByte","mask","number","dataMask","allBitsSet","minLength","isNaN","Math","max","min","alloc","val","b","a1","a2","buff","slice","q","reduce","acc","current","padStart","readUtf8","exception","readUnsigned","DataView","byteOffset","getUint8","getUint16","getUint32","readSigned","getInt8","getInt16","getInt32","NaN","readFloat","getFloat32","getFloat64","readDate","Date","track","discardable","keyframe","payload","String","fromCharCode","p","trak","Boolean","addSchema","items","isArray","item","toUint8","buf","Uint8Array","k","measureUnsignedInt","measureEBMLVarInt","require","__webpack_module_cache__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""}
|
|
1
|
+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AA,IAGA,CACA,IACA,CACApD,KAAA,aACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAJ,YAAA,qCACAG,UAAA,IAGA,CACA,IACA,CACApD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACA9D,MAAA,EACAJ,YAAA,+DACAE,OAAA,EACAC,UAAA,IAGA,CACA,IACA,CACApD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAF,MAAA,MACAnE,YAAA,sIACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,kBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAC,GAAA,cACAC,IAAA,2BACAvE,YAAA,mHACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,sBACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,2KACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,UACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAG,QAAA,WACAnE,OAAA,EACAF,YAAA,+HACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACArD,KAAA,qBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAG,QAAA,EACAnE,OAAA,EACAF,YAAA,+EACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACArD,KAAA,cACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAG,QAAA,EACAnE,OAAA,EACAF,YAAA,sDACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACArD,KAAA,iBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAG,QAAA,EACAnE,OAAA,EACAF,YAAA,8DACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACArD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAoE,SAAA,GACAxE,YAAA,gGAGA,CACA,MACA,CACAjD,KAAA,UACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAF,YAAA,mEACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACArD,KAAA,aACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAF,MAAA,MACAnE,YAAA,gGACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,YACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,2GACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,YACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,wBACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,WACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAiE,MAAA,MACAnE,YAAA,oDACAG,UAAA,EACAC,MAAA,IAGA,CACA,MACA,CACArD,KAAA,qBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAF,MAAA,MACAnE,YAAA,yNACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,eACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAJ,YAAA,yBACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACA0E,MAAA,EACAzE,YAAA,sBACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,kBACAkD,MAAA,EACAF,KAAA,IACA0E,MAAA,EACAtE,UAAA,EACAH,YAAA,wBAGA,CACA,MACA,CACAjD,KAAA,eACAkD,MAAA,EACAF,KAAA,IACAK,MAAA,EACAJ,YAAA,gFACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,uBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAlE,UAAA,EACAH,YAAA,yRAGA,CACA,MACA,CACAjD,KAAA,uBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAF,MAAA,QACAG,GAAA,WACAtE,YAAA,kTACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,sBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAC,GAAA,QACAtE,YAAA,iHACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,qBACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,qOACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,0HACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,iBACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACAF,MAAA,QACAnE,YAAA,gDACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,QACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,yCACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,qBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,oPACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,iBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,qGACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,qMACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,mMACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,mRACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,wIACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,mBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,wFACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,mBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,qFACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,QACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,gKACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,0BACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,yKACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,YACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,mJACAkE,WAAA,EACAG,QAAA,IAGA,CACA,MACA,CACAtH,KAAA,SACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,6GACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,UACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,wHACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,6BACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,6DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,6DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,8DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,wBACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,8DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,0BACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,0BACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,+DACAmE,MAAA,eAGA,CACA,MACA,CACApH,KAAA,eACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,yEACAmE,MAAA,WAGA,CACA,MACA,CACApH,KAAA,eACAkD,MAAA,EACAF,KAAA,IACAC,YAAA,yEACAmE,MAAA,WAGA,CACA,MACA,CACApH,KAAA,mBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAJ,YAAA,qFACAG,UAAA,IAGA,CACA,MACA,CACApD,KAAA,aACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAC,UAAA,EACAH,YAAA,4CAGA,CACA,MACA,CACAjD,KAAA,eACAqH,QAAA,sBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAC,UAAA,EACAC,MAAA,EACAJ,YAAA,kKAGA,CACA,MACA,CACAjD,KAAA,kBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACA/D,UAAA,EACAD,OAAA,EACAE,MAAA,EACAJ,YAAA,sEAGA,CACA,MACA,CACAjD,KAAA,WACAqH,QAAA,gBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAiE,MAAA,QACAhE,UAAA,EACAH,YAAA,0CAGA,CACA,MACA,CACAjD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAC,MAAA,EACAJ,YAAA,oEAGA,CACA,MACA,CACAjD,KAAA,iBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAJ,YAAA,0DAGA,CACA,MACA,CACAjD,KAAA,qBACAqH,QAAA,wBACAnE,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAJ,YAAA,sDAGA,CACA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,iFAGA,CACA,MACA,CACAjD,KAAA,UACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAJ,YAAA,oDAGA,CACA,MACA,CACAjD,KAAA,YACAqH,QAAA,YACAnE,MAAA,EACAyE,WAAA,EACA3E,KAAA,IACAmE,WAAA,EACA/D,UAAA,EACAD,OAAA,EACAE,MAAA,EACAJ,YAAA,mDAGA,CACA,MACA,CACAjD,KAAA,mBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAiE,QAAA,EACArE,YAAA,yJAGA,CACA,MACA,CACAjD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAiE,QAAA,EACArE,YAAA,+IAGA,CACA,MACA,CACAjD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAiE,QAAA,EACArE,YAAA,oJAGA,CACA,MACA,CACAjD,KAAA,cACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAiE,QAAA,EACArE,YAAA,2IAGA,CACA,MACA,CACAjD,KAAA,aACAqH,QAAA,gBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAuE,OAAA,gBACA3E,YAAA,4IAGA,CACA,MACA,CACAjD,KAAA,kBACAqH,QAAA,qBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAiE,QAAA,GACArE,YAAA,2EAGA,CACA,MACA,CACAjD,KAAA,UACAqH,QAAA,aACAnE,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAJ,YAAA,6GAGA,CACA,UACA,CACAjD,KAAA,OACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAJ,YAAA,qGAGA,CACA,MACA,CACAjD,KAAA,qBACAqH,Q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AoE,MAAA,MACAQ,OAAA,gBACA3E,YAAA,wCAGA,CACA,QACA,CACAjD,KAAA,aACAqH,QAAA,aACAnE,MAAA,EACAF,KAAA,IACAK,MAAA,EACA+D,MAAA,MACAnE,YAAA,iBAGA,CACA,QACA,CACAjD,KAAA,cACAqH,QAAA,mBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAoE,SAAA,EACAxE,YAAA,oCAGA,CACA,MACA,CACAjD,KAAA,kBACAqH,QAAA,mBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACArE,YAAA,+GAGA,CACA,MACA,CACAjD,KAAA,cACAqH,QAAA,mBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACArE,YAAA,4HAGA,CACA,MACA,CACAjD,KAAA,gBACAqH,QAAA,qBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,cACAF,MAAA,QACAnE,YAAA,kGAGA,CACA,MACA,CACAjD,KAAA,eACAqH,QAAA,oBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,aACAF,MAAA,QACAnE,YAAA,iGAGA,CACA,MACA,CACAjD,KAAA,iBACAqH,QAAA,sBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACArE,YAAA,oEAGA,CACA,MACA,CACAjD,KAAA,gBACAqH,QAAA,qBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACArE,YAAA,mEAGA,CACA,MACA,CACAjD,KAAA,eACAqH,QAAA,oBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACArE,YAAA,kEAGA,CACA,MACA,CACAjD,KAAA,kBACAqH,QAAA,uBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACArE,YAAA,wFAGA,CACA,IACA,CACAjD,KAAA,cACAqH,QAAA,mBACAnE,MAAA,EACAF,KAAA,IACAmE,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,MACAnE,YAAA,sLAGA,CACA,QACA,CACAjD,KAAA,8BACAqH,QAAA,mCACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAiE,MAAA,QACAnE,YAAA,gJAGA,CACA,QACA,CACAjD,KAAA,kBACAqH,QAAA,uBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAiE,MAAA,QACAnE,YAAA,4IAGA,CACA,MACA,CACAjD,KAAA,WACAqH,QAAA,gBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,qHAGA,CACA,MACA,CACAjD,KAAA,WACAqH,QAAA,gBACAnE,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACArE,YAAA,+IAGA,CACA,IACA,CACAjD,KAAA,aACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAmE,QAAA,EACAF,MAAA,MACAnE,YAAA,8DAGA,CACA,MACA,CACAjD,KAAA,aACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAmE,QAAA,EACAF,MAAA,MACAnE,YAAA,sTAGA,CACA,IACA,CACAjD,KAAA,cACAqH,QAAA,mBACAnE,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAiE,QAAA,EACAF,MAAA,MACAnE,YAAA,wCAGA,CACA,MACA,CACAjD,KAAA,WACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAiE,MAAA,QACAnE,YAAA,mIAGA,CACA,IACA,CACAjD,KAAA,cACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAiE,MAAA,QACAnE,YAAA,+IAGA,CACA,IACA,CACAjD,KAAA,aACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACA/D,UAAA,EACAD,OAAA,EACAF,YAAA,yCAGA,CACA,UACA,CACAjD,KAAA,SACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAF,YAAA,iEAGA,CACA,IACA,CACAjD,KAAA,iBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAC,MAAA,EACAJ,YAAA,yCAGA,CACA,IACA,CACAjD,KAAA,oBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACA+D,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAqE,MAAA,EACAzE,YAAA,iCAGA,CACA,IACA,CACAjD,KAAA,kBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACA+D,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAqE,MAAA,EACAzE,YAAA,iCAGA,CACA,IACA,CACAjD,KAAA,iBACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAqE,MAAA,EACAzE,YAAA,iCAGA,CACA,IACA,CACAjD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAsE,QAAA,EACArE,YAAA,mDAGA,CACA,IACA,CACAjD,KAAA,QACAqH,QAAA,aACAnE,MAAA,EACAF,KAAA,IACAsE,QAAA,EACArE,YAAA,gDAGA,CACA,IACA,CACAjD,KAAA,kBACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAsE,QAAA,EACArE,YAAA,iEAGA,CACA,IACA,CACAjD,KAAA,cACAqH,QAAA,mBACAnE,MAAA,EACAF,KAAA,IACAsE,QAAA,EACArE,YAAA,sIAGA,CACA,IACA,CACAjD,KAAA,aACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAmE,QAAA,EACAI,MAAA,EACAzE,YAAA,iRAGA,CACA,IACA,CACAjD,KAAA,YACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAuE,MAAA,EACAzE,YAAA,yPAGA,CACA,IACA,CACAjD,KAAA,SACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAuE,MAAA,EACAzE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A,CACA,IACA,CACAjD,KAAA,aACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAF,YAAA,mIAGA,CACA,IACA,CACAjD,KAAA,cACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAqE,MAAA,EACAzE,YAAA,sCAGA,CACA,IACA,CACAjD,KAAA,WACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAF,YAAA,iFAGA,CACA,IACA,CACAjD,KAAA,WACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,wIAGA,CACA,MACA,CACAjD,KAAA,oBACAqH,QAAA,2BACAnE,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAE,MAAA,EACAJ,YAAA,gJAGA,CACA,IACA,CACAjD,KAAA,WACAqH,QAAA,kBACAnE,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAF,YAAA,gEAGA,CACA,UACA,CACAjD,KAAA,UACAkD,MAAA,EACAF,KAAA,IACAI,UAAA,EACAD,OAAA,EACAF,YAAA,yEAGA,CACA,MACA,CACAjD,KAAA,YACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAF,YAAA,yDAGA,CACA,MACA,CACAjD,KAAA,QACAkD,MAAA,EACAF,KAAA,IACAG,OAAA,EACAE,MAAA,EACAJ,YAAA,iCAGA,CACA,QACA,CACAjD,KAAA,2BACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAmE,QAAA,IACArE,YAAA,kDAGA,CACA,QACA,CACAjD,KAAA,gBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAmE,QAAA,IACArE,YAAA,kHAGA,CACA,MACA,CACAjD,KAAA,qBACAkD,MAAA,EACAF,KAAA,IACAmE,WAAA,EACAhE,OAAA,EACAE,MAAA,EACAJ,Y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AAA,EACAH,EAAAhG,EAAAN,SAAAyG,EACA,CAEA,UACA/G,EACAY,OACA8F,cACAC,WACAC,UACAH,QACAxG,QAEA,CAKA,gBAAAiH,CAAAC,GACA,IAAA9E,MAAA+E,QAAAD,GACA,OAAA3K,EAEA,UAAA6K,KAAAF,EACA3K,EAAA+C,IAAA8H,EAAA,GAAAA,EAAA,IAEA,OAAA7K,CACA,CAMA,cAAA8K,CAAArH,EAAAQ,GACA,IAAA8G,EAAA,IAAAC,WAAA/G,GACA,QAAAsD,EAAA,EAAA0D,EAAAhH,EAAA,EAAkCsD,EAAAtD,IAAUsD,IAAA0D,EAC5CF,EAAAxD,GAAA9D,GAAA,EAAAwH,EAAA,IAEA,OAAAF,CACA,CAGA,yBAAAG,CAAAzH,GAEA,OAAAA,EAAA,IACA,EACMA,EAAA,MACN,EACMA,EAAA,MACN,EACMA,EAAA,MACN,EACMA,EAAA,MACN,EAEA,CAEA,CAGA,wBAAA0H,CAAA1H,GACA,GAAAA,EAAA,IAKA,SACM,GAAAA,EAAA,MACN,SACM,GAAAA,EAAA,QACN,SACM,GAAAA,EAAA,UACN,SACM,GAAAA,EAAA,QACN,SACM,GAAAA,EAAA,QACN,SAEA,UAAA0C,MAAA,gCAAA1C,EAEA,EAGAnE,EAAAC,QAAAiI,uBClWAlI,EAAAC,QAAA6L,QAAA,YCCAC,EAAA,IAGA,SAAAvL,EAAAwL,GAEA,IAAAC,EAAAF,EAAAC,GACA,QAAAE,IAAAD,EACA,OAAAA,EAAAhM,QAGA,IAAAD,EAAA+L,EAAAC,GAAA,CAGA/L,QAAA,IAOA,OAHAkM,EAAAH,GAAAhM,EAAAA,EAAAC,QAAAO,GAGAR,EAAAC,OACA,ECnBAO,CAAA","sources":["webpack://ebml.js/./src/debug-log.js","webpack://ebml.js/./src/decoder.js","webpack://ebml.js/./src/encoder.js","webpack://ebml.js/./src/index.js","webpack://ebml.js/./src/schema.js","webpack://ebml.js/./src/tools.js","webpack://ebml.js/external node-commonjs \"stream\"","webpack://ebml.js/webpack/bootstrap","webpack://ebml.js/webpack/startup"],"sourcesContent":["const debugLog = (name) => {\r\n let enabled = false\r\n const log = (...args) => {\r\n if (enabled) {\r\n console.log(`[${name}]`, ...args)\r\n }\r\n }\r\n log.enabled = enabled\r\n return log\r\n}\r\n\r\nmodule.exports = { debugLog }\r\n","const { Transform } = require('stream');\nconst tools = require('./tools');\nconst schema = require('./schema');\nconst { debugLog } = require('./debug-log');\n\nconst debug = debugLog('ebml:decoder');\n\nconst STATE_TAG = 1;\nconst STATE_SIZE = 2;\nconst STATE_CONTENT = 3;\n\nclass EbmlDecoder extends Transform {\n /**\n * @property\n * @private\n * @type {Buffer}\n */\n mBuffer = null;\n\n /**\n * @private\n * @property\n * @readonly\n */\n mTagStack = [];\n\n /**\n * @property\n * @private\n * @type {Number}\n */\n mState = STATE_TAG;\n\n /**\n * @property\n * @private\n * @type {Number}\n */\n mCursor = 0;\n\n /**\n * @property\n * @private\n * @type {Number}\n */\n mTotal = 0;\n\n /** @private */\n mIsLive = false\n\n /**\n * @constructor\n * @param {{ isLive?: boolean }} options The options to be passed along to the super class\n */\n constructor(options = {}) {\n super({ ...options, readableObjectMode: true });\n this.mIsLive = options ? options.isLive : false\n }\n\n get isLive() {\n return this.mIsLive;\n }\n\n get buffer() {\n return this.mBuffer;\n }\n\n get cursor() {\n return this.mCursor;\n }\n\n get state() {\n return this.mState;\n }\n\n get tagStack() {\n return this.mTagStack;\n }\n\n get total() {\n return this.mTotal;\n }\n\n set buffer(buffer) {\n this.mBuffer = buffer;\n }\n\n /**\n * @param {number} cursor\n */\n set cursor(cursor) {\n this.mCursor = cursor;\n }\n\n set state(state) {\n this.mState = state;\n }\n\n set total(total) {\n this.mTotal = total;\n }\n\n _transform(chunk, enc, done) {\n if (!this.buffer) {\n this.buffer = Buffer.from(chunk);\n } else {\n this.buffer = tools.concatenate(this.buffer, Buffer.from(chunk));\n }\n\n while (this.cursor < this.buffer.length) {\n if (this.state === STATE_TAG && !this.readTag()) {\n break;\n }\n if (this.state === STATE_SIZE && !this.readSize()) {\n break;\n }\n if (this.state === STATE_CONTENT && !this.readContent()) {\n break;\n }\n }\n\n done();\n }\n\n static getSchemaInfo(tag) {\n if (Number.isInteger(tag) && schema.has(tag)) {\n return schema.get(tag);\n }\n const tagStr = `0x${tag.toString(16).toUpperCase()}`\n const unknown = {\n type: null,\n name: `unknown-${tagStr}`,\n description: `${tagStr}`,\n level: -1,\n minver: -1,\n multiple: false,\n webm: false,\n };\n schema.set(tag, unknown)\n console.warn('[SCHEMA]', 'unknown tag:', tagStr)\n return unknown\n }\n\n readTag() {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug('parsing tag');\n }\n\n if (this.cursor >= this.buffer.length) {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug('waiting for more data');\n }\n return false;\n }\n\n if (this.isLive && !this.findTagStart()) {\n return false\n }\n\n const start = this.total;\n const tag = tools.readVint(this.buffer, this.cursor);\n\n if (tag == null) {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug('waiting for more data');\n }\n\n return false;\n }\n\n const tagStr = tools.readHexString(\n this.buffer,\n this.cursor,\n this.cursor + tag.length,\n );\n const tagNum = Number.parseInt(tagStr, 16);\n this.cursor += tag.length;\n this.total += tag.length;\n this.state = STATE_SIZE;\n\n const tagObj = {\n tag: tag.value,\n tagStr,\n type: EbmlDecoder.getSchemaInfo(tagNum).type,\n name: EbmlDecoder.getSchemaInfo(tagNum).name,\n start,\n end: start + tag.length,\n };\n\n this.tagStack.push(tagObj);\n /* istanbul ignore if */\n if (debug.enabled) {\n debug(`read tag: ${tagStr}`);\n }\n\n return true;\n }\n\n /** @private */\n findTagStart() {\n while (this.cursor < this.buffer.length) {\n try {\n const tag = tools.readVint(this.buffer, this.cursor);\n if (tag == null) {\n return false\n }\n const tagStr = tools.readHexString(\n this.buffer,\n this.cursor,\n this.cursor + tag.length,\n );\n const tagNum = Number.parseInt(tagStr, 16);\n const tagName = EbmlDecoder.getSchemaInfo(tagNum).name\n if (tagName && tagName.startsWith('unknown')) {\n this.cursor += 1\n continue\n }\n if (this.cursor > 0 && !this.total) {\n this.buffer = this.buffer.subarray(this.cursor)\n this.cursor = 0\n }\n return true\n } catch (e) {\n if (!e.message.startsWith('Unrepresentable length')) {\n throw e\n }\n this.cursor += 1\n }\n }\n return false\n }\n\n readSize() {\n const tagObj = this.tagStack[this.tagStack.length - 1];\n\n /* istanbul ignore if */\n if (debug.enabled) {\n debug(`parsing size for tag: ${tagObj.tagStr}`);\n }\n\n if (this.cursor >= this.buffer.length) {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug('waiting for more data');\n }\n\n return false;\n }\n\n const size = tools.readVint(this.buffer, this.cursor);\n\n if (size == null) {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug('waiting for more data');\n }\n\n return false;\n }\n\n this.cursor += size.length;\n this.total += size.length;\n this.state = STATE_CONTENT;\n tagObj.dataSize = size.value;\n\n // unknown size\n if (size.value === -1) {\n tagObj.end = -1;\n } else {\n tagObj.end += size.value + size.length;\n }\n /* istanbul ignore if */\n if (debug.enabled) {\n debug(`read size: ${size.value}`);\n }\n\n return true;\n }\n\n readContent() {\n const { tagStr, type, dataSize, ...rest } = this.tagStack[this.tagStack.length - 1];\n\n /* istanbul ignore if */\n if (debug.enabled) {\n debug(`parsing content for tag: ${tagStr}`);\n }\n\n if (type === 'm') {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug('content should be tags');\n }\n this.push(['start', { tagStr, type, dataSize, ...rest }]);\n this.state = STATE_TAG;\n\n return true;\n }\n\n if (this.buffer.length < this.cursor + dataSize) {\n /* istanbul ignore if */\n if (debug.enabled) {\n debug(`got: ${this.buffer.length}`);\n debug(`need: ${this.cursor + dataSize}`);\n debug('waiting for more data');\n }\n\n return false;\n }\n\n const data = this.buffer.subarray(this.cursor, this.cursor + dataSize);\n this.total += dataSize;\n this.state = STATE_TAG;\n this.buffer = this.buffer.subarray(this.cursor + dataSize);\n this.cursor = 0;\n\n this.tagStack.pop(); // remove the object from the stack\n\n this.push([\n 'tag',\n tools.readDataFromTag(\n { tagStr, type, dataSize, ...rest },\n Buffer.from(data),\n ),\n ]);\n\n while (this.tagStack.length > 0) {\n const topEle = this.tagStack[this.tagStack.length - 1];\n if (this.total < topEle.end) {\n break;\n }\n this.push(['end', topEle]);\n this.tagStack.pop();\n }\n\n /* istanbul ignore if */\n if (debug.enabled) {\n debug(`read data: ${data.toString('hex')}`);\n }\n\n return true;\n }\n}\n\nmodule.exports = EbmlDecoder\n","const { Transform } = require('stream');\r\nconst schema = require('./schema');\r\nconst tools = require('./tools');\r\nconst { debugLog } = require('./debug-log');\r\n\r\nconst debug = debugLog('ebml:encoder');\r\n\r\n/** @typedef {import('./types/tag.types').Tag} Tag */\r\n\r\n/**\r\n * @param {number} tagId\r\n * @param {Buffer} tagData\r\n * @param {number} [end]\r\n */\r\nfunction encodeTag(tagId, tagData, end) {\r\n const data = [Buffer.from(tagId.toString(16), 'hex')];\r\n if (end === -1) {\r\n data.push(Buffer.from([0xFF]))\r\n } else {\r\n data.push(tools.writeVint(tagData.length))\r\n }\r\n\r\n // cast ArrayBuffer to Buffer\r\n if (!Buffer.isBuffer(tagData)) {\r\n tagData = Buffer.from(tagData); // eslint-disable-line no-param-reassign\r\n }\r\n data.push(tagData);\r\n return Buffer.concat(data);\r\n}\r\n\r\n/**\r\n * Encodes a raw EBML stream\r\n * @class EbmlEncoder\r\n * @extends Transform\r\n */\r\nclass EbmlEncoder extends Transform {\r\n /**\r\n * @type {Buffer}\r\n * @property\r\n * @private\r\n */\r\n mBuffer = null;\r\n\r\n /**\r\n * @private\r\n * @property\r\n * @type {Boolean}\r\n */\r\n mCorked = false;\r\n\r\n /**\r\n * @private\r\n * @property\r\n * @type {Array<Tag>}\r\n */\r\n mStack = [];\r\n\r\n constructor(options = {}) {\r\n super({ ...options, writableObjectMode: true });\r\n }\r\n\r\n get buffer() {\r\n return this.mBuffer;\r\n }\r\n\r\n get corked() {\r\n return this.mCorked;\r\n }\r\n\r\n get stack() {\r\n return this.mStack;\r\n }\r\n\r\n set buffer(buffer) {\r\n this.mBuffer = buffer;\r\n }\r\n\r\n set corked(corked) {\r\n this.mCorked = corked;\r\n }\r\n\r\n set stack(stak) {\r\n this.mStack = stak;\r\n }\r\n\r\n /**\r\n *\r\n * @param {[string, Tag]} chunk array of chunk data, starting with the tag\r\n * @param {string} enc the encoding type (not used)\r\n * @param {Function} done a callback method to call after the transformation\r\n */\r\n _transform(chunk, enc, done) {\r\n const [tag, { data, name, ...rest }] = chunk;\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`encode ${tag} ${name}`);\r\n }\r\n\r\n switch (tag) {\r\n case 'start':\r\n this.startTag(name, { ...rest });\r\n break;\r\n case 'tag':\r\n this.writeTag(name, data);\r\n break;\r\n case 'end':\r\n this.endTag();\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n return done();\r\n }\r\n\r\n /**\r\n * @private\r\n * @param {Function} done callback function\r\n */\r\n flush(done = () => {}) {\r\n if (!this.buffer || this.corked) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('no buffer/nothing pending');\r\n }\r\n return done();\r\n }\r\n\r\n if (this.buffer.byteLength === 0) {\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug('empty buffer');\r\n }\r\n return done();\r\n }\r\n\r\n /* istanbul ignore if */\r\n if (debug.enabled) {\r\n debug(`writing ${this.buffer.length} bytes`);\r\n }\r\n\r\n const chunk = Buffer.from(this.buffer);\r\n this.buffer = null;\r\n this.push(chunk);\r\n return done();\r\n }\r\n\r\n /**\r\n * @private\r\n * @param {Buffer | Buffer[]} buffer\r\n */\r\n bufferAndFlush(buffer) {\r\n this.buffer = tools.concatenate(this.buffer, buffer);\r\n this.flush();\r\n }\r\n\r\n _flush(done = () => {}) {\r\n this.flush(done);\r\n }\r\n\r\n _bufferAndFlush(buffer) {\r\n this.bufferAndFlush(buffer);\r\n }\r\n\r\n /**\r\n * gets the ID of the type of tagName\r\n * @static\r\n * @param {string} tagName to be looked up\r\n * @return {number} A buffer containing the schema information\r\n */\r\n static getSchemaInfo(tagName) {\r\n const tagId = Array.from(schema.keys()).find(\r\n str => schema.get(str).name === tagName,\r\n );\r\n if (tagId) {\r\n return tagId;\r\n }\r\n\r\n return null;\r\n }\r\n\r\n cork() {\r\n this.corked = true;\r\n }\r\n\r\n uncork() {\r\n this.corked = false;\r\n this.flush();\r\n }\r\n\r\n /** @private */\r\n writeTag(tagName, tagData) {\r\n const tagId = EbmlEncoder.getSchemaInfo(tagName);\r\n if (!tagId) {\r\n throw new Error(`No schema entry found for ${tagName}`);\r\n }\r\n if (tagData) {\r\n const data = encodeTag(tagId, tagData);\r\n if (this.stack.length > 0) {\r\n this.stack[this.stack.length - 1].children.push({ data });\r\n } else {\r\n this.bufferAndFlush(data);\r\n }\r\n }\r\n }\r\n\r\n /**\r\n * @private\r\n * @param {String} tagName The name of the tag to start\r\n * @param {{end: Number}} info an information object with a `end` parameter\r\n */\r\n startTag(tagName, { end }) {\r\n const tagId = EbmlEncoder.getSchemaInfo(tagName);\r\n if (!tagId) {\r\n throw new Error(`No schema entry found for ${tagName}`);\r\n }\r\n\r\n const tag = {\r\n data: null,\r\n id: tagId,\r\n name: tagName,\r\n end,\r\n children: [],\r\n };\r\n\r\n if (this.stack.length > 0) {\r\n this.stack[this.stack.length - 1].children.push(tag);\r\n }\r\n this.stack.push(tag);\r\n }\r\n\r\n /** @private */\r\n endTag() {\r\n const tag = this.stack.pop() || {\r\n children: [],\r\n data: { buffer: Buffer.from([]) },\r\n };\r\n const childTagDataBuffers = tag.children.map(child => child.data);\r\n tag.data = encodeTag(tag.id, Buffer.concat(childTagDataBuffers), tag.end);\r\n if (this.stack.length < 1) {\r\n this.bufferAndFlush(tag.data);\r\n }\r\n }\r\n}\r\n\r\nmodule.exports = EbmlEncoder\r\n","const tools = require('./tools');\r\nconst schema = require('./schema');\r\nconst Decoder = require('./decoder');\r\nconst Encoder = require('./encoder');\r\n\r\nmodule.exports = {\r\n tools,\r\n schema,\r\n Decoder,\r\n Encoder,\r\n};\r\n","/**\r\n * @see https://www.matroska.org/technical/elements.html#EBML_ex\r\n */\r\nconst schema = new Map([\r\n [\r\n 0x80,\r\n {\r\n name: \"ChapterDisplay\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains all possible strings to use for the chapter display.\",\r\n },\r\n ],\r\n [\r\n 0x83,\r\n {\r\n name: \"TrackType\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 1,\r\n range: \"1-254\",\r\n description: \"A set of track types coded on 8 bits (1: video, 2: audio, 3: complex, 0x10: logo, 0x11: subtitle, 0x12: buttons, 0x20: control).\",\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x85,\r\n {\r\n name: \"ChapString\",\r\n cppname: \"ChapterString\",\r\n level: 5,\r\n type: \"8\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains the string to use as the chapter atom.\",\r\n },\r\n ],\r\n [\r\n 0x86,\r\n {\r\n name: \"CodecID\",\r\n level: 3,\r\n type: \"s\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"An ID corresponding to the codec, see the codec page for more info.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x88,\r\n {\r\n name: \"FlagDefault\",\r\n cppname: \"TrackFlagDefault\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Set if that track (audio, video or subs) SHOULD be active if no language found matches the user preference. (1 bit)\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x89,\r\n {\r\n name: \"ChapterTrackNumber\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"UID of the Track to apply this chapter too. In the absense of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absense of this element indicates that the Chapter should be applied to any currently used Tracks.\",\r\n },\r\n ],\r\n [\r\n 0x91,\r\n {\r\n name: \"ChapterTimeStart\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Timestamp of the start of Chapter (not scaled).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x92,\r\n {\r\n name: \"ChapterTimeEnd\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Timestamp of the end of Chapter (timestamp excluded, not scaled).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x96,\r\n {\r\n name: \"CueRefTime\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: false,\r\n description: \"Timestamp of the referenced Block.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x97,\r\n {\r\n name: \"CueRefCluster\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n webm: false,\r\n description: \"The Position of the Cluster containing the referenced Block.\",\r\n minver: 0,\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x98,\r\n {\r\n name: \"ChapterFlagHidden\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"If a chapter is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4254,\r\n {\r\n name: \"ContentCompAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: [\"\", \"\", \"\", \"\"],\r\n del: [\"1 - bzlib,\", \"2 - lzo1x\"],\r\n description: \"The compression algorithm used. Algorithms that have been specified so far are: 0 - zlib, 3 - Header Stripping\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4255,\r\n {\r\n name: \"ContentCompSettings\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings that might be needed by the decompressor. For Header Stripping (ContentCompAlgo=3), the bytes that were removed from the beggining of each frames of the track.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4282,\r\n {\r\n name: \"DocType\",\r\n level: 1,\r\n type: \"s\",\r\n mandatory: true,\r\n default: \"matroska\",\r\n minver: 1,\r\n description: \"A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4285,\r\n {\r\n name: \"DocTypeReadVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The minimum DocType version an interpreter has to support to read this file.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4286,\r\n {\r\n name: \"EBMLVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The version of EBML parser used to create the file.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4287,\r\n {\r\n name: \"DocTypeVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The version of DocType interpreter used to create the file.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4444,\r\n {\r\n name: \"SegmentFamily\",\r\n level: 2,\r\n type: \"b\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n bytesize: 16,\r\n description: \"A randomly generated unique ID that all segments related to each other must use (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x4461,\r\n {\r\n name: \"DateUTC\",\r\n level: 2,\r\n type: \"d\",\r\n minver: 1,\r\n description: \"Date of the origin of timestamp (value 0), i.e. production date.\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4484,\r\n {\r\n name: \"TagDefault\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Indication to know if this is the default/original language to use for the given tag. (1 bit)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4485,\r\n {\r\n name: \"TagBinary\",\r\n level: 4,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The values of the Tag if it is binary. Note that this cannot be used in the same SimpleTag as TagString.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4487,\r\n {\r\n name: \"TagString\",\r\n level: 4,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The value of the Tag.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4489,\r\n {\r\n name: \"Duration\",\r\n level: 2,\r\n type: \"f\",\r\n minver: 1,\r\n range: \"> 0\",\r\n description: \"Duration of the segment (based on TimecodeScale).\",\r\n multiple: false,\r\n webm: false,\r\n },\r\n ],\r\n [\r\n 0x4598,\r\n {\r\n name: \"ChapterFlagEnabled\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Specify wether the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie should skip all the content between the TimeStart and TimeEnd of this chapter (see flag notes). (1 bit)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4660,\r\n {\r\n name: \"FileMimeType\",\r\n level: 3,\r\n type: \"s\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"MIME type of the file.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4661,\r\n {\r\n name: \"FileUsedStartTime\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n description: \"DivX font extension\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x4662,\r\n {\r\n name: \"FileUsedEndTime\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n multiple: false,\r\n description: \"DivX font extension\",\r\n },\r\n ],\r\n [\r\n 0x4675,\r\n {\r\n name: \"FileReferral\",\r\n level: 3,\r\n type: \"b\",\r\n webm: false,\r\n description: \"A binary value that a track/codec can refer to when the attachment is needed.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5031,\r\n {\r\n name: \"ContentEncodingOrder\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n multiple: false,\r\n description: \"Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder elements in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x5032,\r\n {\r\n name: \"ContentEncodingScope\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"not 0\",\r\n br: [\"\", \"\", \"\"],\r\n description: \"A bit field that describes which elements have been modified in this way. Values (big endian) can be OR'ed. Possible values: 1 - all frame contents, 2 - the track's private data, 4 - the next ContentEncoding (next ContentEncodingOrder. Either the data inside ContentCompression and/or ContentEncryption)\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5033,\r\n {\r\n name: \"ContentEncodingType\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: [\"\", \"\"],\r\n description: \"A value describing what kind of transformation has been done. Possible values: 0 - compression, 1 - encryption\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5034,\r\n {\r\n name: \"ContentCompression\",\r\n level: 5,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings describing the compression used. Must be present if the value of ContentEncodingType is 0 and absent otherwise. Each block must be decompressable even if no previous block is available in order not to prevent seeking.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5035,\r\n {\r\n name: \"ContentEncryption\",\r\n level: 5,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings describing the encryption used. Must be present if the value of ContentEncodingType is 1 and absent otherwise.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5378,\r\n {\r\n name: \"CueBlockNumber\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"Number of the Block in the specified Cluster.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b0,\r\n {\r\n name: \"Color\",\r\n level: 4,\r\n type: \"m\",\r\n description: \"Settings describing the colour format.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b1,\r\n {\r\n name: \"MatrixCoefficients\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries. For clarity, the value and meanings for MatrixCoefficients are adopted from Table 4 of ISO/IEC 23001-8:2016 or ITU-T H.273.\",\r\n mandatory: true,\r\n default: 2,\r\n },\r\n ],\r\n [\r\n 0x55b2,\r\n {\r\n name: \"BitsPerChannel\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Number of decoded bits per channel. A value of 0 indicates that the BitsPerChannel is unspecified.\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55b3,\r\n {\r\n name: \"ChromaSubsamplingHorz\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cr and Cb channels for every pixel not removed horizontally. Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingHorz SHOULD be set to 1.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b4,\r\n {\r\n name: \"ChromaSubsamplingVert\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cr and Cb channels for every pixel not removed vertically. Example: For video with 4:2:0 chroma subsampling, the ChromaSubsamplingVert SHOULD be set to 1.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b5,\r\n {\r\n name: \"CbSubsamplingHorz\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cb channel for every pixel not removed horizontally. This is additive with ChromaSubsamplingHorz. Example: For video with 4:2:1 chroma subsampling, the ChromaSubsamplingHorz SHOULD be set to 1 and CbSubsamplingHorz SHOULD be set to 1.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b6,\r\n {\r\n name: \"CbSubsamplingVert\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The amount of pixels to remove in the Cb channel for every pixel not removed vertically. This is additive with ChromaSubsamplingVert.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55b7,\r\n {\r\n name: \"ChromaSitingHorz\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"How chroma is subsampled horizontally. 0 - unspecified, 1 - left collocated, 2 - half\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55b8,\r\n {\r\n name: \"ChromaSitingVert\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"How chroma is subsampled vertically. 0 - unspecified, 1 - top collocated, 2 - half\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55b9,\r\n {\r\n name: \"Range\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Clipping of the color ranges. 0 - unspecified, 1 - broadcast range, 2 - full range (no clipping), 3 - defined by MatrixCoefficients / TransferCharacteristics\",\r\n mandatory: true,\r\n default: 0,\r\n },\r\n ],\r\n [\r\n 0x55ba,\r\n {\r\n name: \"TransferCharacteristics\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The transfer characteristics of the video. For clarity, the value and meanings for TransferCharacteristics are adopted from Table 3 of ISO/IEC 23091-4 or ITU-T H.273.\",\r\n mandatory: true,\r\n default: 2,\r\n },\r\n ],\r\n [\r\n 0x55bb,\r\n {\r\n name: \"Primaries\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"The colour primaries of the video. For clarity, the value and meanings for Primaries are adopted from Table 2 of ISO/IEC 23091-4 or ITU-T H.273.\",\r\n mandatory: true,\r\n default: 2,\r\n },\r\n ],\r\n [\r\n 0x55bc,\r\n {\r\n name: \"MaxCLL\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Maximum brightness of a single pixel (Maximum Content Light Level) in candelas per square meter (cd/m^2^).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55bd,\r\n {\r\n name: \"MaxFALL\",\r\n level: 5,\r\n type: \"u\",\r\n description: \"Maximum brightness of a single full frame (Maximum Frame-Average Light Level) in candelas per square meter (cd/m^2^).\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55d0,\r\n {\r\n name: \"MasteringMetadata\",\r\n level: 5,\r\n type: \"m\",\r\n description: \"SMPTE 2086 mastering data.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x55d1,\r\n {\r\n name: \"PrimaryRChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Red X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d2,\r\n {\r\n name: \"PrimaryRChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Red Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d3,\r\n {\r\n name: \"PrimaryGChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Green X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d4,\r\n {\r\n name: \"PrimaryGChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Green Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d5,\r\n {\r\n name: \"PrimaryBChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Blue X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d6,\r\n {\r\n name: \"PrimaryBChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Blue Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d7,\r\n {\r\n name: \"WhitePointChromaticityX\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"White X chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d8,\r\n {\r\n name: \"WhitePointChromaticityY\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"White Y chromaticity coordinate, as defined by [@!CIE-1931].\",\r\n range: \"0.0-0x1p+0\",\r\n },\r\n ],\r\n [\r\n 0x55d9,\r\n {\r\n name: \"LuminanceMax\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Maximum luminance. Represented in candelas per square meter (cd/m^2^).\",\r\n range: \">= 0.0\",\r\n },\r\n ],\r\n [\r\n 0x55da,\r\n {\r\n name: \"LuminanceMin\",\r\n level: 6,\r\n type: \"f\",\r\n description: \"Minimum luminance. Represented in candelas per square meter (cd/m^2^).\",\r\n range: \">= 0.0\",\r\n },\r\n ],\r\n [\r\n 0x5654,\r\n {\r\n name: \"ChapterStringUID\",\r\n level: 4,\r\n type: \"8\",\r\n mandatory: false,\r\n minver: 3,\r\n webm: true,\r\n description: \"A unique string ID to identify the Chapter. Use for WebVTT cue identifier storage.\",\r\n multiple: false,\r\n },\r\n ],\r\n [\r\n 0x5741,\r\n {\r\n name: \"WritingApp\",\r\n level: 2,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n multiple: false,\r\n description: 'Writing application (\"mkvmerge-0.3.3\").',\r\n },\r\n ],\r\n [\r\n 0x5854,\r\n {\r\n name: \"SilentTracks\",\r\n cppname: \"ClusterSilentTracks\",\r\n level: 2,\r\n type: \"m\",\r\n minver: 1,\r\n multiple: false,\r\n webm: false,\r\n description: \"The list of tracks that are not used in that part of the stream. It is useful when using overlay tracks on seeking. Then you should decide what track to use.\",\r\n },\r\n ],\r\n [\r\n 0x6240,\r\n {\r\n name: \"ContentEncoding\",\r\n level: 4,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings for one content encoding like compression or encryption.\",\r\n },\r\n ],\r\n [\r\n 0x6264,\r\n {\r\n name: \"BitDepth\",\r\n cppname: \"AudioBitDepth\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n range: \"not 0\",\r\n multiple: false,\r\n description: \"Bits per sample, mostly used for PCM.\",\r\n },\r\n ],\r\n [\r\n 0x6532,\r\n {\r\n name: \"SignedElement\",\r\n level: 3,\r\n type: \"b\",\r\n multiple: true,\r\n webm: false,\r\n description: \"An element ID whose data will be used to compute the signature.\",\r\n },\r\n ],\r\n [\r\n 0x6624,\r\n {\r\n name: \"TrackTranslate\",\r\n level: 3,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The track identification for the given Chapter Codec.\",\r\n },\r\n ],\r\n [\r\n 0x6911,\r\n {\r\n name: \"ChapProcessCommand\",\r\n cppname: \"ChapterProcessCommand\",\r\n level: 5,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains all the commands associated to the Atom.\",\r\n },\r\n ],\r\n [\r\n 0x6922,\r\n {\r\n name: \"ChapProcessTime\",\r\n cppname: \"ChapterProcessTime\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Defines when the process command should be handled (0: during the whole chapter, 1: before starting playback, 2: after playback of the chapter).\",\r\n },\r\n ],\r\n [\r\n 0x6924,\r\n {\r\n name: \"ChapterTranslate\",\r\n level: 2,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"A tuple of corresponding ID used by chapter codecs to represent this segment.\",\r\n },\r\n ],\r\n [\r\n 0x6933,\r\n {\r\n name: \"ChapProcessData\",\r\n cppname: \"ChapterProcessData\",\r\n level: 6,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains the command information. The data should be interpreted depending on the ChapProcessCodecID value. For ChapProcessCodecID = 1, the data correspond to the binary DVD cell pre/post commands.\",\r\n },\r\n ],\r\n [\r\n 0x6944,\r\n {\r\n name: \"ChapProcess\",\r\n cppname: \"ChapterProcess\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains all the commands associated to the Atom.\",\r\n },\r\n ],\r\n [\r\n 0x6955,\r\n {\r\n name: \"ChapProcessCodecID\",\r\n cppname: \"ChapterProcessCodecID\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"Contains the type of the codec used for the processing. A value of 0 means native Matroska processing (to be defined), a value of 1 means the DVD command set is used. More codec IDs can be added later.\",\r\n },\r\n ],\r\n [\r\n 0x7373,\r\n {\r\n name: \"Tag\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Element containing elements specific to Tracks/Chapters.\",\r\n },\r\n ],\r\n [\r\n 0x7384,\r\n {\r\n name: \"SegmentFilename\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"A filename corresponding to this segment.\",\r\n },\r\n ],\r\n [\r\n 0x7446,\r\n {\r\n name: \"AttachmentLink\",\r\n cppname: \"TrackAttachmentLink\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The UID of an attachment that is used by this codec.\",\r\n },\r\n ],\r\n [\r\n 0x258688,\r\n {\r\n name: \"CodecName\",\r\n level: 3,\r\n type: \"8\",\r\n minver: 1,\r\n description: \"A human-readable string specifying the codec.\",\r\n },\r\n ],\r\n [\r\n 0x18538067,\r\n {\r\n name: \"Segment\",\r\n level: 0,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"This element contains all other top-level (level 1) elements. Typically a Matroska file is composed of 1 segment.\",\r\n },\r\n ],\r\n [\r\n 0x447a,\r\n {\r\n name: \"TagLanguage\",\r\n level: 4,\r\n type: \"s\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: \"und\",\r\n description: \"Specifies the language of the tag specified, in the Matroska languages form.\",\r\n },\r\n ],\r\n [\r\n 0x45a3,\r\n {\r\n name: \"TagName\",\r\n level: 4,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The name of the Tag that is going to be stored.\",\r\n },\r\n ],\r\n [\r\n 0x67c8,\r\n {\r\n name: \"SimpleTag\",\r\n cppname: \"TagSimple\",\r\n level: 3,\r\n recursive: true,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contains general information about the target.\",\r\n },\r\n ],\r\n [\r\n 0x63c6,\r\n {\r\n name: \"TagAttachmentUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the Attachment(s) the tags belong to. If the value is 0 at this level, the tags apply to all the attachments in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63c4,\r\n {\r\n name: \"TagChapterUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the Chapter(s) the tags belong to. If the value is 0 at this level, the tags apply to all chapters in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63c9,\r\n {\r\n name: \"TagEditionUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the EditionEntry(s) the tags belong to. If the value is 0 at this level, the tags apply to all editions in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63c5,\r\n {\r\n name: \"TagTrackUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"A unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment.\",\r\n },\r\n ],\r\n [\r\n 0x63ca,\r\n {\r\n name: \"TargetType\",\r\n cppname: \"TagTargetType\",\r\n level: 4,\r\n type: \"s\",\r\n minver: 1,\r\n webm: false,\r\n strong: \"informational\",\r\n description: 'An string that can be used to display the logical level of the target like \"ALBUM\", \"TRACK\", \"MOVIE\", \"CHAPTER\", etc (see TargetType).',\r\n },\r\n ],\r\n [\r\n 0x68ca,\r\n {\r\n name: \"TargetTypeValue\",\r\n cppname: \"TagTargetTypeValue\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 50,\r\n description: \"A number to indicate the logical level of the target (see TargetType).\",\r\n },\r\n ],\r\n [\r\n 0x63c0,\r\n {\r\n name: \"Targets\",\r\n cppname: \"TagTargets\",\r\n level: 3,\r\n type: \"m\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain all UIDs where the specified meta data apply. It is empty to describe everything in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x1254c367,\r\n {\r\n name: \"Tags\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Element containing elements specific to Tracks/Chapters. A list of valid tags can be found here.\",\r\n },\r\n ],\r\n [\r\n 0x450d,\r\n {\r\n name: \"ChapProcessPrivate\",\r\n cppname: \"ChapterProcessPrivate\",\r\n level: 5,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: 'Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the \"DVD level\" equivalent.',\r\n },\r\n ],\r\n [\r\n 0x437e,\r\n {\r\n name: \"ChapCountry\",\r\n cppname: \"ChapterCountry\",\r\n level: 5,\r\n type: \"s\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The countries corresponding to the string, same 2 octets as in Internet domains.\",\r\n },\r\n ],\r\n [\r\n 0x437c,\r\n {\r\n name: \"ChapLanguage\",\r\n cppname: \"ChapterLanguage\",\r\n level: 5,\r\n type: \"s\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n default: \"eng\",\r\n description: \"The languages corresponding to the string, in the bibliographic ISO-639-2 form.\",\r\n },\r\n ],\r\n [\r\n 0x8f,\r\n {\r\n name: \"ChapterTrack\",\r\n level: 4,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"List of tracks on which the chapter applies. If this element is not present, all tracks apply\",\r\n },\r\n ],\r\n [\r\n 0x63c3,\r\n {\r\n name: \"ChapterPhysicalEquiv\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: 'Specify the physical equivalent of this ChapterAtom like \"DVD\" (60) or \"SIDE\" (50), see complete list of values.',\r\n },\r\n ],\r\n [\r\n 0x6ebc,\r\n {\r\n name: \"ChapterSegmentEditionUID\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The EditionUID to play from the segment linked in ChapterSegmentUID.\",\r\n },\r\n ],\r\n [\r\n 0x6e67,\r\n {\r\n name: \"ChapterSegmentUID\",\r\n level: 4,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n range: \">0\",\r\n bytesize: 16,\r\n description: \"A segment to play in place of this chapter. Edition ChapterSegmentEditionUID should be used for this segment, otherwise no edition is used.\",\r\n },\r\n ],\r\n [\r\n 0x73c4,\r\n {\r\n name: \"ChapterUID\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: true,\r\n range: \"not 0\",\r\n description: \"A unique ID to identify the Chapter.\",\r\n },\r\n ],\r\n [\r\n 0xb6,\r\n {\r\n name: \"ChapterAtom\",\r\n level: 3,\r\n recursive: true,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains the atom information to use as the chapter atom (apply to all tracks).\",\r\n },\r\n ],\r\n [\r\n 0x45dd,\r\n {\r\n name: \"EditionFlagOrdered\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"Specify if the chapters can be defined multiple times and the order to play them is enforced. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x45db,\r\n {\r\n name: \"EditionFlagDefault\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"If a flag is set (1) the edition should be used as the default one. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x45bd,\r\n {\r\n name: \"EditionFlagHidden\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"If an edition is hidden (1), it should not be available to the user interface (but still to Control Tracks; see flag notes). (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x45bc,\r\n {\r\n name: \"EditionUID\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"A unique ID to identify the edition. It's useful for tagging an edition.\",\r\n },\r\n ],\r\n [\r\n 0x45b9,\r\n {\r\n name: \"EditionEntry\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: true,\r\n description: \"Contains all information about a segment edition.\",\r\n },\r\n ],\r\n [\r\n 0x1043a770,\r\n {\r\n name: \"Chapters\",\r\n level: 1,\r\n type: \"m\",\r\n minver: 1,\r\n webm: true,\r\n description: \"A system to define basic menus and partition data. For more detailed information, look at the Chapters Explanation.\",\r\n },\r\n ],\r\n [\r\n 0x46ae,\r\n {\r\n name: \"FileUID\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"Unique ID representing the file, as random as possible.\",\r\n },\r\n ],\r\n [\r\n 0x465c,\r\n {\r\n name: \"FileData\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The data of the file.\",\r\n },\r\n ],\r\n [\r\n 0x466e,\r\n {\r\n name: \"FileName\",\r\n level: 3,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Filename of the attached file.\",\r\n },\r\n ],\r\n [\r\n 0x467e,\r\n {\r\n name: \"FileDescription\",\r\n level: 3,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"A human-friendly name for the attached file.\",\r\n },\r\n ],\r\n [\r\n 0x61a7,\r\n {\r\n name: \"AttachedFile\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"An attached file.\",\r\n },\r\n ],\r\n [\r\n 0x1941a469,\r\n {\r\n name: \"Attachments\",\r\n level: 1,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain attached files.\",\r\n },\r\n ],\r\n [\r\n 0xeb,\r\n {\r\n name: \"CueRefCodecState\",\r\n level: 5,\r\n type: \"u\",\r\n webm: false,\r\n default: 0,\r\n description: \"The position of the Codec State corresponding to this referenced element. 0 means that the data is taken from the initial Track Entry.\",\r\n },\r\n ],\r\n [\r\n 0x535f,\r\n {\r\n name: \"CueRefNumber\",\r\n level: 5,\r\n type: \"u\",\r\n webm: false,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"Number of the referenced Block of Track X in the specified Cluster.\",\r\n },\r\n ],\r\n [\r\n 0xdb,\r\n {\r\n name: \"CueReference\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 2,\r\n webm: false,\r\n description: \"The Clusters containing the required referenced Blocks.\",\r\n },\r\n ],\r\n [\r\n 0xea,\r\n {\r\n name: \"CueCodecState\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 2,\r\n webm: false,\r\n default: 0,\r\n description: \"The position of the Codec State corresponding to this Cue element. 0 means that the data is taken from the initial Track Entry.\",\r\n },\r\n ],\r\n [\r\n 0xb2,\r\n {\r\n name: \"CueDuration\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: false,\r\n minver: 4,\r\n webm: false,\r\n description: \"The duration of the block according to the segment time base. If missing the track's DefaultDuration does not apply and no duration information is available in terms of the cues.\",\r\n },\r\n ],\r\n [\r\n 0xf0,\r\n {\r\n name: \"CueRelativePosition\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: false,\r\n minver: 4,\r\n webm: false,\r\n description: \"The relative position of the referenced block inside the cluster with 0 being the first possible position for an element inside that cluster.\",\r\n },\r\n ],\r\n [\r\n 0xf1,\r\n {\r\n name: \"CueClusterPosition\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"The position of the Cluster containing the required Block.\",\r\n },\r\n ],\r\n [\r\n 0xf7,\r\n {\r\n name: \"CueTrack\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"The track for which a position is given.\",\r\n },\r\n ],\r\n [\r\n 0xb7,\r\n {\r\n name: \"CueTrackPositions\",\r\n level: 3,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contain positions for different tracks corresponding to the timestamp.\",\r\n },\r\n ],\r\n [\r\n 0xb3,\r\n {\r\n name: \"CueTime\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"Absolute timestamp according to the segment time base.\",\r\n },\r\n ],\r\n [\r\n 0xbb,\r\n {\r\n name: \"CuePoint\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains all information relative to a seek point in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x1c53bb6b,\r\n {\r\n name: \"Cues\",\r\n level: 1,\r\n type: \"m\",\r\n minver: 1,\r\n description: 'A top-level element to speed seeking access. All entries are local to the segment. Should be mandatory for non \"live\" streams.',\r\n },\r\n ],\r\n [\r\n 0x47e6,\r\n {\r\n name: \"ContentSigHashAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: [\"\", \"\"],\r\n description: \"The hash algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - SHA1-160 2 - MD5\",\r\n },\r\n ],\r\n [\r\n 0x47e5,\r\n {\r\n name: \"ContentSigAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: \"\",\r\n description: \"The algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values: 1 - RSA\",\r\n },\r\n ],\r\n [\r\n 0x47e4,\r\n {\r\n name: \"ContentSigKeyID\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"This is the ID of the private key the data was signed with.\",\r\n },\r\n ],\r\n [\r\n 0x47e3,\r\n {\r\n name: \"ContentSignature\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"A cryptographic signature of the contents.\",\r\n },\r\n ],\r\n [\r\n 0x47e2,\r\n {\r\n name: \"ContentEncKeyID\",\r\n level: 6,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"For public key algorithms this is the ID of the public key the the data was encrypted with.\",\r\n },\r\n ],\r\n [\r\n 0x47e1,\r\n {\r\n name: \"ContentEncAlgo\",\r\n level: 6,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n br: \"\",\r\n description: \"The encryption algorithm used. The value '0' means that the contents have not been encrypted but only signed. Predefined values: 1 - DES, 2 - 3DES, 3 - Twofish, 4 - Blowfish, 5 - AES\",\r\n },\r\n ],\r\n [\r\n 0x6d80,\r\n {\r\n name: \"ContentEncodings\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Settings for several content encoding mechanisms like compression or encryption.\",\r\n },\r\n ],\r\n [\r\n 0xc4,\r\n {\r\n name: \"TrickMasterTrackSegmentUID\",\r\n level: 3,\r\n type: \"b\",\r\n divx: true,\r\n bytesize: 16,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc7,\r\n {\r\n name: \"TrickMasterTrackUID\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc6,\r\n {\r\n name: \"TrickTrackFlag\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n default: 0,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc1,\r\n {\r\n name: \"TrickTrackSegmentUID\",\r\n level: 3,\r\n type: \"b\",\r\n divx: true,\r\n bytesize: 16,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc0,\r\n {\r\n name: \"TrickTrackUID\",\r\n level: 3,\r\n type: \"u\",\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xed,\r\n {\r\n name: \"TrackJoinUID\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 3,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The trackUID number of a track whose blocks are used to create this virtual track.\",\r\n },\r\n ],\r\n [\r\n 0xe9,\r\n {\r\n name: \"TrackJoinBlocks\",\r\n level: 4,\r\n type: \"m\",\r\n minver: 3,\r\n webm: false,\r\n description: \"Contains the list of all tracks whose Blocks need to be combined to create this virtual track\",\r\n },\r\n ],\r\n [\r\n 0xe6,\r\n {\r\n name: \"TrackPlaneType\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 3,\r\n webm: false,\r\n description: \"The kind of plane this track corresponds to (0: left eye, 1: right eye, 2: background).\",\r\n },\r\n ],\r\n [\r\n 0xe5,\r\n {\r\n name: \"TrackPlaneUID\",\r\n level: 6,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 3,\r\n webm: false,\r\n range: \"not 0\",\r\n description: \"The trackUID number of the track representing the plane.\",\r\n },\r\n ],\r\n [\r\n 0xe4,\r\n {\r\n name: \"TrackPlane\",\r\n level: 5,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 3,\r\n webm: false,\r\n description: \"Contains a video plane track that need to be combined to create this 3D track\",\r\n },\r\n ],\r\n [\r\n 0xe3,\r\n {\r\n name: \"TrackCombinePlanes\",\r\n level: 4,\r\n type: \"m\",\r\n minver: 3,\r\n webm: false,\r\n description: \"Contains the list of all video plane tracks that need to be combined to create this 3D track\",\r\n },\r\n ],\r\n [\r\n 0xe2,\r\n {\r\n name: \"TrackOperation\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 3,\r\n webm: false,\r\n description: \"Operation that needs to be applied on tracks to create this virtual track. For more details look at the Specification Notes on the subject.\",\r\n },\r\n ],\r\n [\r\n 0x7d7b,\r\n {\r\n name: \"ChannelPositions\",\r\n cppname: \"AudioPosition\",\r\n level: 4,\r\n type: \"b\",\r\n webm: false,\r\n description: \"Table of horizontal angles for each successive channel, see appendix.\",\r\n },\r\n ],\r\n [\r\n 0x9f,\r\n {\r\n name: \"Channels\",\r\n cppname: \"AudioChannels\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"Numbers of channels in the track.\",\r\n },\r\n ],\r\n [\r\n 0x78b5,\r\n {\r\n name: \"OutputSamplingFrequency\",\r\n cppname: \"AudioOutputSamplingFreq\",\r\n level: 4,\r\n type: \"f\",\r\n minver: 1,\r\n default: \"Sampling Frequency\",\r\n range: \"> 0\",\r\n description: \"Real output sampling frequency in Hz (used for SBR techniques).\",\r\n },\r\n ],\r\n [\r\n 0xb5,\r\n {\r\n name: \"SamplingFrequency\",\r\n cppname: \"AudioSamplingFreq\",\r\n level: 4,\r\n type: \"f\",\r\n mandatory: true,\r\n minver: 1,\r\n default: \"8000.0\",\r\n range: \"> 0\",\r\n description: \"Sampling frequency in Hz.\",\r\n },\r\n ],\r\n [\r\n 0xe1,\r\n {\r\n name: \"Audio\",\r\n cppname: \"TrackAudio\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n description: \"Audio settings.\",\r\n },\r\n ],\r\n [\r\n 0x2383e3,\r\n {\r\n name: \"FrameRate\",\r\n cppname: \"VideoFrameRate\",\r\n level: 4,\r\n type: \"f\",\r\n range: \"> 0\",\r\n strong: \"Informational\",\r\n description: \"Number of frames per second. only.\",\r\n },\r\n ],\r\n [\r\n 0x2fb523,\r\n {\r\n name: \"GammaValue\",\r\n cppname: \"VideoGamma\",\r\n level: 4,\r\n type: \"f\",\r\n webm: false,\r\n range: \"> 0\",\r\n description: \"Gamma Value.\",\r\n },\r\n ],\r\n [\r\n 0x2eb524,\r\n {\r\n name: \"ColourSpace\",\r\n cppname: \"VideoColourSpace\",\r\n level: 4,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n bytesize: 4,\r\n description: \"Same value as in AVI (32 bits).\",\r\n },\r\n ],\r\n [\r\n 0x54b3,\r\n {\r\n name: \"AspectRatioType\",\r\n cppname: \"VideoAspectRatio\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"Specify the possible modifications to the aspect ratio (0: free resizing, 1: keep aspect ratio, 2: fixed).\",\r\n },\r\n ],\r\n [\r\n 0x54b2,\r\n {\r\n name: \"DisplayUnit\",\r\n cppname: \"VideoDisplayUnit\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"How DisplayWidth & DisplayHeight should be interpreted (0: pixels, 1: centimeters, 2: inches, 3: Display Aspect Ratio).\",\r\n },\r\n ],\r\n [\r\n 0x54ba,\r\n {\r\n name: \"DisplayHeight\",\r\n cppname: \"VideoDisplayHeight\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: \"PixelHeight\",\r\n range: \"not 0\",\r\n description: \"Height of the video frames to display. The default value is only valid when DisplayUnit is 0.\",\r\n },\r\n ],\r\n [\r\n 0x54b0,\r\n {\r\n name: \"DisplayWidth\",\r\n cppname: \"VideoDisplayWidth\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: \"PixelWidth\",\r\n range: \"not 0\",\r\n description: \"Width of the video frames to display. The default value is only valid when DisplayUnit is 0.\",\r\n },\r\n ],\r\n [\r\n 0x54dd,\r\n {\r\n name: \"PixelCropRight\",\r\n cppname: \"VideoPixelCropRight\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove on the right of the image.\",\r\n },\r\n ],\r\n [\r\n 0x54cc,\r\n {\r\n name: \"PixelCropLeft\",\r\n cppname: \"VideoPixelCropLeft\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove on the left of the image.\",\r\n },\r\n ],\r\n [\r\n 0x54bb,\r\n {\r\n name: \"PixelCropTop\",\r\n cppname: \"VideoPixelCropTop\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove at the top of the image.\",\r\n },\r\n ],\r\n [\r\n 0x54aa,\r\n {\r\n name: \"PixelCropBottom\",\r\n cppname: \"VideoPixelCropBottom\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n description: \"The number of video pixels to remove at the bottom of the image (for HDTV content).\",\r\n },\r\n ],\r\n [\r\n 0xba,\r\n {\r\n name: \"PixelHeight\",\r\n cppname: \"VideoPixelHeight\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"Height of the encoded video frames in pixels.\",\r\n },\r\n ],\r\n [\r\n 0xb0,\r\n {\r\n name: \"PixelWidth\",\r\n cppname: \"VideoPixelWidth\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"Width of the encoded video frames in pixels.\",\r\n },\r\n ],\r\n [\r\n 0x53b9,\r\n {\r\n name: \"OldStereoMode\",\r\n level: 4,\r\n type: \"u\",\r\n maxver: \"0\",\r\n webm: false,\r\n divx: false,\r\n description: \"DEPRECATED, DO NOT USE. Bogus StereoMode value used in old versions of libmatroska. (0: mono, 1: right eye, 2: left eye, 3: both eyes).\",\r\n },\r\n ],\r\n [\r\n 0x53c0,\r\n {\r\n name: \"AlphaMode\",\r\n cppname: \"VideoAlphaMode\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 3,\r\n webm: true,\r\n default: 0,\r\n description: \"Alpha Video Mode. Presence of this element indicates that the BlockAdditional element could contain Alpha data.\",\r\n },\r\n ],\r\n [\r\n 0x53b8,\r\n {\r\n name: \"StereoMode\",\r\n cppname: \"VideoStereoMode\",\r\n level: 4,\r\n type: \"u\",\r\n minver: 3,\r\n webm: true,\r\n default: 0,\r\n description: \"Stereo-3D video mode (0: mono, 1: side by side (left eye is first), 2: top-bottom (right eye is first), 3: top-bottom (left eye is first), 4: checkboard (right is first), 5: checkboard (left is first), 6: row interleaved (right is first), 7: row interleaved (left is first), 8: column interleaved (right is first), 9: column interleaved (left is first), 10: anaglyph (cyan/red), 11: side by side (right eye is first), 12: anaglyph (green/magenta), 13 both eyes laced in one Block (left eye is first), 14 both eyes laced in one Block (right eye is first)) . There are some more details on 3D support in the Specification Notes.\",\r\n },\r\n ],\r\n [\r\n 0x9a,\r\n {\r\n name: \"FlagInterlaced\",\r\n cppname: \"VideoFlagInterlaced\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: true,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"Set if the video is interlaced. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0xe0,\r\n {\r\n name: \"Video\",\r\n cppname: \"TrackVideo\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n description: \"Video settings.\",\r\n },\r\n ],\r\n [\r\n 0x66a5,\r\n {\r\n name: \"TrackTranslateTrackID\",\r\n level: 4,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The binary value used to represent this track in the chapter codec data. The format depends on the ChapProcessCodecID used.\",\r\n },\r\n ],\r\n [\r\n 0x66bf,\r\n {\r\n name: \"TrackTranslateCodec\",\r\n level: 4,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The chapter codec using this ID (0: Matroska Script, 1: DVD-menu).\",\r\n },\r\n ],\r\n [\r\n 0x66fc,\r\n {\r\n name: \"TrackTranslateEditionUID\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Specify an edition UID on which this translation applies. When not specified, it means for all editions found in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x56bb,\r\n {\r\n name: \"SeekPreRoll\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n multiple: false,\r\n default: 0,\r\n minver: 4,\r\n webm: true,\r\n description: \"After a discontinuity, SeekPreRoll is the duration in nanoseconds of the data the decoder must decode before the decoded data is valid.\",\r\n },\r\n ],\r\n [\r\n 0x56aa,\r\n {\r\n name: \"CodecDelay\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: false,\r\n default: 0,\r\n minver: 4,\r\n webm: true,\r\n description: \"CodecDelay is The codec-built-in delay in nanoseconds. This value must be subtracted from each block timestamp in order to get the actual timestamp. The value should be small so the muxing of tracks with the same actual timestamp are in the same Cluster.\",\r\n },\r\n ],\r\n [\r\n 0x6fab,\r\n {\r\n name: \"TrackOverlay\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Specify that this track is an overlay track for the Track specified (in the u-integer). That means when this track has a gap (see SilentTracks) the overlay track should be used instead. The order of multiple TrackOverlay matters, the first one is the one that should be used. If not found it should be the second, etc.\",\r\n },\r\n ],\r\n [\r\n 0xaa,\r\n {\r\n name: \"CodecDecodeAll\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: false,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"The codec can decode potentially damaged data (1 bit).\",\r\n },\r\n ],\r\n [\r\n 0x26b240,\r\n {\r\n name: \"CodecDownloadURL\",\r\n level: 3,\r\n type: \"s\",\r\n multiple: true,\r\n webm: false,\r\n description: \"A URL to download about the codec used.\",\r\n },\r\n ],\r\n [\r\n 0x3b4040,\r\n {\r\n name: \"CodecInfoURL\",\r\n level: 3,\r\n type: \"s\",\r\n multiple: true,\r\n webm: false,\r\n description: \"A URL to find information about the codec used.\",\r\n },\r\n ],\r\n [\r\n 0x3a9697,\r\n {\r\n name: \"CodecSettings\",\r\n level: 3,\r\n type: \"8\",\r\n webm: false,\r\n description: \"A string describing the encoding setting used.\",\r\n },\r\n ],\r\n [\r\n 0x63a2,\r\n {\r\n name: \"CodecPrivate\",\r\n level: 3,\r\n type: \"b\",\r\n minver: 1,\r\n description: \"Private data only known to the codec.\",\r\n },\r\n ],\r\n [\r\n 0x22b59c,\r\n {\r\n name: \"Language\",\r\n cppname: \"TrackLanguage\",\r\n level: 3,\r\n type: \"s\",\r\n minver: 1,\r\n default: \"eng\",\r\n description: \"Specifies the language of the track in the Matroska languages form.\",\r\n },\r\n ],\r\n [\r\n 0x536e,\r\n {\r\n name: \"Name\",\r\n cppname: \"TrackName\",\r\n level: 3,\r\n type: \"8\",\r\n minver: 1,\r\n description: \"A human-readable track name.\",\r\n },\r\n ],\r\n [\r\n 0x55ee,\r\n {\r\n name: \"MaxBlockAdditionID\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"The maximum value of BlockAdditions for this track.\",\r\n },\r\n ],\r\n [\r\n 0x537f,\r\n {\r\n name: \"TrackOffset\",\r\n level: 3,\r\n type: \"i\",\r\n webm: false,\r\n default: 0,\r\n description: \"A value to add to the Block's Timestamp. This can be used to adjust the playback offset of a track.\",\r\n },\r\n ],\r\n [\r\n 0x23314f,\r\n {\r\n name: \"TrackTimecodeScale\",\r\n level: 3,\r\n type: \"f\",\r\n mandatory: true,\r\n minver: 1,\r\n maxver: \"3\",\r\n webm: false,\r\n default: \"1.0\",\r\n range: \"> 0\",\r\n description: \"DEPRECATED, DO NOT USE. The scale to apply on this track to work at normal speed in relation with other tracks (mostly used to adjust video speed when the audio length differs).\",\r\n },\r\n ],\r\n [\r\n 0x234e7a,\r\n {\r\n name: \"DefaultDecodedFieldDuration\",\r\n cppname: \"TrackDefaultDecodedFieldDuration\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 4,\r\n range: \"not 0\",\r\n description: \"The period in nanoseconds (not scaled by TimcodeScale)\\nbetween two successive fields at the output of the decoding process (see the notes)\",\r\n },\r\n ],\r\n [\r\n 0x23e383,\r\n {\r\n name: \"DefaultDuration\",\r\n cppname: \"TrackDefaultDuration\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"Number of nanoseconds (not scaled via TimecodeScale) per frame ('frame' in the Matroska sense -- one element put into a (Simple)Block).\",\r\n },\r\n ],\r\n [\r\n 0x6df8,\r\n {\r\n name: \"MaxCache\",\r\n cppname: \"TrackMaxCache\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The maximum cache size required to store referenced frames in and the current frame. 0 means no cache is needed.\",\r\n },\r\n ],\r\n [\r\n 0x6de7,\r\n {\r\n name: \"MinCache\",\r\n cppname: \"TrackMinCache\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"The minimum number of frames a player should be able to cache during playback. If set to 0, the reference pseudo-cache system is not used.\",\r\n },\r\n ],\r\n [\r\n 0x9c,\r\n {\r\n name: \"FlagLacing\",\r\n cppname: \"TrackFlagLacing\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Set if the track may contain blocks using lacing. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x55aa,\r\n {\r\n name: \"FlagForced\",\r\n cppname: \"TrackFlagForced\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 0,\r\n range: \"0-1\",\r\n description: \"Set if that track MUST be active during playback. There can be many forced track for a kind (audio, video or subs), the player should select the one which language matches the user preference or the default + forced track. Overlay MAY happen between a forced and non-forced track of the same kind. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0xb9,\r\n {\r\n name: \"FlagEnabled\",\r\n cppname: \"TrackFlagEnabled\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 2,\r\n webm: true,\r\n default: 1,\r\n range: \"0-1\",\r\n description: \"Set if the track is usable. (1 bit)\",\r\n },\r\n ],\r\n [\r\n 0x73c5,\r\n {\r\n name: \"TrackUID\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"A unique ID to identify the Track. This should be kept the same when making a direct stream copy of the Track to another file.\",\r\n },\r\n ],\r\n [\r\n 0xd7,\r\n {\r\n name: \"TrackNumber\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n range: \"not 0\",\r\n description: \"The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number).\",\r\n },\r\n ],\r\n [\r\n 0xae,\r\n {\r\n name: \"TrackEntry\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Describes a track with all elements.\",\r\n },\r\n ],\r\n [\r\n 0x1654ae6b,\r\n {\r\n name: \"Tracks\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"A top-level block of information with many tracks described.\",\r\n },\r\n ],\r\n [\r\n 0xaf,\r\n {\r\n name: \"EncryptedBlock\",\r\n level: 2,\r\n type: \"b\",\r\n multiple: true,\r\n webm: false,\r\n description: \"Similar to EncryptedBlock Structure)\",\r\n },\r\n ],\r\n [\r\n 0xca,\r\n {\r\n name: \"ReferenceTimeCode\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 0,\r\n webm: false,\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc9,\r\n {\r\n name: \"ReferenceOffset\",\r\n level: 4,\r\n type: \"u\",\r\n multiple: false,\r\n mandatory: true,\r\n minver: 0,\r\n webm: false,\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xc8,\r\n {\r\n name: \"ReferenceFrame\",\r\n level: 3,\r\n type: \"m\",\r\n multiple: false,\r\n minver: 0,\r\n webm: false,\r\n divx: true,\r\n description: \"DivX trick track extenstions\",\r\n },\r\n ],\r\n [\r\n 0xcf,\r\n {\r\n name: \"SliceDuration\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The (scaled) duration to apply to the element.\",\r\n },\r\n ],\r\n [\r\n 0xce,\r\n {\r\n name: \"Delay\",\r\n cppname: \"SliceDelay\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The (scaled) delay to apply to the element.\",\r\n },\r\n ],\r\n [\r\n 0xcb,\r\n {\r\n name: \"BlockAdditionID\",\r\n cppname: \"SliceBlockAddID\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The ID of the BlockAdditional element (0 is the main Block).\",\r\n },\r\n ],\r\n [\r\n 0xcd,\r\n {\r\n name: \"FrameNumber\",\r\n cppname: \"SliceFrameNumber\",\r\n level: 5,\r\n type: \"u\",\r\n default: 0,\r\n description: \"The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame).\",\r\n },\r\n ],\r\n [\r\n 0xcc,\r\n {\r\n name: \"LaceNumber\",\r\n cppname: \"SliceLaceNumber\",\r\n level: 5,\r\n type: \"u\",\r\n minver: 1,\r\n default: 0,\r\n divx: false,\r\n description: \"The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc). While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback.\",\r\n },\r\n ],\r\n [\r\n 0xe8,\r\n {\r\n name: \"TimeSlice\",\r\n level: 4,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n divx: false,\r\n description: \"Contains extra time information about the data contained in the Block. While there are a few files in the wild with this element, it is no longer in use and has been deprecated. Being able to interpret this element is not required for playback.\",\r\n },\r\n ],\r\n [\r\n 0x8e,\r\n {\r\n name: \"Slices\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n divx: false,\r\n description: \"Contains slices description.\",\r\n },\r\n ],\r\n [\r\n 0x75a2,\r\n {\r\n name: \"DiscardPadding\",\r\n level: 3,\r\n type: \"i\",\r\n minver: 4,\r\n webm: true,\r\n description: \"Duration in nanoseconds of the silent data added to the Block (padding at the end of the Block for positive value, at the beginning of the Block for negative value). The duration of DiscardPadding is not calculated in the duration of the TrackEntry and should be discarded during playback.\",\r\n },\r\n ],\r\n [\r\n 0xa4,\r\n {\r\n name: \"CodecState\",\r\n level: 3,\r\n type: \"b\",\r\n minver: 2,\r\n webm: false,\r\n description: \"The new codec state to use. Data interpretation is private to the codec. This information should always be referenced by a seek entry.\",\r\n },\r\n ],\r\n [\r\n 0xfd,\r\n {\r\n name: \"ReferenceVirtual\",\r\n level: 3,\r\n type: \"i\",\r\n webm: false,\r\n description: \"Relative position of the data that should be in position of the virtual block.\",\r\n },\r\n ],\r\n [\r\n 0xfb,\r\n {\r\n name: \"ReferenceBlock\",\r\n level: 3,\r\n type: \"i\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"Timestamp of another frame used as a reference (ie: B or P frame). The timestamp is relative to the block it's attached to.\",\r\n },\r\n ],\r\n [\r\n 0xfa,\r\n {\r\n name: \"ReferencePriority\",\r\n cppname: \"FlagReferenced\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 0,\r\n description: \"This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced.\",\r\n },\r\n ],\r\n [\r\n 0x9b,\r\n {\r\n name: \"BlockDuration\",\r\n level: 3,\r\n type: \"u\",\r\n minver: 1,\r\n default: \"TrackDuration\",\r\n description: 'The duration of the Block (based on TimecodeScale). This element is mandatory when DefaultDuration is set for the track (but can be omitted as other default values). When not written and with no DefaultDuration, the value is assumed to be the difference between the timestamp of this Block and the timestamp of the next Block in \"display\" order (not coding order). This element can be useful at the end of a Track (as there is not other Block available), or when there is a break in a track like for subtitle tracks. When set to 0 that means the frame is not a keyframe.',\r\n },\r\n ],\r\n [\r\n 0xa5,\r\n {\r\n name: \"BlockAdditional\",\r\n level: 5,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Interpreted by the codec as it wishes (using the BlockAddID).\",\r\n },\r\n ],\r\n [\r\n 0xee,\r\n {\r\n name: \"BlockAddID\",\r\n level: 5,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n default: 1,\r\n range: \"not 0\",\r\n description: \"An ID to identify the BlockAdditional level.\",\r\n },\r\n ],\r\n [\r\n 0xa6,\r\n {\r\n name: \"BlockMore\",\r\n level: 4,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain the BlockAdditional and some parameters.\",\r\n },\r\n ],\r\n [\r\n 0x75a1,\r\n {\r\n name: \"BlockAdditions\",\r\n level: 3,\r\n type: \"m\",\r\n minver: 1,\r\n webm: false,\r\n description: \"Contain additional blocks to complete the main one. An EBML parser that has no knowledge of the Block structure could still see and use/skip these data.\",\r\n },\r\n ],\r\n [\r\n 0xa2,\r\n {\r\n name: \"BlockVirtual\",\r\n level: 3,\r\n type: \"b\",\r\n webm: false,\r\n description: \"A Block with no data. It must be stored in the stream at the place the real Block should be in display order. (see Block Virtual)\",\r\n },\r\n ],\r\n [\r\n 0xa1,\r\n {\r\n name: \"Block\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"Block containing the actual data to be rendered and a timestamp relative to the Cluster Timecode. (see Block Structure)\",\r\n },\r\n ],\r\n [\r\n 0xa0,\r\n {\r\n name: \"BlockGroup\",\r\n level: 2,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"Basic container of information containing a single Block or BlockVirtual, and information specific to that Block/VirtualBlock.\",\r\n },\r\n ],\r\n [\r\n 0xa3,\r\n {\r\n name: \"SimpleBlock\",\r\n level: 2,\r\n type: \"b\",\r\n multiple: true,\r\n minver: 2,\r\n webm: true,\r\n divx: true,\r\n description: \"Similar to SimpleBlock Structure)\",\r\n },\r\n ],\r\n [\r\n 0xab,\r\n {\r\n name: \"PrevSize\",\r\n cppname: \"ClusterPrevSize\",\r\n level: 2,\r\n type: \"u\",\r\n minver: 1,\r\n description: \"Size of the previous Cluster, in octets. Can be useful for backward playing.\",\r\n },\r\n ],\r\n [\r\n 0xa7,\r\n {\r\n name: \"Position\",\r\n cppname: \"ClusterPosition\",\r\n level: 2,\r\n type: \"u\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The Position of the Cluster in the segment (0 in live broadcast streams). It might help to resynchronise offset on damaged streams.\",\r\n },\r\n ],\r\n [\r\n 0x58d7,\r\n {\r\n name: \"SilentTrackNumber\",\r\n cppname: \"ClusterSilentTrackNumber\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"One of the track number that are not used from now on in the stream. It could change later if not specified as silent in a further Cluster.\",\r\n },\r\n ],\r\n [\r\n 0xe7,\r\n {\r\n name: \"Timecode\",\r\n cppname: \"ClusterTimecode\",\r\n level: 2,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"Absolute timestamp of the cluster (based on TimecodeScale).\",\r\n },\r\n ],\r\n [\r\n 0x1f43b675,\r\n {\r\n name: \"Cluster\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"The lower level element containing the (monolithic) Block structure.\",\r\n },\r\n ],\r\n [\r\n 0x4d80,\r\n {\r\n name: \"MuxingApp\",\r\n level: 2,\r\n type: \"8\",\r\n mandatory: true,\r\n minver: 1,\r\n description: 'Muxing application or library (\"libmatroska-0.4.3\").',\r\n },\r\n ],\r\n [\r\n 0x7ba9,\r\n {\r\n name: \"Title\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"General name of the segment.\",\r\n },\r\n ],\r\n [\r\n 0x2ad7b2,\r\n {\r\n name: \"TimecodeScaleDenominator\",\r\n level: 2,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 4,\r\n default: 1000000000,\r\n description: \"Timestamp scale numerator, see TimecodeScale.\",\r\n },\r\n ],\r\n [\r\n 0x2ad7b1,\r\n {\r\n name: \"TimecodeScale\",\r\n level: 2,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n default: 1000000,\r\n description: \"Timestamp scale in nanoseconds (1.000.000 means all timestamps in the segment are expressed in milliseconds).\",\r\n },\r\n ],\r\n [\r\n 0x69a5,\r\n {\r\n name: \"ChapterTranslateID\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The binary value used to represent this segment in the chapter codec data. The format depends on the ChapProcessCodecID used.\",\r\n },\r\n ],\r\n [\r\n 0x69bf,\r\n {\r\n name: \"ChapterTranslateCodec\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"The chapter codec using this ID (0: Matroska Script, 1: DVD-menu).\",\r\n },\r\n ],\r\n [\r\n 0x69fc,\r\n {\r\n name: \"ChapterTranslateEditionUID\",\r\n level: 3,\r\n type: \"u\",\r\n multiple: true,\r\n minver: 1,\r\n webm: false,\r\n description: \"Specify an edition UID on which this correspondance applies. When not specified, it means for all editions found in the segment.\",\r\n },\r\n ],\r\n [\r\n 0x3e83bb,\r\n {\r\n name: \"NextFilename\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"An escaped filename corresponding to the next segment.\",\r\n },\r\n ],\r\n [\r\n 0x3eb923,\r\n {\r\n name: \"NextUID\",\r\n level: 2,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n bytesize: 16,\r\n description: \"A unique ID to identify the next chained segment (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x3c83ab,\r\n {\r\n name: \"PrevFilename\",\r\n level: 2,\r\n type: \"8\",\r\n minver: 1,\r\n webm: false,\r\n description: \"An escaped filename corresponding to the previous segment.\",\r\n },\r\n ],\r\n [\r\n 0x3cb923,\r\n {\r\n name: \"PrevUID\",\r\n level: 2,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n bytesize: 16,\r\n description: \"A unique ID to identify the previous chained segment (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x73a4,\r\n {\r\n name: \"SegmentUID\",\r\n level: 2,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n range: \"not 0\",\r\n bytesize: 16,\r\n description: \"A randomly generated unique ID to identify the current segment between many others (128 bits).\",\r\n },\r\n ],\r\n [\r\n 0x1549a966,\r\n {\r\n name: \"Info\",\r\n level: 1,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains miscellaneous general information and statistics on the file.\",\r\n },\r\n ],\r\n [\r\n 0x53ac,\r\n {\r\n name: \"SeekPosition\",\r\n level: 3,\r\n type: \"u\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"The position of the element in the segment in octets (0 = first level 1 element).\",\r\n },\r\n ],\r\n [\r\n 0x53ab,\r\n {\r\n name: \"SeekID\",\r\n level: 3,\r\n type: \"b\",\r\n mandatory: true,\r\n minver: 1,\r\n description: \"The binary ID corresponding to the element name.\",\r\n },\r\n ],\r\n [\r\n 0x4dbb,\r\n {\r\n name: \"Seek\",\r\n cppname: \"SeekPoint\",\r\n level: 2,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains a single seek entry to an EBML element.\",\r\n },\r\n ],\r\n [\r\n 0x114d9b74,\r\n {\r\n name: \"SeekHead\",\r\n cppname: \"SeekHeader\",\r\n level: 1,\r\n type: \"m\",\r\n multiple: true,\r\n minver: 1,\r\n description: \"Contains the position of other level 1 elements.\",\r\n },\r\n ],\r\n [\r\n 0x7e7b,\r\n {\r\n name: \"SignatureElementList\",\r\n level: 2,\r\n type: \"m\",\r\n multiple: true,\r\n webm: false,\r\n i: \"Cluster|Block|BlockAdditional\",\r\n description: \"A list consists of a number of consecutive elements that represent one case where data is used in signature. Ex: means that the BlockAdditional of all Blocks in all Clusters is used for encryption.\",\r\n },\r\n ],\r\n [\r\n 0x7e5b,\r\n {\r\n name: \"SignatureElements\",\r\n level: 1,\r\n type: \"m\",\r\n webm: false,\r\n description: \"Contains elements that will be used to compute the signature.\",\r\n },\r\n ],\r\n [\r\n 0x7eb5,\r\n {\r\n name: \"Signature\",\r\n level: 1,\r\n type: \"b\",\r\n webm: false,\r\n description: \"The signature of the data (until a new.\",\r\n },\r\n ],\r\n [\r\n 0x7ea5,\r\n {\r\n name: \"SignaturePublicKey\",\r\n level: 1,\r\n type: \"b\",\r\n webm: false,\r\n description: \"The public key to use with the algorithm (in the case of a PKI-based signature).\",\r\n },\r\n ],\r\n [\r\n 0x7e9a,\r\n {\r\n name: \"SignatureHash\",\r\n level: 1,\r\n type: \"u\",\r\n webm: false,\r\n description: \"Hash algorithm used (1=SHA1-160, 2=MD5).\",\r\n },\r\n ],\r\n [\r\n 0x7e8a,\r\n {\r\n name: \"SignatureAlgo\",\r\n level: 1,\r\n type: \"u\",\r\n webm: false,\r\n description: \"Signature algorithm used (1=RSA, 2=elliptic).\",\r\n },\r\n ],\r\n [\r\n 0x1b538667,\r\n {\r\n name: \"SignatureSlot\",\r\n level: -1,\r\n type: \"m\",\r\n multiple: true,\r\n webm: false,\r\n description: \"Contain signature of some (coming) elements in the stream.\",\r\n },\r\n ],\r\n [\r\n 0xbf,\r\n {\r\n name: \"CRC-32\",\r\n level: -1,\r\n type: \"b\",\r\n minver: 1,\r\n webm: false,\r\n description: \"The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian\",\r\n },\r\n ],\r\n [\r\n 0xec,\r\n {\r\n name: \"Void\",\r\n level: -1,\r\n type: \"b\",\r\n minver: 1,\r\n description: \"Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use.\",\r\n },\r\n ],\r\n [\r\n 0x42f3,\r\n {\r\n name: \"EBMLMaxSizeLength\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 8,\r\n minver: 1,\r\n description: \"The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid.\",\r\n },\r\n ],\r\n [\r\n 0x42f2,\r\n {\r\n name: \"EBMLMaxIDLength\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 4,\r\n minver: 1,\r\n description: \"The maximum length of the IDs you'll find in this file (4 or less in Matroska).\",\r\n },\r\n ],\r\n [\r\n 0x42f7,\r\n {\r\n name: \"EBMLReadVersion\",\r\n level: 1,\r\n type: \"u\",\r\n mandatory: true,\r\n default: 1,\r\n minver: 1,\r\n description: \"The minimum EBML version a parser has to support to read this file.\",\r\n },\r\n ],\r\n [\r\n 0x1a45dfa3,\r\n {\r\n name: \"EBML\",\r\n level: 0,\r\n type: \"m\",\r\n mandatory: true,\r\n multiple: true,\r\n minver: 1,\r\n description: \"Set the EBML characteristics of the data to follow. Each EBML document has to start with this.\",\r\n },\r\n ],\r\n]);\r\n\r\nmodule.exports = schema;\r\n","const schema = require(\"./schema\");\r\n\r\nclass Tools {\r\n /**\r\n * read variable length integer per\r\n * https://www.matroska.org/technical/specs/index.html#EBML_ex\r\n * @static\r\n * @param {Buffer} buffer containing input\r\n * @param {Number} [start=0] position in buffer\r\n * @returns {{length: Number, value: number}} value / length object\r\n */\r\n static readVint(buffer, start = 0) {\r\n // Calculate length based on leading zeros in the first byte\r\n const firstByte = buffer[start];\r\n\r\n // Find the first 1 bit to determine length (VINT_WIDTH)\r\n let length = 1;\r\n let mask = 0x80; // 10000000 binary\r\n while ((firstByte & mask) === 0 && length <= 8) {\r\n length++;\r\n mask >>= 1;\r\n }\r\n\r\n if (length > 8) {\r\n const number = Tools.readHexString(buffer, start, start + length);\r\n throw new Error(`Unrepresentable length: ${length} ${number}`);\r\n }\r\n\r\n if (start + length > buffer.length) {\r\n return null;\r\n }\r\n\r\n // Check if all data bits are 1 (indicating unknown/infinite size)\r\n const dataMask = (1 << (8 - length)) - 1;\r\n let value = firstByte & dataMask;\r\n\r\n // Check for \"all bits set\" pattern (unknown size)\r\n let allBitsSet = (firstByte & dataMask) === dataMask;\r\n for (let i = 1; i < length && allBitsSet; i++) {\r\n if (buffer[start + i] !== 0xFF) {\r\n allBitsSet = false;\r\n }\r\n }\r\n\r\n // If all data bits are 1, it represents unknown/infinite size\r\n if (allBitsSet) {\r\n return { length, value: -1 };\r\n }\r\n\r\n // Parse the remaining bytes\r\n for (let i = 1; i < length; i++) {\r\n value = (value << 8) | buffer[start + i];\r\n }\r\n\r\n return { length, value };\r\n }\r\n\r\n /**\r\n * write variable length integer\r\n * @static\r\n * @param {Number} value to store into buffer\r\n * @returns {Buffer} containing the value\r\n */\r\n static writeVint(value, minLength = 1) {\r\n if (value < 0 || value > 2 ** 53) {\r\n throw new Error(`Unrepresentable value: ${value}`);\r\n }\r\n\r\n minLength = typeof minLength === 'number' && !isNaN(minLength) ? Math.max(1, minLength) : 1;\r\n minLength = Math.min(8, minLength);\r\n let length = 1;\r\n for (length = minLength; length <= 8; length += 1) {\r\n if (value < 2 ** (7 * length) - 1) {\r\n break;\r\n }\r\n }\r\n\r\n const buffer = Buffer.alloc(length);\r\n let val = value;\r\n for (let i = 1; i <= length; i += 1) {\r\n const b = val & 0xff;\r\n buffer[length - i] = b;\r\n val -= b;\r\n val /= 2 ** 8;\r\n }\r\n buffer[0] |= 1 << (8 - length);\r\n\r\n return buffer;\r\n }\r\n\r\n /**\r\n * *\r\n * concatenate two arrays of bytes\r\n * @static\r\n * @param {Buffer} a1 First array\r\n * @param {Buffer} a2 Second array\r\n * @returns {Buffer} concatenated arrays\r\n */\r\n static concatenate(a1, a2) {\r\n // both null or undefined\r\n if (!a1 && !a2) {\r\n return Buffer.from([]);\r\n }\r\n if (!a1 || a1.byteLength === 0) {\r\n return a2;\r\n }\r\n if (!a2 || a2.byteLength === 0) {\r\n return a1;\r\n }\r\n\r\n return Buffer.concat([a1, a2]);\r\n }\r\n\r\n /**\r\n * get a hex text string from Buff[start,end)\r\n * @param {Buffer} buff from which to read the string\r\n * @param {Number} [start=0] starting point (default 0)\r\n * @param {Number} [end=buff.byteLength] ending point (default the whole buffer)\r\n * @returns {string} the hex string\r\n */\r\n static readHexString(buff, start = 0, end = buff.byteLength) {\r\n return Array.from(buff.slice(start, end))\r\n .map(q => Number(q).toString(16))\r\n .reduce((acc, current) => `${acc}${current.padStart(2, '0')}`, '');\r\n }\r\n\r\n /**\r\n * tries to read out a UTF-8 encoded string\r\n * @param {Buffer} buff the buffer to attempt to read from\r\n * @return {string|null} the decoded text, or null if unable to\r\n */\r\n static readUtf8(buff) {\r\n try {\r\n return Buffer.from(buff).toString('utf8');\r\n } catch (exception) {\r\n return null;\r\n }\r\n }\r\n\r\n /**\r\n * get an unsigned number from a buffer\r\n * @param {Buffer} buff from which to read variable-length unsigned number\r\n * @returns {number|string} result (in hex for lengths > 6)\r\n */\r\n static readUnsigned(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 1:\r\n return b.getUint8(0);\r\n case 2:\r\n return b.getUint16(0);\r\n case 4:\r\n return b.getUint32(0);\r\n default:\r\n break;\r\n }\r\n if (buff.byteLength <= 6) {\r\n return buff.reduce((acc, current) => acc * 256 + current, 0);\r\n }\r\n\r\n return Tools.readHexString(buff, 0, buff.byteLength);\r\n }\r\n\r\n /**\r\n * get an signed number from a buffer\r\n * @static\r\n * @param {Buffer} buff from which to read variable-length signed number\r\n * @returns {number} result\r\n */\r\n static readSigned(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 1:\r\n return b.getInt8(0);\r\n case 2:\r\n return b.getInt16(0);\r\n case 4:\r\n return b.getInt32(0);\r\n default:\r\n return NaN;\r\n }\r\n }\r\n\r\n /**\r\n * get an floating-point number from a buffer\r\n * @static\r\n * @param {Buffer} buff from which to read variable-length floating-point number\r\n * @returns {number} result\r\n */\r\n static readFloat(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 4:\r\n return b.getFloat32(0);\r\n case 8:\r\n return b.getFloat64(0);\r\n default:\r\n return NaN;\r\n }\r\n }\r\n\r\n /**\r\n * get a date from a buffer\r\n * @static\r\n * @param {Buffer} buff from which to read the date\r\n * @return {Date} result\r\n */\r\n static readDate(buff) {\r\n const b = new DataView(buff.buffer, buff.byteOffset, buff.byteLength);\r\n switch (buff.byteLength) {\r\n case 1:\r\n return new Date(b.getUint8(0));\r\n case 2:\r\n return new Date(b.getUint16(0));\r\n case 4:\r\n return new Date(b.getUint32(0));\r\n case 8:\r\n return new Date(Number.parseInt(Tools.readHexString(buff), 16));\r\n default:\r\n return new Date(0);\r\n }\r\n }\r\n\r\n /**\r\n * Reads the data from a tag\r\n * @static\r\n * @param {TagData} tagObj The tag object to be read\r\n * @param {Buffer} data Data to be transformed\r\n * @return {Tag} result\r\n */\r\n static readDataFromTag(tagObj, data) {\r\n const { type, name } = tagObj;\r\n let { track } = tagObj;\r\n let discardable = tagObj.discardable || false;\r\n let keyframe = tagObj.keyframe || false;\r\n let payload = null;\r\n let value;\r\n\r\n switch (type) {\r\n case 'u':\r\n value = Tools.readUnsigned(data);\r\n break;\r\n case 'f':\r\n value = Tools.readFloat(data);\r\n break;\r\n case 'i':\r\n value = Tools.readSigned(data);\r\n break;\r\n case 's':\r\n value = String.fromCharCode(...data);\r\n break;\r\n case '8':\r\n value = Tools.readUtf8(data);\r\n break;\r\n case 'd':\r\n value = Tools.readDate(data);\r\n break;\r\n default:\r\n break;\r\n }\r\n\r\n if (name === 'SimpleBlock' || name === 'Block') {\r\n let p = 0;\r\n const { length, value: trak } = Tools.readVint(data, p);\r\n p += length;\r\n track = trak;\r\n value = Tools.readSigned(data.subarray(p, p + 2));\r\n p += 2;\r\n if (name === 'SimpleBlock') {\r\n keyframe = Boolean(data[length + 2] & 0x80);\r\n discardable = Boolean(data[length + 2] & 0x01);\r\n }\r\n p += 1;\r\n payload = data.subarray(p);\r\n }\r\n\r\n return {\r\n ...tagObj,\r\n data,\r\n discardable,\r\n keyframe,\r\n payload,\r\n track,\r\n value,\r\n };\r\n }\r\n\r\n /**\r\n * @param {Array<[number, import(\"./types/schema.types\").EBMLSchema]>} items\r\n */\r\n static addSchema(items) {\r\n if (!Array.isArray(items)) {\r\n return schema\r\n }\r\n for (const item of items) {\r\n schema.set(item[0], item[1])\r\n }\r\n return schema\r\n }\r\n\r\n /**\r\n * @param {number} value\r\n * @param {number} size\r\n */\r\n static toUint8(value, size) {\r\n var buf = new Uint8Array(size)\r\n for (let i = 0, k = size - 1; i < size; ++i, --k) {\r\n buf[i] = (value >> (8 * k)) & 0xFF\r\n }\r\n return buf\r\n }\r\n\r\n /** @param {number} value */\r\n static measureUnsignedInt(value) {\r\n // Force to 32-bit unsigned integer\r\n if (value < (1 << 8)) {\r\n return 1;\r\n } else if (value < (1 << 16)) {\r\n return 2;\r\n } else if (value < (1 << 24)) {\r\n return 3;\r\n } else if (value < 2 ** 32) {\r\n return 4;\r\n } else if (value < 2 ** 40) {\r\n return 5;\r\n } else {\r\n return 6;\r\n }\r\n };\r\n\r\n /** @param {number} value */\r\n static measureEBMLVarInt(value) {\r\n if (value < (1 << 7) - 1) {\r\n /** Top bit is set, leaving 7 bits to hold the integer, but we can't store\r\n * 127 because \"all bits set to one\" is a reserved value. Same thing for the\r\n * other cases below:\r\n */\r\n return 1;\r\n } else if (value < (1 << 14) - 1) {\r\n return 2;\r\n } else if (value < (1 << 21) - 1) {\r\n return 3;\r\n } else if (value < (1 << 28) - 1) {\r\n return 4;\r\n } else if (value < 2 ** 35 - 1) {\r\n return 5;\r\n } else if (value < 2 ** 42 - 1) {\r\n return 6;\r\n } else {\r\n throw new Error('EBML VINT size not supported ' + value);\r\n }\r\n };\r\n}\r\n\r\nmodule.exports = Tools","module.exports = require(\"stream\");","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = __webpack_require__(44);\n"],"names":["module","exports","debugLog","name","enabled","log","args","Transform","__webpack_require__","tools","schema","debug","EbmlDecoder","mBuffer","mTagStack","mState","mCursor","mTotal","mIsLive","constructor","options","super","readableObjectMode","this","isLive","buffer","cursor","state","tagStack","total","_transform","chunk","enc","done","concatenate","Buffer","from","length","readTag","readSize","readContent","getSchemaInfo","tag","Number","isInteger","has","get","tagStr","toString","toUpperCase","unknown","type","description","level","minver","multiple","webm","set","console","warn","findTagStart","start","readVint","readHexString","tagNum","parseInt","tagObj","value","end","push","tagName","startsWith","subarray","e","message","size","dataSize","rest","data","pop","readDataFromTag","topEle","encodeTag","tagId","tagData","writeVint","isBuffer","concat","EbmlEncoder","mCorked","mStack","writableObjectMode","corked","stack","stak","startTag","writeTag","endTag","flush","byteLength","bufferAndFlush","_flush","_bufferAndFlush","Array","keys","find","str","cork","uncork","Error","children","id","childTagDataBuffers","map","child","Decoder","Encoder","Map","mandatory","range","cppname","default","br","del","bytesize","divx","recursive","strong","maxver","i","Tools","firstByte","mask","number","dataMask","allBitsSet","minLength","isNaN","Math","max","min","alloc","val","b","a1","a2","buff","slice","q","reduce","acc","current","padStart","readUtf8","exception","readUnsigned","DataView","byteOffset","getUint8","getUint16","getUint32","readSigned","getInt8","getInt16","getInt32","NaN","readFloat","getFloat32","getFloat64","readDate","Date","track","discardable","keyframe","payload","String","fromCharCode","p","trak","Boolean","addSchema","items","isArray","item","toUint8","buf","Uint8Array","k","measureUnsignedInt","measureEBMLVarInt","require","__webpack_module_cache__","moduleId","cachedModule","undefined","__webpack_modules__"],"sourceRoot":""}
|