conformtools 0.6.8 → 0.6.10

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.
Files changed (103) hide show
  1. package/dist/account-GFIQC77T.js +3 -0
  2. package/dist/analysis-engine-4K5K6L53.js +3 -0
  3. package/dist/{bridge-UIDAF74E.js → bridge-73XMEZLH.js} +1 -1
  4. package/dist/browser/timeline_core_bg.wasm +0 -0
  5. package/dist/chunk-2MJAQROY.js +5 -0
  6. package/dist/{chunk-TXQR2HI2.js → chunk-56EEBHP2.js} +1 -1
  7. package/dist/{chunk-GM6QKY7W.js → chunk-6HZP2OJA.js} +1 -1
  8. package/dist/{chunk-VIBEEWPC.js → chunk-7QUSVHO2.js} +2 -2
  9. package/dist/chunk-CJYLQ3UM.js +5 -0
  10. package/dist/chunk-DFDXSIMI.js +39 -0
  11. package/dist/{chunk-3D3Z4TBR.js → chunk-DGXZB7MO.js} +1 -1
  12. package/dist/{chunk-PLRB2YXJ.js → chunk-DNS4ZYIO.js} +1 -1
  13. package/dist/chunk-DPA26AOI.js +3 -0
  14. package/dist/chunk-E5ENIKNR.js +7 -0
  15. package/dist/{chunk-A7FNR3T5.js → chunk-EEDLRRKU.js} +1 -1
  16. package/dist/{chunk-F74QMWXE.js → chunk-GM262EDM.js} +1 -1
  17. package/dist/{chunk-D4WPRRBT.js → chunk-ISKNIQVO.js} +1 -1
  18. package/dist/chunk-JHTMYXJM.js +20 -0
  19. package/dist/chunk-JKOB3U54.js +3 -0
  20. package/dist/{chunk-2BPR6LK6.js → chunk-JXTRQ3UG.js} +1 -1
  21. package/dist/chunk-NQNS4Y2B.js +3 -0
  22. package/dist/chunk-QHXX5GDD.js +440 -0
  23. package/dist/{chunk-NFJHWZJX.js → chunk-TDIY4NRQ.js} +1 -1
  24. package/dist/chunk-UGVGRL5M.js +3 -0
  25. package/dist/chunk-WJ5EWXP2.js +3 -0
  26. package/dist/chunk-XDI6CPPV.js +3 -0
  27. package/dist/chunk-XJNWAQON.js +7 -0
  28. package/dist/chunk-Y2QHZUGL.js +5 -0
  29. package/dist/{chunk-GK4YYKJ6.js → chunk-YC7QDS5U.js} +2 -2
  30. package/dist/chunk-YUO3UWPH.js +3 -0
  31. package/dist/chunk-ZVUKOFUX.js +6 -0
  32. package/dist/{claude-setup-IIWUB4CE.js → claude-setup-OKOPPDMB.js} +1 -1
  33. package/dist/cli.js +2 -2
  34. package/dist/conformtools-analyze +0 -0
  35. package/dist/conformtools-decode +0 -0
  36. package/dist/{cr3-wasm-HLJWEV2S.js → cr3-wasm-NYCB34ND.js} +1 -1
  37. package/dist/{dng-wasm-CQDLPM5V.js → dng-wasm-XCPPBXPZ.js} +1 -1
  38. package/dist/{dpx-wasm-TLGMM7BO.js → dpx-wasm-XACWNFPB.js} +1 -1
  39. package/dist/engine-274GQLUB.js +5 -0
  40. package/dist/{exr-wasm-2NPKPTVB.js → exr-wasm-FQBUR6QT.js} +1 -1
  41. package/dist/flame/hook/conformtools_flame/verbs.py +9 -9
  42. package/dist/framing-BKTUEUZO.js +3 -0
  43. package/dist/gfx-worker.js +1 -1
  44. package/dist/{h264-JJMZSUWW.js → h264-B2TLLEMI.js} +1 -1
  45. package/dist/{h264-mxf-DCUOGLDU.js → h264-mxf-3GED5PBT.js} +1 -1
  46. package/dist/host-relink-PTV44KXF.js +10 -0
  47. package/dist/hosts-D3TR2QEV.js +3 -0
  48. package/dist/http.js +2 -2
  49. package/dist/{inspect-FJKYPEXL.js → inspect-D3WEYL2W.js} +3 -3
  50. package/dist/{isobmff-VJOWP4MH.js → isobmff-C5A2EFKH.js} +1 -1
  51. package/dist/{mc-video-5MGGOQN4.js → mc-video-ARKIHPA7.js} +1 -1
  52. package/dist/mcp.js +1 -1
  53. package/dist/{media-NZYVREUF.js → media-3YMIZSSF.js} +1 -1
  54. package/dist/media_core-XOKN7UUF.js +9 -0
  55. package/dist/mxf-CQSI6H5T.js +3 -0
  56. package/dist/nuke/panel/python/conformtools_nuke/verbs.py +5 -5
  57. package/dist/{ops-X7NAREC4.js → ops-BCTGDBXT.js} +1 -1
  58. package/dist/peer-kit/ctpeer/__init__.py +1 -1
  59. package/dist/peer-kit/ctpeer/neutral.py +10 -10
  60. package/dist/premiere-uxp/lib/edit.js +94 -9
  61. package/dist/premiere-uxp/lib/markers.js +12 -11
  62. package/dist/premiere-uxp/lib/probe.js +6 -3
  63. package/dist/premiere-uxp/lib/verbs.js +1 -1
  64. package/dist/premiere-uxp/manifest.json +1 -1
  65. package/dist/{probe-F7WQHMIA.js → probe-COWUTQGN.js} +1 -1
  66. package/dist/{r3d-T5O6IIZZ.js → r3d-FX7V4BIE.js} +1 -1
  67. package/dist/{r3d-CXUNG6VS.js → r3d-I6EYEYX7.js} +1 -1
  68. package/dist/resolve-bridge.py +725 -88
  69. package/dist/sequence-patch-JVEZW24V.js +3 -0
  70. package/dist/{still-P4JJNTEO.js → still-WUCFH2WX.js} +1 -1
  71. package/dist/{still-wasm-DN5LPASS.js → still-wasm-RTPOMH7S.js} +1 -1
  72. package/dist/store-SZKXADGI.js +3 -0
  73. package/dist/{tiff-wasm-BPRDR6EB.js → tiff-wasm-N2S267IA.js} +1 -1
  74. package/dist/timeline-PEUC3G7K.js +3 -0
  75. package/dist/timeline_core-ZKQQHUA2.js +3 -0
  76. package/dist/wasm/media_core_bg.wasm +0 -0
  77. package/dist/wasm-threads/media_core_bg.wasm +0 -0
  78. package/dist/{wav-64SC6P7U.js → wav-HSCUCY4U.js} +1 -1
  79. package/package.json +1 -1
  80. package/dist/account-NJSA4N67.js +0 -3
  81. package/dist/chunk-7SENYEIV.js +0 -6
  82. package/dist/chunk-AMRJXYL4.js +0 -3
  83. package/dist/chunk-BW4LRTHG.js +0 -5
  84. package/dist/chunk-H6WZ43NS.js +0 -39
  85. package/dist/chunk-IPFPZBSC.js +0 -5
  86. package/dist/chunk-J2JXLEAI.js +0 -3
  87. package/dist/chunk-JZY2BHQB.js +0 -9
  88. package/dist/chunk-LGUO7PL5.js +0 -20
  89. package/dist/chunk-MS3AWOSG.js +0 -7
  90. package/dist/chunk-PFISREY4.js +0 -3
  91. package/dist/chunk-RJ6JA2LZ.js +0 -3
  92. package/dist/chunk-SGLQY53R.js +0 -3
  93. package/dist/chunk-SYX6W5TS.js +0 -378
  94. package/dist/chunk-WN53ARHJ.js +0 -3
  95. package/dist/engine-P6H5P6HP.js +0 -5
  96. package/dist/framing-7LAOPOED.js +0 -3
  97. package/dist/host-relink-UOS3P5SL.js +0 -10
  98. package/dist/hosts-66KSLCFJ.js +0 -3
  99. package/dist/media_core-YZ3PABEG.js +0 -9
  100. package/dist/mxf-FJSRFLJC.js +0 -3
  101. package/dist/store-EXUE5XX5.js +0 -3
  102. package/dist/timeline-GVVL2CBI.js +0 -3
  103. package/dist/timeline_core-IOENXK4Z.js +0 -3
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
- var s={scrub:{output:"rgba8",detail:"coarse"},thumbnail:{output:"rgba8",detail:"coarse"},park:{output:"rgba8",detail:"exact"},render:{output:"rgba8",detail:"exact"},transcode:{output:"rgb16",detail:"exact"}};function p(e){let t=new DataView(e.buffer,e.byteOffset,8),r=t.getUint32(0,!0),n=t.getUint32(4,!0),o=e.slice(8);return{width:r,height:n,rgb16:new Uint16Array(o.buffer,o.byteOffset,r*n*3)}}var a=class extends Error{constructor(r,n){super(`COVERAGE_MISS: frame ${r} not in linked media (${n} frames)`);this.index=r;this.frameCount=n;this.name="CoverageMissError"}},m=/(?:[A-Z0-9]+_)?COVERAGE_MISS\s+(\{[\s\S]*\})/;function d(e){let r=(e instanceof Error?e.message:String(e??"")).match(m);if(!r)return null;try{return JSON.parse(r[1])}catch{return{reason:"coverage_miss"}}}var i=class extends Error{constructor(r){super(`DELIVERY_COVERAGE_MISS: ${r.reason}`+(r.cut_in!=null?` cut [${r.cut_in}..${r.cut_out}] file_frames ${r.file_frames}`:""));this.detail=r;this.name="DeliveryCoverageMissError"}};function l(e){return e instanceof i?e.detail:d(e)}var u={mov:()=>import("./isobmff-VJOWP4MH.js").then(e=>e.isobmffFormat),crm:()=>import("./isobmff-VJOWP4MH.js").then(e=>e.isobmffFormat),braw:()=>import("./isobmff-VJOWP4MH.js").then(e=>e.isobmffFormat),wav:()=>import("./wav-64SC6P7U.js").then(e=>e.wavFormat),mxf:()=>import("./mxf-FJSRFLJC.js").then(e=>e.mxfFormat),r3d:()=>import("./r3d-T5O6IIZZ.js").then(e=>e.r3dFormat),still:()=>import("./still-P4JJNTEO.js").then(e=>e.stillFormat),avc1:()=>import("./h264-JJMZSUWW.js").then(e=>e.h264Format),avc3:()=>import("./h264-JJMZSUWW.js").then(e=>e.h264Format),h264:()=>import("./h264-JJMZSUWW.js").then(e=>e.h264Format),hvc1:()=>import("./h264-JJMZSUWW.js").then(e=>e.h264Format),hev1:()=>import("./h264-JJMZSUWW.js").then(e=>e.h264Format),hevc:()=>import("./h264-JJMZSUWW.js").then(e=>e.h264Format),h264_mxf:()=>import("./h264-mxf-DCUOGLDU.js").then(e=>e.h264MxfFormat),mcvideo:()=>import("./mc-video-5MGGOQN4.js").then(e=>e.mcVideoFormat)};async function c(e){let t=u[e];return t?await t():null}async function f(e){let t=await c(e.format);if(!t)throw new Error(`extract: no handler for format '${e.format}'`);return t.extract(e)}async function b(e,t){let r=await c(e.format);if(!r){if(t.verb==="inspect")return null;throw new Error(`mediaOp: no handler for format '${e.format}' (verb ${t.verb})`)}switch(t.verb){case"inspect":{let n=await r.inspect(e);return n&&(n.source_facts_origin="probed"),n}case"sparsify":return r.sparsify(e,t.selection);case"trim":return r.trim(e,t.selection);case"decode":{let{output:n,detail:o}=s[t.intent];if(n==="rgb16"){if(!r.decode16)throw new Error(`mediaOp: format '${e.format}' has no 16-bit decoder (intent '${t.intent}')`);return r.decode16(e,t.index)}if(!r.decode)throw new Error(`mediaOp: format '${e.format}' has no decoder (no viewer)`);return r.decode(e,t.index,{detail:o})}}}export{s as a,p as b,a as c,d,i as e,l as f,c as g,f as h,b as i};
3
+ var s={scrub:{output:"rgba8",detail:"coarse"},thumbnail:{output:"rgba8",detail:"coarse"},park:{output:"rgba8",detail:"exact"},render:{output:"rgba8",detail:"exact"},transcode:{output:"rgb16",detail:"exact"}};function p(e){let t=new DataView(e.buffer,e.byteOffset,8),r=t.getUint32(0,!0),n=t.getUint32(4,!0),o=e.slice(8);return{width:r,height:n,rgb16:new Uint16Array(o.buffer,o.byteOffset,r*n*3)}}var a=class extends Error{constructor(r,n){super(`COVERAGE_MISS: frame ${r} not in linked media (${n} frames)`);this.index=r;this.frameCount=n;this.name="CoverageMissError"}},m=/(?:[A-Z0-9]+_)?COVERAGE_MISS\s+(\{[\s\S]*\})/;function d(e){let r=(e instanceof Error?e.message:String(e??"")).match(m);if(!r)return null;try{return JSON.parse(r[1])}catch{return{reason:"coverage_miss"}}}var i=class extends Error{constructor(r){super(`DELIVERY_COVERAGE_MISS: ${r.reason}`+(r.cut_in!=null?` cut [${r.cut_in}..${r.cut_out}] file_frames ${r.file_frames}`:""));this.detail=r;this.name="DeliveryCoverageMissError"}};function l(e){return e instanceof i?e.detail:d(e)}var u={mov:()=>import("./isobmff-C5A2EFKH.js").then(e=>e.isobmffFormat),crm:()=>import("./isobmff-C5A2EFKH.js").then(e=>e.isobmffFormat),braw:()=>import("./isobmff-C5A2EFKH.js").then(e=>e.isobmffFormat),wav:()=>import("./wav-HSCUCY4U.js").then(e=>e.wavFormat),mxf:()=>import("./mxf-CQSI6H5T.js").then(e=>e.mxfFormat),r3d:()=>import("./r3d-FX7V4BIE.js").then(e=>e.r3dFormat),still:()=>import("./still-WUCFH2WX.js").then(e=>e.stillFormat),avc1:()=>import("./h264-B2TLLEMI.js").then(e=>e.h264Format),avc3:()=>import("./h264-B2TLLEMI.js").then(e=>e.h264Format),h264:()=>import("./h264-B2TLLEMI.js").then(e=>e.h264Format),hvc1:()=>import("./h264-B2TLLEMI.js").then(e=>e.h264Format),hev1:()=>import("./h264-B2TLLEMI.js").then(e=>e.h264Format),hevc:()=>import("./h264-B2TLLEMI.js").then(e=>e.h264Format),h264_mxf:()=>import("./h264-mxf-3GED5PBT.js").then(e=>e.h264MxfFormat),mcvideo:()=>import("./mc-video-ARKIHPA7.js").then(e=>e.mcVideoFormat)};async function c(e){let t=u[e];return t?await t():null}async function f(e){let t=await c(e.format);if(!t)throw new Error(`extract: no handler for format '${e.format}'`);return t.extract(e)}async function b(e,t){let r=await c(e.format);if(!r){if(t.verb==="inspect")return null;throw new Error(`mediaOp: no handler for format '${e.format}' (verb ${t.verb})`)}switch(t.verb){case"inspect":{let n=await r.inspect(e);return n&&(n.source_facts_origin="probed"),n}case"sparsify":return r.sparsify(e,t.selection);case"trim":return r.trim(e,t.selection);case"decode":{let{output:n,detail:o}=s[t.intent];if(n==="rgb16"){if(!r.decode16)throw new Error(`mediaOp: format '${e.format}' has no 16-bit decoder (intent '${t.intent}')`);return r.decode16(e,t.index)}if(!r.decode)throw new Error(`mediaOp: format '${e.format}' has no decoder (no viewer)`);return r.decode(e,t.index,{detail:o})}}}export{s as a,p as b,a as c,d,i as e,l as f,c as g,f as h,b as i};
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
3
+ import{G as p,S as d}from"./chunk-C2ESM27Z.js";var m={prproj:"prproj","resolve-drt":"drt",aaf:"aaf",avb:"avb",otio:"otio",capcut:"capcut","flame-archive":"flame","resolve-fcpxml":"fcpxml","finalcut-fcpxml":"fcpxml","fcp-xml":"xmeml","premiere-xml":"xmeml","resolve-xml":"xmeml","baselight-blscene":"blscene"};function v(e){return e in m}var u=null;function c(){return u||(u=y()),u}async function y(){let e=await import("./timeline_core-ZKQQHUA2.js"),r=(await import("./timeline_core_bg-JW42YM3G.js")).default;return await e.default({module_or_path:r}),e}async function k(e,r){let o=m[r];if(!o)throw new Error(`timelineInspect: no Rust engine for format '${r}'`);let n=await c(),s=e.name.replace(/\.[^.]+$/,""),t=(b,...w)=>n[b](...w),i;switch(o){case"prproj":i=t("inspect_prproj_json",await a(e));break;case"aaf":i=t("inspect_aaf_json",await a(e));break;case"avb":i=t("inspect_avb_json",await a(e));break;case"flame":i=t("inspect_flame_json",await a(e),s);break;case"drt":i=t("inspect_drt_json",await x(e));break;case"otio":i=t("inspect_otio_json",await e.text(),s);break;case"capcut":i=t("inspect_capcut_json",await e.text(),s);break;case"fcpxml":i=t("inspect_fcpxml_json",await e.text(),s);break;case"xmeml":i=t("inspect_xmeml_json",await e.text(),s);break;case"blscene":i=t("inspect_blscene_json",await a(e),s);break}return R(i)}var f=12*1024*1024,g=!1;function S(e){g=e}var _=null,h=8e3;async function I(){!_||g||await Promise.race([_,new Promise(e=>setTimeout(e,h))])}function l(e,r,o){if(g||e.length<=f)return e;let n=(e.length/1048576).toFixed(0),s=o?.length??0;throw s===1?new Error(`This ${r.toUpperCase()} timeline extracts to ${n} MB, past what our conversion server can hold in one pass (the ceiling is ours, not your file \u2014 a single long timeline can exceed it on its own). Get in touch and we will convert it for you while we lift the limit.`):new Error(`This ${r.toUpperCase()} selection${s?` (${s} sequences)`:""} extracts to ${n} MB, past what our conversion server can hold in one pass. Convert a few sequences at a time \u2014 one long timeline is usually about ${(f/1048576).toFixed(0)} MB. If a single timeline still will not go through, get in touch and we will convert it for you.`)}async function j(e,r,o){let n=m[r];if(!n)throw new Error(`timelineExtract: no Rust engine for format '${r}'`);switch(await I(),n){case"otio":case"capcut":case"fcpxml":case"xmeml":return{fmt:n,extract:await e.text()};case"blscene":{let t=(await c()).extract_blscene_json(await a(e));return{fmt:n,extract:l(t,n,o)}}case"drt":{let t=(await c()).extract_drt_json(await x(e));return{fmt:n,extract:l(t,n,o)}}case"prproj":{let s=await c(),t=JSON.stringify(o??[]),i=s.extract_prproj_json(await a(e),t);return{fmt:n,extract:l(i,n,o)}}case"avb":{let s=await c(),t=JSON.stringify(o??[]),i=s.extract_avb_json(await a(e),t);return{fmt:n,extract:l(i,n,o)}}case"aaf":case"flame":{let t=(await c())[`extract_${n}_json`](await a(e));return{fmt:n,extract:l(t,n,o)}}}}async function a(e){return new Uint8Array(await e.arrayBuffer())}async function x(e){let r=d(await a(e)),o={};for(let[n,s]of Object.entries(r))n.toLowerCase().endsWith(".xml")&&(o[n]=p(s));return JSON.stringify(o)}function R(e){let r=JSON.parse(e),o=Array.isArray(r)?r:r?.timelines??r?.sequences??[],n=o.filter(t=>typeof t=="object"&&t!==null),s=o.map(t=>{if(typeof t=="string")return t;let i=t;return i?.name??i?.title??i?.id??""}).filter(t=>!!t);return{names:Array.from(new Set(s)),timelines:n}}async function A(e){let r=await c();return JSON.parse(r.drx_grade_tree(e))}var T={reelName:!1,fileName:!0,fileNameMode:"loose",fileExtensions:"",totalDuration:!1,resolution:!1,bitDepth:!1,fileFormat:!1,codec:!1,mediaUmid:!1};var U="X-Write-Issues";var F=8*1024;function N(e){if(!e)return[];try{let r=JSON.parse(decodeURIComponent(e));return Array.isArray(r)?r:[]}catch{return[]}}export{T as a,v as b,k as c,S as d,j as e,A as f,U as g,N as h};