# Remotion Rule: Transparent Videos > Remotion skill rule: Rendering transparent videos in Remotion. Part of the official Remotion Agent Skill for programmatic video in React. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use ```bash npx skills add remotion-dev/skills ``` This rule activates automatically when working with transparent videos in a Remotion project. --- ## Intro Rendering transparent videos in Remotion. Part of the [Remotion AI Skill](https://tokrepo.com/en/workflows/57997ead-c8fa-409c-916f-28bbc0adc8d9) — the official Agent Skill for programmatic video creation in React. **Best for**: Developers using Remotion for transparent videos **Works with**: Claude Code, OpenAI Codex, Cursor --- ## Rule Content # Rendering Transparent Videos Remotion can render transparent videos in two ways: as a ProRes video or as a WebM video. ## Transparent ProRes Ideal for when importing into video editing software. **CLI:** ```bash npx remotion render --image-format=png --pixel-format=yuva444p10le --codec=prores --prores-profile=4444 MyComp out.mov ``` **Default in Studio** (restart Studio after changing): ```ts // remotion.config.ts import { Config } from "@remotion/cli/config"; Config.setVideoImageFormat("png"); Config.setPixelFormat("yuva444p10le"); Config.setCodec("prores"); Config.setProResProfile("4444"); ``` **Setting it as the default export settings for a composition** (using `calculateMetadata`): ```tsx import { CalculateMetadataFunction } from "remotion"; const calculateMetadata: CalculateMetadataFunction = async ({ props, }) => { return { defaultCodec: "prores", defaultVideoImageFormat: "png", defaultPixelFormat: "yuva444p10le", defaultProResProfile: "4444", }; }; ; ``` ## Transparent WebM (VP9) Ideal for when playing in a browser. **CLI:** ```bash npx remotion render --image-format=png --pixel-format=yuva420p --codec=vp9 MyComp out.webm ``` **Default in Studio** (restart Studio after changing): ```ts // remotion.config.ts import { Config } from "@remotion/cli/config"; Config.setVideoImageFormat("png"); Config.setPixelFormat("yuva420p"); Config.setCodec("vp9"); ``` **Setting it as the default export settings for a composition** (using `calculateMetadata`): ```tsx import { CalculateMetadataFunction } from "remotion"; const calculateMetadata: CalculateMetadataFunction = async ({ props, }) => { return { defaultCodec: "vp8", defaultVideoImageFormat: "png", defaultPixelFormat: "yuva420p", }; }; ; ``` --- ## Source & Thanks > Created by [Remotion](https://github.com/remotion-dev). Licensed under MIT. > [remotion-dev/skills](https://github.com/remotion-dev/skills) — Rule: `transparent-videos` Part of the [Remotion AI Skill](https://tokrepo.com/en/workflows/57997ead-c8fa-409c-916f-28bbc0adc8d9) collection on TokRepo. --- Source: https://tokrepo.com/en/workflows/7eef8da9-746e-4941-b3cc-f5f2110d59e2 Author: TokRepo Curated