मुख्य सामग्री पर जाएँ
Skillpedia
वेबसाइट और UI (frontend)70k · #3150

remotion-markup

यह क्या करती है

यह स्किल Remotion में React कोड लिखने के लिए मार्गदर्शन देती है। Remotion कोड से वीडियो बनाने का एक टूल है। यह उन डेवलपर्स के लिए है जो एनिमेटेड वीडियो बनाते हैं और चाहते हैं कि कोड सही रेंडर हो।

कब इस्तेमाल करें

  • ✓जब आप एजेंट से Remotion वीडियो में एनिमेटेड शीर्षक या दृश्य बनाने को कहते हैं।
  • ✓जब CSS transitions या animations से बनी गति रेंडर किए गए वीडियो में नहीं दिखती।
  • ✓जब आप चाहते हैं कि Remotion कॉम्पोनेंट समय के साथ फ़ेड, स्लाइड या स्केल हो।

Skill का लिंक

https://github.com/remotion-dev/remotion/blob/main/packages/codex-plugin/skills/remotion-markup/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/remotion-dev/remotion/blob/main/packages/codex-plugin/skills/remotion-markup/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरे Remotion वीडियो का शीर्षक पहले दो सेकंड में फ़ेड-इन होकर ऊपर स्लाइड करे।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल एजेंट से कहती है कि गति को वर्तमान frame नंबर और interpolation से चलाए, जो Remotion वीडियो के लिए ज़रूरी तरीका है। यह अपनाने योग्य कोड पैटर्न भी दिखाती है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

This is guidance for writing Remotion React Markup. If this is not relevant, load Remotion Best Practices instead.

Preserve user changes

Users may make edits in the code outside of the conversation.

If you detect a surprising change made in the meanwhile, don't overwrite it, assume it was intentional or ask for confirmation.

General rules

Drive animations using useCurrentFrame() and interpolate().
CSS transition or animation will not render correctly, they need to refactored.
Tailwind animation class will not render correctly, they need to be refactored.

Use Easing.bezier() and Easing.spring() to customize timing.

Structure your markup according to Remotion Interactivity Best Practices

import { useCurrentFrame, Easing, interpolate, Interactive } from "remotion";

export const FadeIn = () => {
  const frame = useCurrentFrame();

  return (
    <Interactive.Div
      name="Title"
      style={{
        opacity: interpolate(frame, [0, 2 * fps], [0, 1], {
          extrapolateRight: "clamp",
          extrapolateLeft: "clamp",
          easing: Easing.bezier(0.16, 1, 0.3, 1),
        }),
      }}
    >
      Hello World!
    </Interactive.Div>
  );
};

Keep the interpolate() call inline in the style prop. Use scale, translate, rotate CSS properties over transform.

// 👍 Inline editable keyframes and transform shorthands
style={{
  scale: interpolate(frame, [0, 100], [0, 1], {
    extrapolateLeft: 'clamp',
    extrapolateRight: 'clamp',
    easing: Easing.spring({damping: 200}),
    output: 'perceptual-scale' // For `scale` animations, use "output: 'perceptual-scale'"
  }),
  translate: interpolate(frame, [0, 100], ["0px 0px", "100px 100px"], {
    extrapolateLeft: 'clamp',
    extrapolateRight: 'clamp',
    easing: Easing.spring({damping: 200}),
  }),
  rotate: interpolate(frame, [0, 100], ["20deg", "90deg"], {
    extrapolateLeft: 'clamp',
    extrapolateRight: 'clamp',
    easing: Easing.spring({damping: 200}),
  }),
}}

// 👎 Non-inline values and transform strings become harder to edit in Studio
const scale = interpolate(frame, [0, 100], [0, 1]);

style={{
  transform: `scale(${scale})`,
}}

Assets

Place assets in the public/ folder at your project root. Use staticFile() to reference files from the public/ folder.

Media components

Add video and audio using <Video> and <Audio> from @remotion/media.
Add images using the <CanvasImage> component. Add animated GIFs, APNG, WebP or AVIF images using <AnimatedImage>, use @remotion/gif if not using Chrome. Use staticFile() for files in public/ or pass a remote URL directly:

import { Audio, Video } from "@remotion/media";
import { staticFile, CanvasImage, AnimatedImage } from "remotion";

