conformtools 0.6.17 → 0.6.19
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/README.md +3 -2
- package/dist/account-KSE6H6DJ.js +3 -0
- package/dist/{agent-hook-setup-HBT2LTVR.js → agent-hook-setup-SHZOVJYL.js} +1 -1
- package/dist/{analysis-engine-BZUEBW55.js → analysis-engine-KUGSWNQB.js} +1 -1
- package/dist/{bridge-DRC6BQFR.js → bridge-REYIYXUU.js} +1 -1
- package/dist/browser/timeline_core_bg.wasm +0 -0
- package/dist/{chunk-MTAXVOHK.js → chunk-2DEUYEQD.js} +1 -1
- package/dist/{chunk-STGGRRYM.js → chunk-2GRXBIJB.js} +1 -1
- package/dist/{chunk-GRJLKGBG.js → chunk-3DYCTUSQ.js} +1 -1
- package/dist/{chunk-M5CEBOLK.js → chunk-3J2FARFO.js} +1 -1
- package/dist/chunk-4KMSOMLG.js +524 -0
- package/dist/chunk-4PV2UTKG.js +10 -0
- package/dist/{chunk-RITYQNOO.js → chunk-567IWIX6.js} +1 -1
- package/dist/{chunk-73RFYAVG.js → chunk-ATEWMIY5.js} +1 -1
- package/dist/{chunk-TWHNQFKI.js → chunk-BD54PRSN.js} +1 -1
- package/dist/{chunk-NN444GPH.js → chunk-BZQAUU3D.js} +1 -1
- package/dist/chunk-COALWMI7.js +4 -0
- package/dist/{chunk-JT3HI632.js → chunk-CUZVK2JJ.js} +1 -1
- package/dist/{chunk-MVQ5RGZB.js → chunk-EWW5KWAO.js} +1 -1
- package/dist/{chunk-CRMGV32N.js → chunk-GTN62ZQV.js} +1 -1
- package/dist/{chunk-S5AOIOTT.js → chunk-HKHEL4MZ.js} +1 -1
- package/dist/chunk-HZG55H3B.js +3 -0
- package/dist/{chunk-QNF4NMIW.js → chunk-L2RTMZCN.js} +1 -1
- package/dist/{chunk-UBWUED67.js → chunk-LUKA7UUJ.js} +1 -1
- package/dist/chunk-MJKISVPS.js +7 -0
- package/dist/{chunk-IG2X534U.js → chunk-ND2YUUUH.js} +1 -1
- package/dist/{chunk-2VH2Z6RD.js → chunk-NHVH373D.js} +1 -1
- package/dist/chunk-NQD6H7SY.js +7 -0
- package/dist/chunk-PY6HS3EP.js +10 -0
- package/dist/{chunk-YGAAGTLE.js → chunk-TD3ZHREE.js} +1 -1
- package/dist/chunk-UWEM5YEM.js +161 -0
- package/dist/{chunk-R2WEXCVQ.js → chunk-WM7ESQLY.js} +1 -1
- package/dist/{chunk-2SDAOYP5.js → chunk-WNDA7QSY.js} +1 -1
- package/dist/{chunk-S2WAFMRV.js → chunk-XQON6ASI.js} +1 -1
- package/dist/chunk-Y7PFSVRX.js +3 -0
- package/dist/{claude-setup-W27DLJIO.js → claude-setup-ZOEQ5NXE.js} +1 -1
- package/dist/cli.js +2 -2
- package/dist/{cr3-wasm-VUEEZYKQ.js → cr3-wasm-DIWL7CPH.js} +1 -1
- package/dist/demo-engine-ZX24TAXA.js +3 -0
- package/dist/{dng-wasm-5RQBGYAK.js → dng-wasm-PE463PG2.js} +1 -1
- package/dist/{dpx-wasm-OQVTNGOB.js → dpx-wasm-DKE3LJ6Z.js} +1 -1
- package/dist/engine-K6QYU5KJ.js +5 -0
- package/dist/{exr-wasm-72YZFOME.js → exr-wasm-HAFH3YA5.js} +1 -1
- package/dist/framing-B6LP7MS2.js +3 -0
- package/dist/gfx-worker.js +1 -1
- package/dist/{h264-QCYEI6RF.js → h264-YX5KP63E.js} +1 -1
- package/dist/{h264-mxf-2BYKXDGT.js → h264-mxf-VAHIJCA7.js} +1 -1
- package/dist/hook.js +3 -2
- package/dist/host-relink-VYEOE3NE.js +10 -0
- package/dist/hosted-NLYSTYYN.js +3 -0
- package/dist/hosts-47EW33NY.js +3 -0
- package/dist/http.js +4 -3
- package/dist/{inspect-R4RWCK3X.js → inspect-QRHOFMC2.js} +18 -18
- package/dist/{isobmff-RH4JKUUB.js → isobmff-RHP3N5K2.js} +1 -1
- package/dist/{mc-video-MMKWEKFZ.js → mc-video-CHBOYPI5.js} +1 -1
- package/dist/mcp.js +8 -8
- package/dist/media-TPGEESEU.js +3 -0
- package/dist/{media_core_bg-FDL7GJZP.js → media_core_bg-ZMRCKALR.js} +1 -1
- package/dist/{mxf-7HFFEBNW.js → mxf-R2ONKSYU.js} +1 -1
- package/dist/{ops-EM345H7F.js → ops-MKDFWWPG.js} +1 -1
- package/dist/{probe-YDOFGCGD.js → probe-CHT266NN.js} +1 -1
- package/dist/{r3d-DDOTSYZH.js → r3d-EKISZSKU.js} +1 -1
- package/dist/{r3d-G34YLXXA.js → r3d-F4OWLQE2.js} +1 -1
- package/dist/resolve-bridge.py +173 -27
- package/dist/{sequence-patch-2S7IPE52.js → sequence-patch-6FSMBG7O.js} +1 -1
- package/dist/{still-AGBF3OOY.js → still-IDLCMQRD.js} +1 -1
- package/dist/{still-wasm-6YLI6NQQ.js → still-wasm-54HEDTRX.js} +1 -1
- package/dist/{store-LWUDJD76.js → store-CFQHKBGL.js} +1 -1
- package/dist/{tiff-wasm-6APT7FYP.js → tiff-wasm-O7XUGXIO.js} +1 -1
- package/dist/timeline-MZ6A3PQX.js +3 -0
- package/dist/timeline_core-6BRZG4LP.js +3 -0
- package/dist/{wav-CV43ZAJI.js → wav-OLA3QYFJ.js} +1 -1
- package/package.json +5 -5
- package/dist/account-VXAKXGY6.js +0 -3
- package/dist/chunk-CZ6OZKR6.js +0 -516
- package/dist/chunk-GTPTZRO6.js +0 -3
- package/dist/chunk-JTRM2JCE.js +0 -7
- package/dist/chunk-LVGGCRDW.js +0 -3
- package/dist/chunk-P4PCSGEH.js +0 -10
- package/dist/chunk-ROGMKTND.js +0 -4
- package/dist/chunk-T7S2UBNN.js +0 -7
- package/dist/chunk-VCBLWNQR.js +0 -160
- package/dist/chunk-WKNX742H.js +0 -10
- package/dist/demo-engine-5TCNOTTH.js +0 -3
- package/dist/engine-4X6TDWWA.js +0 -5
- package/dist/framing-HGW5RCUA.js +0 -3
- package/dist/host-relink-37DCSN47.js +0 -10
- package/dist/hosted-M2OZSONX.js +0 -3
- package/dist/hosts-IAJTORJD.js +0 -3
- package/dist/media-6MB7EKA7.js +0 -3
- package/dist/timeline-EZ6WUHCB.js +0 -3
- package/dist/timeline_core-ZKQQHUA2.js +0 -3
- /package/dist/{arriraw-GZ63YMLZ.js → arriraw-PS6V532Y.js} +0 -0
- /package/dist/{chunk-D6YDLKSA.js → chunk-LMRPCWHV.js} +0 -0
- /package/dist/{media_core_bg-XRBVKQZH.js → media_core_bg-57CDWER6.js} +0 -0
- /package/dist/{prores-RIG37OIH.js → prores-CFX64NME.js} +0 -0
- /package/dist/{timeline_core_bg-JW42YM3G.js → timeline_core_bg-5COJCLPG.js} +0 -0
- /package/dist/{udf_bg-B37GKRIH.js → udf_bg-HOHEKAVF.js} +0 -0
|
@@ -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{$b as k,Rb as a,Sb as b,Tb as c,Ub as d,Vb as e,Wb as f,Xb as g,Yb as h,Zb as i,_b as j,ac as l,bc as m,cc as n,dc as o,ec as p,fc as q,gc as r,hc as s,ic as t}from"./chunk-UWEM5YEM.js";import"./chunk-IN6XVTUS.js";import"./chunk-4PV2UTKG.js";import"./chunk-3PVQ5QP4.js";import"./chunk-VFXMP7IF.js";import"./chunk-BD54PRSN.js";import"./chunk-LUKA7UUJ.js";import"./chunk-ATEWMIY5.js";import"./chunk-2GRXBIJB.js";import"./chunk-EWW5KWAO.js";import"./chunk-567IWIX6.js";import"./chunk-OSUIS4JU.js";import"./chunk-JV7TZDKJ.js";import"./chunk-BBCQMZQN.js";import"./chunk-2DEUYEQD.js";import"./chunk-TD3ZHREE.js";import"./chunk-ND2YUUUH.js";import"./chunk-NQD6H7SY.js";import"./chunk-3J2FARFO.js";import"./chunk-Y7PFSVRX.js";import"./chunk-C2ESM27Z.js";import"./chunk-N34DQ6MH.js";import"./chunk-NU3X7P4N.js";import"./chunk-L2RTMZCN.js";import"./chunk-GTN62ZQV.js";import"./chunk-MJKISVPS.js";import"./chunk-BZQAUU3D.js";import"./chunk-COALWMI7.js";import"./chunk-HZG55H3B.js";import"./chunk-PSANHDZM.js";export{j as OPERATION_KINDS,a as READ_FORMATS,k as applyOperation,m as applyOperationWithSources,s as consolidate,b as detectFormat,d as detectTimelineFormat,t as judge,r as linkText,g as listClips,i as listFlags,h as listMedia,e as readTimeline,n as resolveTarget,q as routesText,c as sniffFormat,f as summarize,l as trackIndex,p as writeDestination,o as writeTimeline};
|
|
@@ -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"./chunk-PSANHDZM.js";function O(e,_){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.capability_issues_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function S(e){let _=g(e,n.__wbindgen_malloc),o=l,t=n.deobfuscate_ptx(_,o);if(t[3])throw b(t[2]);var r=A(t[0],t[1]).slice();return n.__wbindgen_free(t[0],t[1]*1,1),r}function I(e){let _,o;try{let t=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),r=l,i=n.drt_project_colour(t,r);return _=i[0],o=i[1],d(i[0],i[1])}finally{n.__wbindgen_free(_,o,1)}}function U(e){let _,o;try{let t=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),r=l,i=n.drx_grade_tree(t,r);return _=i[0],o=i[1],d(i[0],i[1])}finally{n.__wbindgen_free(_,o,1)}}function D(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_aaf_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function F(e,_){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.extract_avb_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function B(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_blscene_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function L(e){let _,o;try{let i=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),s=l,c=n.extract_drt_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function k(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_flame_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function C(e,_){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.extract_prproj_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function q(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.extract_ptx_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function z(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.inspect_aaf_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function P(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.inspect_avb_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function N(e,_){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_blscene_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function V(e,_){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_capcut_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function X(e){let _,o;try{let i=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),s=l,c=n.inspect_drt_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function Y(e,_){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_fcpxml_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function G(e,_){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_flame_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function H(e,_){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_otio_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function J(e){let _,o;try{let i=g(e,n.__wbindgen_malloc),s=l,c=n.inspect_prproj_json(i,s);var t=c[0],r=c[1];if(c[3])throw t=0,r=0,b(c[2]);return _=t,o=r,d(t,r)}finally{n.__wbindgen_free(_,o,1)}}function K(e,_){let o,t;try{let s=g(e,n.__wbindgen_malloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_ptx_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function Q(e,_){let o,t;try{let s=u(e,n.__wbindgen_malloc,n.__wbindgen_realloc),c=l,f=u(_,n.__wbindgen_malloc,n.__wbindgen_realloc),w=l,a=n.inspect_xmeml_json(s,c,f,w);var r=a[0],i=a[1];if(a[3])throw r=0,i=0,b(a[2]);return o=r,t=i,d(r,i)}finally{n.__wbindgen_free(o,t,1)}}function v(){return{__proto__:null,"./timeline_core_bg.js":{__proto__:null,__wbg_Error_fdd633d4bb5dd76a:function(_,o){return Error(d(_,o))},__wbindgen_cast_0000000000000001:function(_,o){return d(_,o)},__wbindgen_init_externref_table:function(){let _=n.__wbindgen_externrefs,o=_.grow(4);_.set(0,void 0),_.set(o+0,void 0),_.set(o+1,null),_.set(o+2,!0),_.set(o+3,!1)}}}}function A(e,_){return e=e>>>0,p().subarray(e/1,e/1+_)}function d(e,_){return T(e>>>0,_)}var y=null;function p(){return(y===null||y.byteLength===0)&&(y=new Uint8Array(n.memory.buffer)),y}function g(e,_){let o=_(e.length*1,1)>>>0;return p().set(e,o/1),l=e.length,o}function u(e,_,o){if(o===void 0){let c=x.encode(e),f=_(c.length,1)>>>0;return p().subarray(f,f+c.length).set(c),l=c.length,f}let t=e.length,r=_(t,1)>>>0,i=p(),s=0;for(;s<t;s++){let c=e.charCodeAt(s);if(c>127)break;i[r+s]=c}if(s!==t){s!==0&&(e=e.slice(s)),r=o(r,t,t=s+e.length*3,1)>>>0;let c=p().subarray(r+s,r+t),f=x.encodeInto(e,c);s+=f.written,r=o(r,t,s,1)>>>0}return l=s,r}function b(e){let _=n.__wbindgen_externrefs.get(e);return n.__externref_table_dealloc(e),_}var m=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0});m.decode();var W=2146435072,j=0;function T(e,_){return j+=_,j>=W&&(m=new TextDecoder("utf-8",{ignoreBOM:!0,fatal:!0}),m.decode(),j=_),m.decode(p().subarray(e,e+_))}var x=new TextEncoder;"encodeInto"in x||(x.encodeInto=function(e,_){let o=x.encode(e);return _.set(o),{read:e.length,written:o.length}});var l=0,R,E,n;function h(e,_){return E=e,n=e.exports,R=_,y=null,n.__wbindgen_start(),n}async function M(e,_){if(typeof Response=="function"&&e instanceof Response){if(typeof WebAssembly.instantiateStreaming=="function")try{return await WebAssembly.instantiateStreaming(e,_)}catch(r){if(e.ok&&o(e.type)&&e.headers.get("Content-Type")!=="application/wasm")console.warn("`WebAssembly.instantiateStreaming` failed because your server does not serve Wasm with `application/wasm` MIME type. Falling back to `WebAssembly.instantiate` which is slower. Original error:\n",r);else throw r}let t=await e.arrayBuffer();return await WebAssembly.instantiate(t,_)}else{let t=await WebAssembly.instantiate(e,_);return t instanceof WebAssembly.Instance?{instance:t,module:e}:t}function o(t){switch(t){case"basic":case"cors":case"default":return!0}return!1}}function Z(e){if(n!==void 0)return n;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module:e}=e:console.warn("using deprecated parameters for `initSync()`; pass a single object instead"));let _=v();e instanceof WebAssembly.Module||(e=new WebAssembly.Module(e));let o=new WebAssembly.Instance(e,_);return h(o,e)}async function $(e){if(n!==void 0)return n;e!==void 0&&(Object.getPrototypeOf(e)===Object.prototype?{module_or_path:e}=e:console.warn("using deprecated parameters for the initialization function; pass a single object instead")),e===void 0&&(e=new URL("timeline_core_bg.wasm",import.meta.url));let _=v();(typeof e=="string"||typeof Request=="function"&&e instanceof Request||typeof URL=="function"&&e instanceof URL)&&(e=fetch(e));let{instance:o,module:t}=await M(await e,_);return h(o,t)}export{O as capability_issues_json,$ as default,S as deobfuscate_ptx,I as drt_project_colour,U as drx_grade_tree,D as extract_aaf_json,F as extract_avb_json,B as extract_blscene_json,L as extract_drt_json,k as extract_flame_json,C as extract_prproj_json,q as extract_ptx_json,Z as initSync,z as inspect_aaf_json,P as inspect_avb_json,N as inspect_blscene_json,V as inspect_capcut_json,X as inspect_drt_json,Y as inspect_fcpxml_json,G as inspect_flame_json,H as inspect_otio_json,J as inspect_prproj_json,K as inspect_ptx_json,Q as inspect_xmeml_json};
|
|
@@ -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
|
-
import{a as b}from"./chunk-AACY2V3L.js";import{Ha as u,ba as _,la as f,sa as d,va as g}from"./chunk-
|
|
3
|
+
import{a as b}from"./chunk-AACY2V3L.js";import{Ha as u,ba as _,la as f,sa as d,va as g}from"./chunk-L2RTMZCN.js";import"./chunk-PSANHDZM.js";function p(s){return(r,t)=>s.read(r,t)}function S(s){let r=[];for(let t of s)t.kind!=="clip"||!t.source_range||r.push({start_frame:t.source_range.start.value,dur_frames:t.source_range.duration.value,fps:t.source_range.start.rate??1});return r}var w={async inspect(s){await u();let r=s.parts[0],t=await _(p(r),r.fileSize),e=JSON.parse(t);if(!e||!e.sample_rate)return null;let a=e.byte_rate>0?e.data_length/e.byte_rate:null,m=a?Math.round(a*e.sample_rate):0,n=[{kind:"audio",codec:"pcm",rate:e.sample_rate,channels:e.channels,bit_depth:e.bits_per_sample,codec_specific:{bits_per_sample:e.bits_per_sample}}];return{id:r.filename,kind:"external",content_kind:"audio",target_url:r.filename,available_range:a?{start:{value:0,rate:e.sample_rate},duration:{value:m,rate:e.sample_rate}}:null,reel_name:null,source_timecode:e.source_timecode??null,container:"wav",codec:"pcm",size_bytes:r.fileSize,bitrate_bps:e.byte_rate*8,streams:n,vendor_metadata:e.bext?{bext:e.bext}:{},binding_state:"unbound",raw_extraction:{wav_meta:e},metadata:{}}},async extract(s){await u();let r=s.parts[0],t=JSON.parse(await f(p(r),r.fileSize));return t.length===0?null:{v:1,container:"wav",codec:"pcm",frame_count:b(t),granularity:"second",segments:t}},async sparsify(s,r){await u();let t=s.parts[0],e=await g(p(t),t.fileSize,JSON.stringify(S(r.items)),r.handles),a=JSON.parse(e);return[{filename:t.filename,fileSize:a.fileSize,structuralRanges:a.structuralRanges,essenceRanges:a.essenceRanges,trimInputs:a.trimInputs}]},async trim(s,r){await u();let t=s.parts[0],e=[];for(let n of r.items){if(n.kind!=="clip"||!n.source_range)continue;let i=n.source_range.start.rate??1,o=Math.max(0,(n.source_range.start.value-r.handles)/i),c=(n.source_range.start.value+n.source_range.duration.value+r.handles)/i;c>o&&e.push([o,c])}if(e.length===0)throw new Error("wav trim: no usable trim ranges in items");e.sort((n,i)=>n[0]-i[0]);let a=[];for(let[n,i]of e){let o=a[a.length-1];o&&n<=o[1]?o[1]=Math.max(o[1],i):a.push([n,i])}let m=[];for(let[n,[i,o]]of a.entries()){let c=await d(p(t),t.fileSize,i,o,1),l=JSON.parse(c);a.length>1&&(l.output_clip_number=n+1,l.output_clip_count=a.length,l.output_part_number=1),m.push(l)}return m}};export{w as wavFormat};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "conformtools",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.19",
|
|
4
4
|
"description": "conform.tools on your machine: timeline exchange, relink, media trim, delivery and auto conform, as MCP tools for Claude and other AI apps, a CLI and a local HTTP API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"access": "public"
|
|
45
45
|
},
|
|
46
46
|
"optionalDependencies": {
|
|
47
|
-
"conformtools-darwin-arm64": "0.6.
|
|
48
|
-
"conformtools-darwin-x64": "0.6.
|
|
49
|
-
"conformtools-linux-x64": "0.6.
|
|
50
|
-
"conformtools-windows-x64": "0.6.
|
|
47
|
+
"conformtools-darwin-arm64": "0.6.19",
|
|
48
|
+
"conformtools-darwin-x64": "0.6.19",
|
|
49
|
+
"conformtools-linux-x64": "0.6.19",
|
|
50
|
+
"conformtools-windows-x64": "0.6.19"
|
|
51
51
|
}
|
|
52
52
|
}
|
package/dist/account-VXAKXGY6.js
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import { createRequire as __conformRequire } from 'node:module'; const require = __conformRequire(import.meta.url);
|
|
3
|
-
import{a,b,c,d,e,f,g,h,i,j,k,l,m,n,o}from"./chunk-JTRM2JCE.js";import"./chunk-NN444GPH.js";import"./chunk-ROGMKTND.js";import"./chunk-GTPTZRO6.js";import"./chunk-PSANHDZM.js";export{c as NET_TIMEOUT_MS,d as _forgetOffline,e as accessToken,f as accountStatus,a as config,h as includesOf,b as legacyKvStorePath,n as login,o as logout,l as requireApp,j as requireEntitled,k as requireMcp,m as requireStudioTool,i as setAccountGate,g as statusText};
|