PageSourceSearch

https://tasova.gen.tr/assets/videoProcess-CrgFLS_O.js

js tasova.gen.tr collected 2026-09-29 12:36:17 UTC 1,754 bytes, 1 lines download raw bytes

1import{am as m}from"./index-CiNRwlWe.js";import"./vendor-query-6hJe-_u2.js";import"./vendor-react-C0FiJME3.js";let c=null;async function l(){return c||(c=(async()=>{const{FFmpeg:e}=await m(async()=>{const{FFmpeg:a}=await import("./index-BWXEABTF.js");return{FFmpeg:a}},[]),{toBlobURL:i}=await m(async()=>{const{toBlobURL:a}=await import("./index-BWY37mam.js");return{toBlobURL:a}},[]),t=new e;t.on("log",({message:a})=>{console.log("[ffmpeg]",a)});const s="https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected]/dist/umd",o=await i("https://cdn.jsdelivr.net/npm/@ffmpeg/[email protected]/dist/umd/814.ffmpeg.js","text/javascript").catch(()=>{});return await t.load({coreURL:await i(`${s}/ffmpeg-core.js`,"text/javascript"),wasmURL:await i(`${s}/ffmpeg-core.wasm`,"application/wasm"),...o?{classWorkerURL:o}:{}}),t})().catch(e=>{throw c=null,console.error("[ffmpeg] load failed",e),e})),c}async function _(e,i){const t=await l(),{fetchFile:s}=await m(async()=>{const{fetchFile:n}=await import("./index-BWY37mam.js");return{fetchFile:n}},[]),o=n=>{i&&i(Math.max(0,Math.min(.99,n.progress)))};t.on("progress",o);const a=e.name.replace(/[^a-z0-9.]/gi,"_")||"input",r=`in_${Date.now()}_${a}`,p=`out_${Date.now()}.mp4`;try{await t.writeFile(r,await s(e)),await t.exec(["-i",r,"-vf","scale='if(gt(iw,ih),min(1280,iw),-2)':'if(gt(iw,ih),-2,min(1280,ih))'","-c:v","libx264","-preset","veryfast","-crf","28","-pix_fmt","yuv420p","-c:a","aac","-b:a","96k","-movflags","+faststart","-y",p]);const n=await t.readFile(p),f=new Blob([n],{type:"video/mp4"});return{blob:f,ext:"mp4",contentType:"video/mp4",originalSize:e.size,compressedSize:f.size}}finally{t.off("progress",o),await t.deleteFile(r).catch(()=>{}),await t.deleteFile(p).catch(()=>{})}}export{_ as compressVideo};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.