File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -46,18 +46,18 @@ export async function addFlaggerAudio(show: Show): Promise<Buffer> {
4646 console . log ( 'Creating ffmpeg instance' ) ;
4747 await downloadFile (
4848 'https://cdn.jsdelivr.net/npm/@ffmpeg.wasm/core-mt@0.13.2/dist/core.wasm' ,
49- '. /core.wasm'
49+ '/tmp /core.wasm'
5050 ) ;
5151 await downloadFile (
5252 'https://cdn.jsdelivr.net/npm/@ffmpeg.wasm/core-mt@0.13.2/dist/core.worker.js' ,
53- '. /core.worker.cjs'
53+ '/tmp /core.worker.cjs'
5454 ) ;
5555 const ffmpeg = await FFmpeg . create ( {
5656 log : true ,
5757 core : core ,
5858 coreOptions : {
59- wasmPath : '. /core.wasm' ,
60- workerPath : '. /core.worker.cjs'
59+ wasmPath : '/tmp /core.wasm' ,
60+ workerPath : '/tmp /core.worker.cjs'
6161 } ,
6262 logger : ( type , ...message ) => {
6363 logProgress ( message . join ( ' ' ) ) ;
You can’t perform that action at this time.
0 commit comments