template-next-pages-dir

所属分类:视频捕捉采集剪辑
开发工具:TypeScript
文件大小:0KB
下载次数:0
上传日期:2024-01-12 10:40:22
上 传 者sh-1993
说明:  用于编程视频应用程序的Next.js模板
(Next.js template for programmatic video apps)

文件列表:
components/
helpers/
lambda/
pages/
public/
remotion/
styles/
types/
.env.example
.eslintrc.json
config.mjs
deploy.mjs
next.config.js
package.json
remotion.config.ts
tsconfig.json
vercel.json



This is a Next.js template for building programmatic video apps, with [`@remotion/player`](https://remotion.dev/player) and [`@remotion/lambda`](https://remotion.dev/lambda) built in. This template uses the Next.js Pages directory. There is a [App directory version](https://github.com/remotion-dev/template-next-app-dir) of this template available. ## Getting Started [Use this template](https://github.com/new?template_name=template-next-pages-dir&template_owner=remotion-dev) to clone it into your GitHub account. Run ``` npm i ``` afterwards. Alternatively, use this command to scaffold a project: ``` npx create-video@latest --next-pages-dir ``` ## Commands Start the Next.js dev server: ``` npm run dev ``` Open the Remotion Studio: ``` npm run remotion ``` The following script will set up your Remotion Bundle and Lambda function on AWS: ``` node deploy.mjs ``` You should run this script after: - changing the video template - changing `config.mjs` - upgrading Remotion to a newer version ## Set up rendering on AWS Lambda This template supports rendering the videos via [Remotion Lambda](https://remotion.dev/lambda). 1. Copy the `.env.example` file to `.env` and fill in the values. Complete the [Lambda setup guide](https://www.remotion.dev/docs/lambda/setup) to get your AWS credentials. 1. Edit the `config.mjs` file to your desired Lambda settings. 1. Run `node deploy.mjs` to deploy your Lambda function and Remotion Bundle. ## Docs Get started with Remotion by reading the [fundamentals page](https://www.remotion.dev/docs/the-fundamentals). ## Help We provide help on our [Discord server](https://remotion.dev/discord). ## Issues Found an issue with Remotion? [File an issue here](https://remotion.dev/issue). ## License Note that for some entities a company license is needed. [Read the terms here](https://github.com/remotion-dev/remotion/blob/main/LICENSE.md).

近期下载者

相关文件


收藏者