c4spar / deno-fast-forward Goto Github PK
View Code? Open in Web Editor NEWAn easy to use ffmpeg module for Deno. ๐ฆ
License: MIT License
An easy to use ffmpeg module for Deno. ๐ฆ
License: MIT License
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 () => {
await ffmpeg("<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
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.