Fireship · @fireship
This video was made with code. But how?
Uploaded March 4, 2022 · Length 8:42
Summary
create custom data-driven videos with javascript and remotion, no editing tools needed
- remotion video creation
- javascript video editing
- data driven video
- no code video editing
- react video animation
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
today's video is made different i threw
- 0:02
away all my fancy editing tools like
- 0:03
adobe premiere and after effects and
- 0:05
instead did all the editing with
- 0:07
javascript code thanks to a tool called
- 0:09
remotion which allows you to create
- 0:11
video content programmatically with
- 0:13
react when you think about it a video is
- 0:15
just a function of images over time
- 0:17
every second we might render 60 still
- 0:19
images or frames each one changing
- 0:21
slightly to create an animation react is
- 0:24
a great tool for describing uis that
- 0:26
change over time so why not use it to
- 0:27
describe video content as well that's
- 0:29
the idea behind remotion which opens the
- 0:31
door for web developers to storify their
- 0:34
data for example you might use a weather
- 0:36
api to fetch the local weather forecast
- 0:38
then use remotion to animate a video out
- 0:40
of that data if it's raining show some
- 0:42
raindrops if it's cloudy make some
- 0:44
clouds float by and if there's a tornado
- 0:46
show the entire town being destroyed by
- 0:48
the end of this tutorial you'll know how
- 0:49
to create your own custom data driven
- 0:51
videos from scratch using nothing but
- 0:53
javascript and remotion if you're new
- 0:55
here like and subscribe and check out
- 0:56
the full source code on github before we
- 0:58
jump into the code for this project i
- 1:00
want to give a huge shout out to william
- 1:02
candione he put together the code for
- 1:03
this video and has an awesome youtube
- 1:05
channel that you should definitely be
- 1:06
subscribed to and respect to johnny
- 1:08
burger the creator of remotion this
- 1:10
tutorial is unlike anything else out
- 1:12
there and by the end of it you'll be
- 1:13
able to add video editor to your resume
- 1:15
and you might be surprised at how easy
- 1:16
it really is to create videos with react
- 1:18
once you understand the fundamentals of
- 1:20
video animation if you go to github and
- 1:22
clone the project it'll pull up a
- 1:24
browser window that allows you to scrub
- 1:26
through the entire timeline of the intro
- 1:27
that you just watched and you can modify
- 1:29
it using html css and javascript what
- 1:32
i'm going to show you in this video is
- 1:33
how to recreate the weather scene from
- 1:35
scratch to follow along and create your
- 1:37
own video right now run npm init video
- 1:40
from the terminal to initialize remotion
- 1:42
it provides a variety of different
- 1:43
templates to start with my goal is to
- 1:45
show you the basic step by step so i'm
- 1:46
going to choose a blank typescript
- 1:48
template the first place we'll go is the
- 1:50
video.tsx file which contains a remotion
- 1:53
video component think of this component
- 1:55
as your entire video now a video is made
- 1:58
up of one or more compositions remotion


