A template/preset that utilizes Remotion to generate all required promotional and youtube videos for a release using configuration data.
The following commands are available:
Start YouTube Preview
By default this will only preview the first track in the release data. To change that, you’ll need to manually change the "index" value in the command to something other than 0.
npm run startStart Social Preview
Same as the YouTube Preview regarding the "index" value.
npm run start:socialStart This Day On Preview
Same as the YouTube Preview regarding the "index" value.
npm run start:thisdayRender Youtube Video
Same as the YouTube Preview regarding the "index" value.
npm run buildnpm run build:youtubeRender This Day On Video
Same as the YouTube Preview regarding the "index" value.
npm run build:thisdayRender Social "Now" Video
Same as the YouTube Preview regarding the "index" value.
npm run build:socialnpm run build:social:nowRender Social "Tomorrow" Video
Same as the YouTube Preview regarding the "index" value.
npm run build:social:tomorrowRender Social "Friday" Video
Same as the YouTube Preview regarding the "index" value.
npm run build:social:fridayRender still image of Youtube video (default frame: 0)
Same as the YouTube Preview regarding the "index" value.
npm run stillRender still image using custom frame
Same as the YouTube Preview regarding the "index" value.
FRAME=100 npm run stillUpgrade Remotion to the latest version
npx remotion upgradeRender all required videos and formats
You should start this at least the night before you need it, as it will takes hours to complete.
npm run allRender all Social/This Day On videos
npm run promosRender all This Day On videos
npm run thisdayRender all Youtube videos
You should start this at least the night before you need it, as it will takes hours to complete.
npm run videosRender all Youtube video stills
Will utilize the 1000th frame for this. The node script can be updated, if you’d like a different frame to be used.
npm run stills- Replace the dummy audio file found in
public/01.wavwith your own. And add audio files for whatever tracks included the data file. - Supply your own data at
src/data/index.js. - Supply your own cover image in
public. - Preview or render using any of the above commands
Your data javascript file should return an object containing the following attributes:
release: An object representing the release you’re generating videos for. It requires the following attributes:title: The title of the releasecatNo: The catalog number of the releasedate: The release dateyear: The year the album was releasedtype: Release type (eg. Original, maxBloc, fortyFive)
tracks: An array containing objects representing individual tracks, each of which should contain the following attributes:sectionName: The name of the section used in the preview UI to identify the section in the sidebarartist: The name of the artisttitle: The title of the trackfeatures: An optional attribute if the track features another artist (eg. (Featuring That Other Artist))length: The length of the song (eg. 1:01)filename: The name of the audio file you placed in the public directory (eg. 01.wav)social: An object representing the section of the audio file to use for the Promo and This Day On videos. It should have the following attributes:start: The time that the audio should start at. (eg. 0:10)end: The time that the audio should end at. (eg. 1:09)