After installing the NPM package @remotion/renderer, and importing the following in a server action:
import { getVideoMetadata, VideoMetadata } from "@remotion/renderer";
And calling getVideoMetadata:
const videoMetadata: VideoMetadata = await getVideoMetadata(video.bucketPath);
I receive the following error:
I get these errors in the client console:
These are the remotion packages already installed in the project:
It is a next.js v.14.0.4 project using the app router.
Code is running on a Apple M2 Pro MacBook, with Sonoma 14.0.
After installing the NPM package @remotion/renderer, and importing the following in a server action:
import { getVideoMetadata, VideoMetadata } from "@remotion/renderer";
And calling getVideoMetadata:
const videoMetadata: VideoMetadata = await getVideoMetadata(video.bucketPath);
I receive the following error:
I get these errors in the client console:
These are the remotion packages already installed in the project:
It is a next.js v.14.0.4 project using the app router. Code is running on a Apple M2 Pro MacBook, with Sonoma 14.0.