You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to use this module in my own script. When trying to run the simplest of tests on my script that uses fast forward, I get the following error:
import{ffmpeg}from"https://deno.land/x/[email protected]/mod.ts"import{assert}from"https://deno.land/[email protected]/testing/asserts.ts"Deno.test("fast_forward runs",async()=>{awaitffmpeg("<path to mkv>").output("<path to mp4>").encode()assert(true,"works")})
error: Uncaught TypeError: Must be a file URL.
throw new TypeError("Must be a file URL.");
^
at fromFileUrl (https://deno.land/[email protected]/path/posix.ts:487:11)
at https://deno.land/x/[email protected]/encoding_event_stream_test.ts:21:33
The terminal process "deno 'test', '--allow-all', '--unstable', '--filter', 'fast_forward runs', '.../transcodeDir_test.ts'" terminated with exit code: 1.
I'm new to Deno, so I might be overlooking something, but nothing about my input should be causing this error, especially in a global constant in a test file. I'm using deno 1.13.2.
The text was updated successfully, but these errors were encountered:
If you import ffmpeg.ts instead of mod.ts, it works. For some reason the author of this module decided to import unit tests in mod.ts. Maybe this is an old Deno convention?
I'm currently trying to use this module in my own script. When trying to run the simplest of tests on my script that uses fast forward, I get the following error:
I'm new to Deno, so I might be overlooking something, but nothing about my input should be causing this error, especially in a global constant in a test file. I'm using
deno 1.13.2
.The text was updated successfully, but these errors were encountered: