Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Remotion promotion
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
White-Green
November 16, 2025
Programming
110
1
Share
Remotion promotion
AkarengaLT vol.39
で話したスライドです
Remotion
の紹介をしています
White-Green
November 16, 2025
More Decks by White-Green
See All by White-Green
Chasing Real-Time Observability for CRuby
whitegreen
0
850
Ruby as a Frontend for Programming Language Implementations (RubyKaigi 2025 LT)
whitegreen
0
110
U-22 プログラミング・コンテスト 2021登壇資料
whitegreen
0
330
技育展2021登壇資料
whitegreen
0
67
Compile Time Mathematics in Rust
whitegreen
0
110
Other Decks in Programming
See All in Programming
20260514 - build with ai 2026 - build LINE Bot with Gemini CLI
line_developers_tw
PRO
0
400
From Formal Specification to Property Based Test
ohbarye
0
2.4k
なぜあなたのコードには「コシ」がないのか?〜AI時代に問う、最後まで美味しい設計と戦略〜 #phpconkagawa / phpconkagawa2026
shogogg
0
160
ついに来た!本格的なマルチクラウド時代の Google Cloud
maroon1st
0
410
Are We Really Coding 10× Faster with AI?
kohzas
0
150
Agentic UI in the Frontend: Architectures with Open Standards @JAX 2026 in Mainz
manfredsteyer
PRO
0
110
Making the RBS Parser Faster
soutaro
0
680
ふにゃっとしない名前の付け方 〜哲学で茹で上げる、コシのあるソフトウェア設計〜
shimomura
0
110
AI時代だからこそ「Bloc」を採用する価値があるのかもしれない
takuroabe
0
150
サプライチェーン攻撃対策「層を重ねて落ちない壁」を10日間で組み上げた話 #TechLeadConf2026
kashewnuts
1
250
Cache-moi si tu peux : patterns et pièges du cache en production - Devoxx France 2026 - Conférence
slecache
0
350
AI時代のエンジニアリングの原則 / Engineering Principles in the AI Era
haru860
0
1.2k
Featured
See All Featured
Claude Code のすすめ
schroneko
67
220k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
The Cost Of JavaScript in 2023
addyosmani
55
9.9k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
1.9k
Why You Should Never Use an ORM
jnunemaker
PRO
61
9.8k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
550
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Balancing Empowerment & Direction
lara
6
1.1k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.4k
Color Theory Basics | Prateek | Gurzu
gurzu
0
310
Automating Front-end Workflow
addyosmani
1370
200k
Transcript
Remotion https://www.npmjs.com/package/remotion 1
Remotion is 何 • 昔は 「Write Videos in React」 みたいなコピーだった
• Write+Video? • Video+Reactjs? 2 https://remotion.dev
Remotion is 何 • Reactjsで動画を作れます 3
Remotion is 何 • 普通のReact Component • useCurrentFrame hook •
「今レンダリングしようとしているフレー ムが何フレーム目なのか」がとれるフック • フレーム番号を増やしながらレンダリ ング • ChromeのAPIでスクリーンショット • 連番画像からffmpegでmp4に • これをサポートするAPIがいっぱい (e.g. イージング) 4 https://www.remotion.dev/docs/the-fundamentals から抜粋および編集
Remotion pros • Web資産が使い放題 • スクリプト制御が楽 5
Remotion cons • デザインが大変 • レンダリングが重い • テキストは本質的に1次元 6
Pros: Web資産が使い放題 • css filter • blur、drop-shadowなど • 数式、Syntax Highlighting
• react-katex、highlightjs • svgをframeでアニメーション • svg pathの先頭n%のみを取得するAPIがある • .psdを組み替えてpngにするwasmプログラム(Rust製) • 逆に、Web需要が無い機能は無い • 文字の縁取り • トーンカーブ(filterだと線形変換しかできない) • Remotionの処理方法と合わず利用不可の機能(cssアニメーション) 7
Pros:スクリプト制御が楽 • y=abs(sin(frame)) ← 自明 • [x,y]=[random(),random()] ← 自明(randomが専用品) •
音声合成ソフトウェアで音声と同時に音素情報を作っておき、 パースして「あ」「い」「う」「え」「お」に対応する画像を出し分ける 8
Cons: デザインが大変 • 「マージンを1px単位で調整」みたいなことがWebページより高 頻度で発生 • 編集→Ctrl+S→確認→編集… • visualControl APIでだいぶマシに
9 https://www.remotion.dev/docs/studio/visual-control より抜粋
Cons: レンダリングが重い • 1フレームをレンダリングするのに200msぐらいかかってそう • 60fpsだと16.7ms/フレームなので12倍 • 私の使いかたが悪いか? • 10分ちょっとの動画レンダリングに2時間
• AWS Lambdaで動かす力技(試してない) • https://www.remotion.dev/docs/lambda/api • プレビュー画面も重い(ちゃんとしたソフトならレンダリング結果 のキャッシュとかがあるが…) 10
Cons: テキストは本質的に1次元 • 現代の動画編集ソフトのUIはこんな感じ • 横軸が時間、縦軸がオブジェクト同士の重なり • これはClipchamp • (収斂進化とかでもなんでもなく、フィルムを切
り貼りする操作のGUIへの射影から一切進化 してないだけという別の文句) • 字幕1、2、3と画像をタイミングをずらして 表示 11
Cons: テキストは本質的に1次元 • fromとdurationInFramesを手計 算するんですか? 12
Cons: テキストは本質的に1次元 • コンポーネントが細切れになってつらい • コンポーネントだからまだマシだが、設定をべ た書きしてたりすると… • 「ゲーム文脈ではあまりアグレッシブな共通化はす るべきではない」みたいな話ありましたよね
13
Cons: テキストは本質的に1次元 • タイムラインを縦か横に輪切りにして1次元に直して記述する必要 がある • 実現したい表現によって向き不向きがあるのでうまく選べば多少 マシになる 14
まとめ • Remotionというパッケージを紹介 • Reactjsで動画を書ける • Pros: Web資産が使い放題 • Pros:
スクリプト制御が楽 • Cons: デザインが大変 • Cons: レンダリングが重い • Cons: テキストは本質的に1次元 • ブラウザ、Reactエコシステムの変な活用方法としておもしろい 15