export const MyComposition = () => {
  return (
    <>
      <Video src={staticFile("video.mp4")} style={{ opacity: 0.5 }} />
      <Audio src={staticFile("audio.mp3")} />
      <CanvasImage
        src={staticFile("logo.png")}
        style={{ width: 100, height: 100 }}
      />
      <Video src="https://remotion.media/video.mp4" />
      <AnimatedImage src={staticFile('nyancat.gif')} />
    </>
  );
};

Example scene

import {
  AbsoluteFill,
  Easing,
  Interactive,
  interpolate,
  useCurrentFrame,
  useVideoConfig
} from "remotion";

export const Empty = () => {
  const {fps} = useVideoConfig();
  const frame = useCurrentFrame();

  return (
    <AbsoluteFill
      name="Scene"
      style={{
        display: 'flex',
        justifyContent: 'center',
        alignItems: 'center',
        backgroundColor: 'white'
      }}
    >
      <Interactive.Div
        name="Title"
        style={{
          opacity: interpolate(frame, [1 * fps, 2 * fps], [0, 1], {
            extrapolateRight: "clamp",
            extrapolateLeft: "clamp",
            easing: Easing.bezier(0.16, 1, 0.3, 1),
          }),
          fontSize: 88
        }}
      >
        Title
      </Interactive.Div>
      <Interactive.Div
        name="Subtitle"
        style={{
          opacity: interpolate(frame, [2 * fps, 3 * fps, 8 * fps, 10 * fps], [0, 1, 1, 0], {
            extrapolateRight: "clamp",
            extrapolateLeft: "clamp",
            easing: [Easing.bezier(0.16, 1, 0.3, 1), Easing.linear, Easing.bezier(0.16, 1, 0.3, 1)],
          }),
          fontSize: 32
        }}
      >
        Subtitle
      </Interactive.D
अक्सर पूछे जाने वाले सवाल

क्या इसे इस्तेमाल करने के लिए React जानना ज़रूरी है?

Remotion वीडियो React में लिखे जाते हैं, इसलिए थोड़ी जानकारी मदद करती है। आपका एजेंट आपके सादे अनुरोध से ज़्यादातर कोड लिख देता है।

यहाँ सामान्य CSS animations क्यों नहीं इस्तेमाल हो सकतीं?

CSS transitions और animations Remotion वीडियो में सही रेंडर नहीं होतीं। स्किल एजेंट को frame-आधारित गति की ओर ले जाती है।

क्या यह स्किल मेरे लिए वीडियो बना देती है?

यह आपके एजेंट द्वारा Remotion प्रोजेक्ट के लिए लिखे कोड का मार्गदर्शन करती है। वीडियो रेंडर करने के लिए आपका Remotion प्रोजेक्ट सेट होना ज़रूरी है।

जानकारी

लेखक का मूल विवरण

Content, animation and effects best practices

repo: remotion-dev/remotion

लोकप्रियता

GitHub स्टार
70k
रैंकिंग में स्थान
#3150
लाइसेंस
—
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

fix-root-cause

70k

यह आपके एजेंट को किसी बग को उस जगह तक ट्रेस करना सिखाती है जहाँ चीज़ें पहली बार गलत हुईं, और वहीं ठीक करना, न कि वर्कअराउंड से लक्षण छिपाना।

कोडिंगसामान्य कोडिंग

gh-stack

70k

यह आपके एजेंट को बड़े काम को जुड़ी हुई ब्रांच और pull requests की श्रृंखला में बाँटना दिखाती है, ताकि समीक्षक एक बार में बदलाव की एक छोटी परत देखें।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

issue-management

70k

यह आपके एजेंट को GitHub CLI से GitHub issues को parent, sub-issue और blocker के रूप में जोड़ने में मदद करती है, ताकि प्रोजेक्ट का काम साफ़ व्यवस्थित रहे।

प्रोडक्टिविटीटास्क और प्रोजेक्ट

no-comments

70k

यह आपके एजेंट को सिर्फ़ टीम के अपने कोड का वर्णन करने वाली कोड टिप्पणियाँ हटाने में मदद करती है, और ब्राउज़र, लाइब्रेरी या प्लेटफ़ॉर्म की खासियतों वाली टिप्पणियाँ रखती है।

कोडिंगसामान्य कोडिंग

मिलती-जुलती skills