{"id":10917,"date":"2026-03-05T02:43:21","date_gmt":"2026-03-04T17:43:21","guid":{"rendered":"https:\/\/code-plus.jp\/gp\/?p=10917"},"modified":"2026-06-03T23:45:05","modified_gmt":"2026-06-03T14:45:05","slug":"remotion-telop-10917","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/remotion-telop-10917\/","title":{"rendered":"Gemini\u00d7Remotion \u3067\u30c6\u30ed\u30c3\u30d7\u3092\u4f5c\u308b\u3010Telop.tsx \u306e\u5b9f\u88c5\u3068\u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\u3011"},"content":{"rendered":"<!-- title: Gemini\u00d7Remotion \u3067\u30c6\u30ed\u30c3\u30d7\u3092\u4f5c\u308b\u3010Telop.tsx \u306e\u5b9f\u88c5\u3068\u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\u3011\r\ndescription: Remotion\u3067\u30c6\u30ed\u30c3\u30d7\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08Telop.tsx\uff09\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u30fb\u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0\u30fb\u30d5\u30a7\u30fc\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u7e26\u4f4d\u7f6e\u306e\u5207\u308a\u66ff\u3048\u306a\u3069\u3001\u54c1\u8cea\u306b\u3053\u3060\u308f\u3063\u305f\u5b9f\u88c5\u3092\u7d39\u4ecb\u3002Gemini\u3068\u306econtent.ts\u9023\u643a\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u751f\u6210\u3082\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002\r\ntags: Remotion,\u30c6\u30ed\u30c3\u30d7,\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8,staticFile,\u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0,content.ts,Gemini,ProRes 4444 -->\r\n\r\n<p>\u524d\u306e\u8a18\u4e8b\u3067\u306f\u3001\u753b\u9762\u4e0b\u90e8\u306b\u8868\u793a\u3059\u308b\u30b7\u30f3\u30d7\u30eb\u306a\u5b57\u5e55\uff08Caption\uff09\u3092\u4f5c\u308a\u307e\u3057\u305f\u3002<br class=\"d-none_sp\" \/>\u3053\u306e\u8a18\u4e8b\u3067\u306f\u4e00\u6b69\u9032\u3093\u3067\u3001<b class=\"bold\">\u30c6\u30ed\u30c3\u30d7\uff08Telop\uff09<\/b>\u3092\u5b9f\u88c5\u3057\u307e\u3059\u3002<\/p>\r\n\r\n<p class=\"mt-1r\">\u5b57\u5e55\u3068\u306e\u9055\u3044\u306f\u4e3b\u306b2\u70b9\u3067\u3059\u3002<\/p>\r\n<ul style=\"list-style-type:bullet;\" class=\"my-0.5r\">\r\n<li><b class=\"bold\">\u8868\u793a\u4f4d\u7f6e\u3092\u67d4\u8edf\u306b\u5207\u308a\u66ff\u3048\u3089\u308c\u308b<\/b>\uff08\u753b\u9762\u4e2d\u592e \/ \u4e0b\u90e8\uff09<\/li>\r\n<li><b class=\"bold\">\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u3084\u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0\u306a\u3069\u3001\u898b\u305f\u76ee\u306e\u54c1\u8cea\u306b\u3053\u3060\u308f\u308c\u308b<\/b><\/li>\r\n<\/ul>\r\n<p>\u30de\u30cb\u30e5\u30a2\u30eb\u52d5\u753b\u30fbPV\u52d5\u753b\u30fb\u88fd\u54c1\u7d39\u4ecb\u52d5\u753b\u306a\u3069\u3001\u7528\u9014\u306b\u5fdc\u3058\u3066\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u3048\u305f\u3044\u5834\u5408\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\r\n\r\n<blockquote class=\"mt-0.75r\">\r\n<p>\u74b0\u5883\u69cb\u7bc9\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u4f5c\u6210\u30fb\u57fa\u672c\u7684\u306a\u66f8\u304d\u51fa\u3057\u624b\u9806\u306f\u300c<a href=\"https:\/\/code-plus.jp\/gp\/remotion-caption-10624\/\" class=\"link\">Claude Code \u00d7 Remotion \u3067\u52d5\u753b\u5b57\u5e55\u3092\u81ea\u52d5\u5316\u3059\u308b<\/a>\u300d\u3067\u89e3\u8aac\u3057\u3066\u3044\u307e\u3059\u3002\u3053\u306e\u8a18\u4e8b\u3067\u306f <code>Telop.tsx<\/code> \u306e\u5b9f\u88c5\u306b\u7d5e\u3063\u3066\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\r\n<\/blockquote>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/remotion-caption-10624\/\" class=\"linkbox my-1.5r\">\r\n<h4 class=\"linkbox-title fz-md\">Claude Code \u00d7 Remotion \u3067\u52d5\u753b\u5b57\u5e55\u3092\u81ea\u52d5\u5316\u3059\u308b\u3010\u74b0\u5883\u69cb\u7bc9\u304b\u3089\u66f8\u304d\u51fa\u3057\u307e\u3067\u3011<\/h4>\r\n<picture class=\"linkbox-thumbnail\">\r\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/Remotion_2603061322.jpg?ver=20260603234505\" alt=\"Claude Code \u00d7 Remotion \u3067\u52d5\u753b\u5b57\u5e55\u3092\u81ea\u52d5\u5316\u3059\u308b\u3010\u74b0\u5883\u69cb\u7bc9\u304b\u3089\u66f8\u304d\u51fa\u3057\u307e\u3067\u3011\" loading=\"lazy\" \/>\r\n<\/picture>\r\n<span class=\"linkbox-excerpt\">Claude Code\u3068Remotion\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u52d5\u753b\u306e\u5b57\u5e55\uff08\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\uff09\u3092ProRes 4444\u900f\u904e\u52d5\u753b\u3068\u3057\u3066\u751f\u6210\u3059\u308b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u89e3\u8aac\u3002content.ts\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u4e00\u5143\u7ba1\u7406\u3057\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u52d5\u753b\u30fbPV\u52d5\u753b\u30fbYouTube\u52d5\u753b\u306a\u3069\u5e45\u5e83\u3044\u52d5\u753b\u5236\u4f5c...\r\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\r\n<\/span>\r\n<\/a>\r\n\r\n<!-- \u2605\u76ee\u6b21\u30ea\u30b9\u30c8 -->\r\n<ul class=\"tocList mt-1r\" data-toc-id=\"js-tocBWGD\" style=\"height:28rem\"><\/ul>\r\n<ins class=\"tocBtn is-fixed\" data-toc-id=\"js-tocBWGD\"><\/ins>\r\n\r\n\r\n\r\n\r\n<hr class=\"separator mt-3r\">\r\n\r\n<h2 class=\"fz-xl\">\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u69cb\u6210<\/h2>\r\n<p>\u30c6\u30ed\u30c3\u30d7\u7528\u306b\u8ffd\u52a0\u30fb\u5909\u66f4\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306f\u6b21\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-\">&lsqb;project-name&rsqb;\/\r\n\u251c\u2500 src\/\r\n\u2502     \u251c\u2500 components\/\r\n\u2502     \u2502     \u2514\u2500 Telop.tsx                   # \u2190 \u3053\u306e\u8a18\u4e8b\u3067\u4f5c\u6210\r\n\u2502     \u251c\u2500 compositions\/\r\n\u2502     \u2502     \u2514\u2500 overlays\/\r\n\u2502     \u2502           \u2514\u2500 TelopOverlayFull.tsx  # \u2190 \u3053\u306e\u8a18\u4e8b\u3067\u4f5c\u6210\r\n\u2502     \u251c\u2500 content.ts                         # \u2190 Gemini \u306e\u51fa\u529b\u3092\u8cbc\u308b\r\n\u2502     \u2514\u2500 Root.tsx\r\n\u2514\u2500 public\/\r\n       \u2514\u2500 fonts\/\r\n            \u2514\u2500 ShipporiMincho-OTF\/\r\n                 \u251c\u2500 ShipporiMincho-OTF-Regular.otf\r\n                 \u2514\u2500 ShipporiMincho-OTF-Medium.otf\r\n<\/code><\/pre>\r\n<hr class=\"separator mt-3r\">\r\n<h2 class=\"fz-xl\">Step 1: content.ts \u306e\u8a2d\u8a08<\/h2>\r\n<h3 class=\"fz-ml\">Gemini \u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u81ea\u52d5\u751f\u6210\u3059\u308b<\/h3>\r\n<p>Gemini \u306b\u52d5\u753b\u3092\u6e21\u3057\u3066 <code>content.ts<\/code> \u5f62\u5f0f\u3067\u51fa\u529b\u3055\u305b\u308b\u3068\u5927\u5e45\u306b\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u305d\u306e\u307e\u307e\u4f7f\u3048\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-\">\u3053\u306e\u52d5\u753b\u3092\u3082\u3068\u306b\u3001Remotion\u7528\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u30c7\u30fc\u30bf\/\u5404\u30b7\u30fc\u30f3\u3067\u306e\u30c6\u30ed\u30c3\u30d7\u6848\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002\r\n\r\n## \u51fa\u529b\u5f62\u5f0f\r\nTypeScript \u306e\u914d\u5217\u306e\u307f\u51fa\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002Markdown \u306f\u4e0d\u8981\u3067\u3059\u3002\r\n\u4ee5\u4e0b\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u306b\u5f93\u3063\u3066\u304f\u3060\u3055\u3044\u3002\r\n\r\ninterface Step {\r\n  id: number;\r\n  start: string;           \/\/ &quot;MM:SS.ff&quot;\r\n  end: string;             \/\/ &quot;MM:SS.ff&quot;\r\n  scene: string;           \/\/ \u30b7\u30fc\u30f3\u540d\r\n  telop: string;           \/\/ \u65e5\u672c\u8a9e 30 \u6587\u5b57\u4ee5\u5185\u3002\u4e0d\u8981\u306a\u30b7\u30fc\u30f3\u306f &quot;&quot;\r\n  telopDraft?: {\r\n    draft1?: string;       \/\/ \u30c6\u30ed\u30c3\u30d7\u68481\r\n    draft2?: string;       \/\/ \u30c6\u30ed\u30c3\u30d7\u68482\r\n    draft3?: string;       \/\/ \u30c6\u30ed\u30c3\u30d7\u68483\r\n  }\r\n}\r\n\r\nexport const STEPS: Step&lsqb;&rsqb; = &lsqb;...&rsqb;;\r\n\r\n## \u52d5\u753b\u60c5\u5831\r\n- \u7dcf\u5c3a: &lsqb;\u79d2\u6570&rsqb;\u79d2\r\n- \u5185\u5bb9: &lsqb;\u52d5\u753b\u306e\u5185\u5bb9\u3092\u7c21\u6f54\u306b&rsqb;\r\n<\/code><\/pre>\r\n<p>\u51fa\u529b\u3055\u308c\u305f\u3082\u306e\u3092\u305d\u306e\u307e\u307e <code>content.ts<\/code> \u306b\u8cbc\u308a\u4ed8\u3051\u308b\u3060\u3051\u3067\u3059\u3002Markdown \u30c6\u30fc\u30d6\u30eb\u3088\u308a\u30d1\u30fc\u30b9\u30a8\u30e9\u30fc\u304c\u5c11\u306a\u304f\u3001interface \u5b9a\u7fa9\u3092\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u542b\u3081\u308b\u3053\u3068\u3067\u30d5\u30a3\u30fc\u30eb\u30c9\u6f0f\u308c\u3082\u9632\u6b62\u3067\u304d\u307e\u3059\u3002<\/p>\r\n<hr class=\"separator mt-3r\">\r\n<h2 class=\"fz-xl\">Step 2: Telop.tsx \u306e\u5b9f\u88c5<\/h2>\r\n<h3 class=\"fz-ml\">\u30d5\u30a9\u30f3\u30c8\u306e\u8aad\u307f\u8fbc\u307f<\/h3>\r\n<p>Remotion \u3067\u306f <code>staticFile()<\/code> \u3092\u4f7f\u3063\u3066 <code>public\/<\/code> \u30d5\u30a9\u30eb\u30c0\u5185\u306e\u30d5\u30a9\u30f3\u30c8\u3092\u53c2\u7167\u3057\u307e\u3059\u3002<code>@font-face<\/code> \u3092\u6587\u5b57\u5217\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u3001<code>&lt;style&gt;<\/code> \u30bf\u30b0\u3067\u6ce8\u5165\u3059\u308b\u306e\u304c\u57fa\u672c\u30d1\u30bf\u30fc\u30f3\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-tsx\">import { staticFile } from &quot;remotion&quot;;\r\n\r\nconst fontFace = `\r\n@font-face {\r\n  font-family: &#39;Shippori Mincho OTF&#39;;\r\n  src: url(&#39;${staticFile(&quot;fonts\/ShipporiMincho-OTF\/ShipporiMincho-OTF-Regular.otf&quot;)}&#39;) format(&#39;opentype&#39;);\r\n  font-weight: 400;\r\n}\r\n@font-face {\r\n  font-family: &#39;Shippori Mincho OTF&#39;;\r\n  src: url(&#39;${staticFile(&quot;fonts\/ShipporiMincho-OTF\/ShipporiMincho-OTF-Medium.otf&quot;)}&#39;) format(&#39;opentype&#39;);\r\n  font-weight: 500;\r\n}\r\n`;\r\n<\/code><\/pre>\r\n<p><b class=\"bold\"><code>staticFile()<\/code> \u3092\u4f7f\u3046\u7406\u7531<\/b>\uff1a<code>\/fonts\/...<\/code> \u3068\u30cf\u30fc\u30c9\u30b3\u30fc\u30c9\u3059\u308b\u3068\u3001\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u6642\u306b\u30d1\u30b9\u304c\u89e3\u6c7a\u3055\u308c\u305a\u30d5\u30a9\u30f3\u30c8\u304c\u9069\u7528\u3055\u308c\u307e\u305b\u3093\u3002\u5fc5\u305a <code>staticFile()<\/code> \u3092\u7d4c\u7531\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<h3 class=\"fz-ml\">\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5168\u4f53<\/h3>\r\n<pre><code class=\"language-tsx\">\/\/ src\/components\/Telop.tsx\r\n\r\nimport React from &quot;react&quot;;\r\nimport { useCurrentFrame, interpolate, staticFile } from &quot;remotion&quot;;\r\n\r\nconst fontFace = `\r\n@font-face {\r\n  font-family: &#39;Shippori Mincho OTF&#39;;\r\n  src: url(&#39;${staticFile(&quot;fonts\/ShipporiMincho-OTF\/ShipporiMincho-OTF-Regular.otf&quot;)}&#39;) format(&#39;opentype&#39;);\r\n  font-weight: 400;\r\n}\r\n@font-face {\r\n  font-family: &#39;Shippori Mincho OTF&#39;;\r\n  src: url(&#39;${staticFile(&quot;fonts\/ShipporiMincho-OTF\/ShipporiMincho-OTF-Medium.otf&quot;)}&#39;) format(&#39;opentype&#39;);\r\n  font-weight: 500;\r\n}\r\n`;\r\n\r\ninterface TelopProps {\r\n  text: string;\r\n  startFrame: number;\r\n  endFrame: number;\r\n  \/** \u8868\u793a\u4f4d\u7f6e: &quot;center&quot;\uff08\u30c7\u30d5\u30a9\u30eb\u30c8\uff09\u307e\u305f\u306f &quot;lower&quot;\uff08\u753b\u9762\u4e0b\u90e8\uff09 *\/\r\n  position?: &quot;center&quot; | &quot;lower&quot;;\r\n}\r\n\r\nexport const Telop: React.FC&lt;TelopProps&gt; = ({\r\n  text,\r\n  startFrame,\r\n  endFrame,\r\n  position = &quot;center&quot;,\r\n}) =&gt; {\r\n  const frame = useCurrentFrame();\r\n  const fadeInDuration = 15;\r\n  const fadeOutDuration = 15;\r\n\r\n  const opacity = interpolate(\r\n    frame,\r\n    &lsqb;startFrame, startFrame + fadeInDuration, endFrame - fadeOutDuration, endFrame&rsqb;,\r\n    &lsqb;0, 1, 1, 0&rsqb;,\r\n    { extrapolateLeft: &quot;clamp&quot;, extrapolateRight: &quot;clamp&quot; }\r\n  );\r\n\r\n  if (frame &lt; startFrame || frame &gt; endFrame) return null;\r\n\r\n  const positionStyle =\r\n    position === &quot;center&quot;\r\n      ? {\r\n          top: 0, bottom: 0, left: 0, right: 0,\r\n          margin: &quot;auto&quot;,\r\n          display: &quot;flex&quot;,\r\n          justifyContent: &quot;center&quot;,\r\n          alignItems: &quot;center&quot;,\r\n        }\r\n      : {\r\n          top: 0, bottom: 0, left: 0, right: 0,\r\n          margin: &quot;auto&quot;,\r\n          display: &quot;flex&quot;,\r\n          justifyContent: &quot;center&quot;,\r\n          alignItems: &quot;end&quot;,\r\n          paddingBottom: 80,\r\n        };\r\n\r\n  return (\r\n    &lt;&gt;\r\n      &lt;style&gt;{fontFace}&lt;\/style&gt;\r\n      &lt;div\r\n        style={{\r\n          position: &quot;absolute&quot;,\r\n          ...positionStyle,\r\n          opacity,\r\n\r\n          \/\/ \u30d5\u30a9\u30f3\u30c8\u8a2d\u5b9a\r\n          fontFamily: &quot;&#39;Shippori Mincho OTF&#39;, serif&quot;,\r\n          fontSize: 176,          \/\/ 4K \u57fa\u6e96\u30021080p \u306a\u3089 96 \u524d\u5f8c\r\n          fontWeight: 500,\r\n          color: &quot;#FFFFFF&quot;,\r\n\r\n          \/\/ \u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0\r\n          fontKerning: &quot;normal&quot;,\r\n          fontFeatureSettings: &#39;&quot;palt&quot;&#39;,\r\n\r\n          \/\/ \u30c6\u30ad\u30b9\u30c8\u8a2d\u5b9a\r\n          letterSpacing: &quot;0.03em&quot;,\r\n          lineHeight: 1.66,\r\n          textAlign: &quot;center&quot;,\r\n          whiteSpace: &quot;pre-wrap&quot;, \/\/ \\n \u3092\u6539\u884c\u3068\u3057\u3066\u8868\u793a\r\n        }}\r\n      &gt;\r\n        {text}\r\n      &lt;\/div&gt;\r\n    &lt;\/&gt;\r\n  );\r\n};\r\n<\/code><\/pre>\r\n<h3 class=\"fz-ml\">\u5b9f\u88c5\u306e\u30dd\u30a4\u30f3\u30c8<\/h3>\r\n<p><b class=\"bold\">\u7e26\u4f4d\u7f6e\u306e\u5207\u308a\u66ff\u3048\uff08<code>position<\/code> prop\uff09<\/b><\/p>\r\n<p><code>&quot;center&quot;<\/code> \u3067\u753b\u9762\u4e2d\u592e\u3001<code>&quot;lower&quot;<\/code> \u3067\u753b\u9762\u4e0b\u90e8\u306b\u8868\u793a\u3057\u307e\u3059\u3002\u7528\u9014\u306b\u5fdc\u3058\u3066\u4f7f\u3044\u5206\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\r\n<pre><code class=\"language-tsx\">\/\/ \u753b\u9762\u4e2d\u592e\uff08PV\u30fb\u30d7\u30ed\u30e2\u30fc\u30b7\u30e7\u30f3\u6620\u50cf\u5411\u3051\uff09\r\n&lt;Telop text=&quot;\u672a\u6765\u3092\u3001\u6a19\u6e96\u306b\u3002&quot; position=&quot;center&quot; ... \/&gt;\r\n\r\n\/\/ \u753b\u9762\u4e0b\u90e8\uff08\u30de\u30cb\u30e5\u30a2\u30eb\u52d5\u753b\u30fb\u64cd\u4f5c\u8aac\u660e\u5411\u3051\uff09\r\n&lt;Telop text=&quot;\u300c\u8a2d\u5b9a\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u307e\u3059&quot; position=&quot;lower&quot; ... \/&gt;\r\n<\/code><\/pre>\r\n<p><b class=\"bold\">\u6539\u884c\u5bfe\u5fdc<\/b><\/p>\r\n<p><code>content.ts<\/code> \u3067 <code>\\n<\/code> \u3092\u4f7f\u3063\u305f\u6539\u884c\u306f\u3001CSS \u306e <code>whiteSpace: &quot;pre-wrap&quot;<\/code> \u3067\u81ea\u52d5\u7684\u306b\u6539\u884c\u3068\u3057\u3066\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-typescript\">telop: &quot;\u4e0a\u8cea\u306a\u66ae\u3089\u3057\u3092\u3001\\n\u3053\u3053\u304b\u3089\u59cb\u3081\u308b\u3002&quot;,\r\n<\/code><\/pre>\r\n<p><b class=\"bold\">\u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0<\/b><\/p>\r\n<p>OpenType \u306e <code>palt<\/code> \u6a5f\u80fd\u3092\u6709\u52b9\u306b\u3059\u308b\u3053\u3068\u3067\u3001\u53e5\u8aad\u70b9\u30fb\u30ab\u30ae\u62ec\u5f27\u306a\u3069\u306e\u4f59\u767d\u304c\u81ea\u7136\u306b\u8a70\u307e\u308a\u307e\u3059\u3002\u65e5\u672c\u8a9e\u30c6\u30ed\u30c3\u30d7\u3067\u306f\u6307\u5b9a\u3057\u3066\u304a\u304f\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\r\n<pre><code class=\"language-tsx\">fontKerning: &quot;normal&quot;,\r\nfontFeatureSettings: &#39;&quot;palt&quot;&#39;,\r\n<\/code><\/pre>\r\n<p><b class=\"bold\">4K \u5236\u4f5c\u6642\u306e\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba<\/b><\/p>\r\n<p>\u89e3\u50cf\u5ea6\u306b\u3088\u3063\u3066\u9069\u5207\u306a\u30d5\u30a9\u30f3\u30c8\u30b5\u30a4\u30ba\u304c\u5909\u308f\u308a\u307e\u3059\u3002\u76ee\u5b89\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\r\n<table class=\"table my-0.5r\">\r\n  <thead>\r\n  <tr class=\"rung\">\r\n    <th>\u89e3\u50cf\u5ea6<\/th>\r\n    <td>fontSize \u306e\u76ee\u5b89<\/td>\r\n  <\/tr>\r\n<\/thead><tbody>\r\n<tr class=\"rung\">\r\n  <th>1080p\uff081920\u00d71080\uff09<\/th>\r\n  <td>80\u301c96px<\/td>\r\n<\/tr><tr class=\"rung\">\r\n<th>4K\uff083840\u00d72160\uff09<\/th>\r\n<td>160\u301c200px<\/td>\r\n<\/tr>\r\n<\/tbody><\/table>\r\n<hr class=\"separator mt-3r\">\r\n<h2 class=\"fz-xl\">Step 3: TelopOverlayFull \u30b3\u30f3\u30dd\u30b8\u30b7\u30e7\u30f3\u306e\u4f5c\u6210<\/h2>\r\n<pre><code class=\"language-tsx\">\/\/ src\/compositions\/overlays\/TelopOverlayFull.tsx\r\n\r\nimport React from &quot;react&quot;;\r\nimport { AbsoluteFill, Sequence } from &quot;remotion&quot;;\r\nimport { Telop } from &quot;..\/..\/components\/Telop&quot;;\r\nimport { STEPS, toFrame, VIDEO_CONFIG } from &quot;..\/..\/content&quot;;\r\n\r\nexport const TelopOverlayFull: React.FC = () =&gt; {\r\n  const { fps } = VIDEO_CONFIG;\r\n\r\n  return (\r\n    &lt;AbsoluteFill style={{ backgroundColor: &quot;transparent&quot; }}&gt;\r\n      {STEPS.filter((step) =&gt; step.telop !== &quot;&quot;).map((step) =&gt; {\r\n        const startFrame = toFrame(step.start, fps);\r\n        const endFrame = toFrame(step.end, fps);\r\n\r\n        return (\r\n          &lt;Sequence\r\n            key={step.id}\r\n            from={startFrame}\r\n            durationInFrames={endFrame - startFrame}\r\n          &gt;\r\n            &lt;Telop\r\n              text={step.telop}\r\n              startFrame={0}\r\n              endFrame={endFrame - startFrame}\r\n              position=&quot;center&quot;\r\n            \/&gt;\r\n          &lt;\/Sequence&gt;\r\n        );\r\n      })}\r\n    &lt;\/AbsoluteFill&gt;\r\n  );\r\n};\r\n<\/code><\/pre>\r\n<p><code>step.telop !== &quot;&quot;<\/code> \u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u3088\u308a\u3001\u7a7a\u6587\u5b57\u306e\u30b7\u30fc\u30f3\u306f\u81ea\u52d5\u7684\u306b\u30b9\u30ad\u30c3\u30d7\u3055\u308c\u307e\u3059\u3002<\/p>\r\n<hr class=\"separator mt-3r\">\r\n<h2 class=\"fz-xl\">Step 4: Root.tsx \u3078\u306e\u767b\u9332\u3068\u66f8\u304d\u51fa\u3057<\/h2>\r\n<pre><code class=\"language-tsx\">\/\/ src\/Root.tsx\r\n\r\nimport { Composition } from &quot;remotion&quot;;\r\nimport { TelopOverlayFull } from &quot;.\/compositions\/overlays\/TelopOverlayFull&quot;;\r\nimport { VIDEO_CONFIG } from &quot;.\/content&quot;;\r\n\r\nconst { fps, width, height, durationSeconds } = VIDEO_CONFIG;\r\n\r\nexport const RemotionRoot: React.FC = () =&gt; (\r\n  &lt;&gt;\r\n    &lt;Composition\r\n      id=&quot;TelopOverlayFull&quot;\r\n      component={TelopOverlayFull}\r\n      durationInFrames={durationSeconds * fps}\r\n      fps={fps}\r\n      width={width}\r\n      height={height}\r\n    \/&gt;\r\n  &lt;\/&gt;\r\n);\r\n<\/code><\/pre>\r\n<p>\u66f8\u304d\u51fa\u3057\u30b3\u30de\u30f3\u30c9\u306f\u5b57\u5e55\u8a18\u4e8b\u3068\u540c\u3058\u5f62\u5f0f\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-bash\">npx remotion render TelopOverlayFull output\/telop.mov \\\r\n  --image-format=png \\\r\n  --pixel-format=yuva444p10le \\\r\n  --codec=prores \\\r\n  --prores-profile=4444 \\\r\n  --muted\r\n<\/code><\/pre>\r\n<p><code>package.json<\/code> \u306b\u30b9\u30af\u30ea\u30d7\u30c8\u767b\u9332\u3057\u3066\u304a\u304f\u3068\u4fbf\u5229\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-json\">{\r\n  &quot;scripts&quot;: {\r\n    &quot;render:telop&quot;: &quot;npx remotion render TelopOverlayFull output\/telop.mov --image-format=png --pixel-format=yuva444p10le --codec=prores --prores-profile=4444 --muted&quot;\r\n  }\r\n}\r\n<\/code><\/pre>\r\n<hr class=\"separator mt-3r\">\r\n<h2 class=\"fz-xl\">Premiere Pro \u3067\u306e\u5408\u6210<\/h2>\r\n<p>\u66f8\u304d\u51fa\u3057\u305f <code>telop.mov<\/code> \u3092\u5143\u52d5\u753b\u306e\u4e0a\u306e\u30c8\u30e9\u30c3\u30af\u306b\u914d\u7f6e\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\r\n<pre><code class=\"language-\"># Premiere Pro \u30bf\u30a4\u30e0\u30e9\u30a4\u30f3\r\n  \u251c\u2500 V2: telop.mov\uff08\u30c6\u30ed\u30c3\u30d7\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\uff09\r\n  \u2514\u2500 V1: &lsqb;\u5143\u52d5\u753b&rsqb;\r\n<\/code><\/pre>\r\n<p>\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u306f <code>content.ts<\/code> \u5074\u3067\u5236\u5fa1\u3055\u308c\u3066\u3044\u308b\u305f\u3081\u3001Premiere Pro \u3067\u306e\u4f4d\u7f6e\u8abf\u6574\u306f\u57fa\u672c\u7684\u306b\u4e0d\u8981\u3067\u3059\u3002\u4fee\u6b63\u304c\u5fc5\u8981\u306a\u5834\u5408\u3082 <code>content.ts<\/code> \u306e <code>start<\/code> \/ <code>end<\/code> \u3092\u5909\u66f4\u3057\u3066\u518d\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3059\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\r\n<hr class=\"separator mt-3r\">\r\n<h2 class=\"fz-xl\">\u307e\u3068\u3081\u30fb\u95a2\u9023\u8a18\u4e8b<\/h2>\r\n<p>\u3053\u306e\u8a18\u4e8b\u3067\u306f <code>Telop.tsx<\/code> \u306e\u5b9f\u88c5\u3092\u4e2d\u5fc3\u306b\u3001\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u306e\u8aad\u307f\u8fbc\u307f\u30fb\u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0\u30fb\u7e26\u4f4d\u7f6e\u306e\u5207\u308a\u66ff\u3048\u3092\u89e3\u8aac\u3057\u307e\u3057\u305f\u3002<\/p>\r\n<p><code>content.ts<\/code> \u3078\u306e Gemini \u51fa\u529b\u306e\u6d41\u3057\u8fbc\u307f\u3068\u7d44\u307f\u5408\u308f\u305b\u308b\u3053\u3068\u3067\u3001\u30c6\u30ed\u30c3\u30d7\u4ed8\u3051\u306e\u4f5c\u696d\u3092\u5927\u5e45\u306b\u52b9\u7387\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/remotion-caption-10624\/\" class=\"linkbox my-1.5r\">\r\n<h4 class=\"linkbox-title fz-md\">Claude Code \u00d7 Remotion \u3067\u52d5\u753b\u5b57\u5e55\u3092\u81ea\u52d5\u5316\u3059\u308b\u3010\u74b0\u5883\u69cb\u7bc9\u304b\u3089\u66f8\u304d\u51fa\u3057\u307e\u3067\u3011<\/h4>\r\n<picture class=\"linkbox-thumbnail\">\r\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/Remotion_2603061322.jpg?ver=20260603234505\" alt=\"Claude Code \u00d7 Remotion \u3067\u52d5\u753b\u5b57\u5e55\u3092\u81ea\u52d5\u5316\u3059\u308b\u3010\u74b0\u5883\u69cb\u7bc9\u304b\u3089\u66f8\u304d\u51fa\u3057\u307e\u3067\u3011\" loading=\"lazy\" \/>\r\n<\/picture>\r\n<span class=\"linkbox-excerpt\">Claude Code\u3068Remotion\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u52d5\u753b\u306e\u5b57\u5e55\uff08\u30ad\u30e3\u30d7\u30b7\u30e7\u30f3\uff09\u3092ProRes 4444\u900f\u904e\u52d5\u753b\u3068\u3057\u3066\u751f\u6210\u3059\u308b\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u3092\u89e3\u8aac\u3002content.ts\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u4e00\u5143\u7ba1\u7406\u3057\u3001\u30de\u30cb\u30e5\u30a2\u30eb\u52d5\u753b\u30fbPV\u52d5\u753b\u30fbYouTube\u52d5\u753b\u306a\u3069\u5e45\u5e83\u3044\u52d5\u753b\u5236\u4f5c...\r\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\r\n<\/span>\r\n<\/a>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/remotion-callout-11170\/\" class=\"linkbox my-1.5r\">\r\n<h4 class=\"linkbox-title fz-md\">Remotion \u3067 Callout \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3010Studio \u00d7 Zod \u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5ea7\u6a19\u8abf\u6574\u3011<\/h4>\r\n<picture class=\"linkbox-thumbnail\">\r\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/Remotion_2603061050.jpg?ver=20260603234505\" alt=\"Remotion \u3067 Callout \u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u3010Studio \u00d7 Zod \u3067\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5ea7\u6a19\u8abf\u6574\u3011\" loading=\"lazy\" \/>\r\n<\/picture>\r\n<span class=\"linkbox-excerpt\">Remotion\u3067\u30b3\u30fc\u30eb\u30a2\u30a6\u30c8\uff08\u5730\u56f3\u30d4\u30f3\u30fb\u6ce2\u7d0b\u30fb\u30b3\u30cd\u30af\u30bf\u30fc\u7dda\u30fb\u30e9\u30d9\u30eb\uff09\u3092div\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3067\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002SVG\u304c\u4f7f\u3048\u306a\u3044\u554f\u984c\u306e\u89e3\u6c7a\u7b56\u3001\u6bb5\u968e\u7684\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u306e\u30c1\u30a7\u30a4\u30f3\u3001Remotion Studio\uff0bZod\u30b9\u30ad\u30fc\u30de\u306b\u3088\u308b\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u5ea7\u6a19\u8abf\u6574\u307e\u3067\u8e0f\u307f\u8fbc\u3093...\r\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\r\n<\/span>\r\n<\/a>\r\n\r\n<a href=\"https:\/\/code-plus.jp\/gp\/remotion-lottiefiles-11357\/\" class=\"linkbox my-1.5r\">\r\n<h4 class=\"linkbox-title fz-md\">Remotion \u3067 LottieFiles \u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3010\u77e2\u5370\u30fb\u30a2\u30a4\u30b3\u30f3\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u52d5\u753b\u306b\u7d44\u307f\u8fbc\u3080\u3011<\/h4>\r\n<picture class=\"linkbox-thumbnail\">\r\n<img decoding=\"async\" width=\"300\" height=\"200\" src=\"https:\/\/code-plus.jp\/gp\/wp-content\/uploads\/Remotion_2603061325.jpg?ver=20260603234505\" alt=\"Remotion \u3067 LottieFiles \u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u3092\u4f7f\u3046\u3010\u77e2\u5370\u30fb\u30a2\u30a4\u30b3\u30f3\u3092\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u52d5\u753b\u306b\u7d44\u307f\u8fbc\u3080\u3011\" loading=\"lazy\" \/>\r\n<\/picture>\r\n<span class=\"linkbox-excerpt\">Remotion\u306bLottieFiles\u306e\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\uff08\u77e2\u5370\u30fb\u30a2\u30a4\u30b3\u30f3\u7b49\uff09\u3092\u7d44\u307f\u8fbc\u3080\u65b9\u6cd5\u3092\u89e3\u8aac\u3002@remotion\/lottie\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089JSON\u914d\u7f6e\u30fb\u30ab\u30e9\u30fc\u5909\u66f4\u30fb\u30d5\u30a7\u30fc\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u900f\u904e\u66f8\u304d\u51fa\u3057\u307e\u3067\u3001\u52d5\u753b\u30aa\u30fc\u30d0\u30fc\u30ec\u30a4\u3078\u306e\u5b9f\u8df5\u7684\u306a\u6d3b\u7528\u65b9\u6cd5\u3092\u7d39\u4ecb\u3057...\r\n&emsp;<u class=\"linkbox-more\">\u7d9a\u304d\u3092\u8aad\u3080<\/u>\r\n<\/span>\r\n<\/a>\r\n\r\n<hr class=\"separator mt-3r\">\r\n\r\n<h2 class=\"fz-xl\">\u53c2\u8003\u30ea\u30f3\u30af<\/h2>\r\n<ul style=\"list-style-type:bullet;\" class=\"my-0.5r\">\r\n<li><cite><a href=\"https:\/\/www.remotion.dev\/\" target=\"_blank\" class=\"link\">Remotion \u516c\u5f0f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a><\/cite><\/li>\r\n<li><cite><a href=\"https:\/\/www.remotion.dev\/docs\/staticfile\" target=\"_blank\" class=\"link\">Remotion \u2014 staticFile()<\/a><\/cite><\/li>\r\n<li><cite><a href=\"https:\/\/gemini.google.com\/\" target=\"_blank\" class=\"link\">Gemini<\/a><\/cite><\/li>\r\n<\/ul>","protected":false},"excerpt":{"rendered":"Remotion\u3067\u30c6\u30ed\u30c3\u30d7\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\uff08Telop.tsx\uff09\u3092\u5b9f\u88c5\u3059\u308b\u65b9\u6cd5\u3092\u89e3\u8aac\u3002\u65e5\u672c\u8a9e\u30d5\u30a9\u30f3\u30c8\u30fb\u7d04\u7269\u30ab\u30fc\u30cb\u30f3\u30b0\u30fb\u30d5\u30a7\u30fc\u30c9\u30a2\u30cb\u30e1\u30fc\u30b7\u30e7\u30f3\u30fb\u7e26\u4f4d\u7f6e\u306e\u5207\u308a\u66ff\u3048\u306a\u3069\u3001\u54c1\u8cea\u306b\u3053\u3060\u308f\u3063\u305f\u5b9f\u88c5\u3092\u7d39\u4ecb\u3002Gemini\u3068\u306econtent.ts\u9023\u643a\u3067\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u751f\u6210\u3082\u81ea\u52d5\u5316\u3067\u304d\u307e\u3059\u3002","protected":false},"author":1,"featured_media":11360,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"sns_share_botton_hide":"","vkExUnit_sns_title":"","_vk_print_noindex":"","footnotes":"","vk-ltc-link":"","vk-ltc-target":"0"},"categories":[958],"tags":[754,755,649,651,590,594,587,167],"class_list":["post-10917","post","type-post","status-publish","format-standard","has-post-thumbnail","category-mediaedit","tag-staticfile","tag-755","tag-649","tag-content-ts","tag-remotion","tag-prores-4444","tag-gemini","tag-167"],"veu_head_title_object":{"title":"","add_site_title":""},"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/10917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=10917"}],"version-history":[{"count":1,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/10917\/revisions"}],"predecessor-version":[{"id":12649,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/10917\/revisions\/12649"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media\/11360"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=10917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=10917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=10917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}