From 0.2.x to 0.3.x
The 0.3.0 release of Revideo moves the ffmpeg rendering process from a plugin
into the core of the library. This means that it does now require a separate
package to be loaded into the config inside vite.confit.ts. If you want to
upgrade an existing project you need to do the following:
On 0.2.x versions, your vite.config.ts might look like this:
import {defineConfig} from 'vite';
import motionCanvas from '@revideo/vite-plugin';
import ffmpeg from '@revideo/ffmpeg';
export default defineConfig({
plugins: [motionCanvas(), ffmpeg()],
});On 0.3.x versions, you can safely remove the ffmpeg plugin:
import {defineConfig} from 'vite';
import motionCanvas from '@revideo/vite-plugin';
export default defineConfig({
plugins: [motionCanvas()],
});If you still run into errors, feel free to either open an issue on Github, contact us on Discord or using the chat in the bottom right corner of the website.
Last updated on