• Stars
    star
    161
  • Rank 226,518 (Top 5 %)
  • Language
    TypeScript
  • Created almost 3 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Import a list of videos to Mux with ease 📹🔥

Mux batch import

Import a list of videos to Mux with ease.

Setup

Copy .env.example to .env and fill the environment variables based on the Mux access token you got from Mux dashboard.

Running the migration

  1. Clone the repository and install dependencies using NPM or Yarn;
  2. Fill video list data inside data/videos.json;
  3. Run yarn run-migration or npm run run-migration;

All of the videos from videos.json will be uploaded directly to Mux without saving them to the disk.

This process is kinda slow but, if you have a good internet connection and hardware, you can increment the concurrency inside src/lib/queue.ts to migrate more videos in parallel.

Getting the Playback ID list

If you're not using signed URLs, you'll need the playback ID to play the videos.

  1. Open up the file src/GetPlaybackIds.ts;
  2. At line 18 you'll be able to change the page every time you run this script (for now you have to manually set the page number so if you have 850 assets you'll have to run this script 9 times);
  3. Run yarn get-playback-ids or npm run get-playback-ids;

The script will fill the data/export.csv file with the data including the original video ID from data/videos.json, the playback ID e the duration.

More Repositories

1

rocketredis

A beautiful Redis GUI 🔥 (under development)
TypeScript
1,910
star
2

electron-typescript-react

:electron: An Electron boilerplate including TypeScript, React, Jest and ESLint.
JavaScript
1,437
star
3

video-to-reels

Automatically edit videos to post on Instagram Reels
JavaScript
663
star
4

umbriel

✉️ Umbriel is a simple mailing platform built with Node.js, TypeScript & Prisma.
TypeScript
500
star
5

node-microservices-ddd

🚢 Node.js microservice structure with DDD & Monorepo
TypeScript
491
star
6

rsxp-2023

Repositório contendo o código do app do RS/XP 2023
TypeScript
438
star
7

responsive-native

A responsive utility toolkit for React Native 📱⚛
TypeScript
364
star
8

faladev

Meu site pessoal onde deixo todas minhas configurações atuais como do Visual Studio Code, Fish e informações sobre meu setup.
TypeScript
247
star
9

flowly

Flowly helps you document your event driven architecture across your team.
TypeScript
211
star
10

microservices-base-decode

Application made for the Decode #20 (Microservices fundaments)
TypeScript
186
star
11

umbriel-dashboard

TypeScript
140
star
12

expo-pomodoro-app

⏰ App de Pomodoro construído durante o Meetup Frontend SP
JavaScript
135
star
13

diego3g

132
star
14

react-hooks-redux-example

Exemplo de aplicação utilizando React Hooks no Redux
HTML
131
star
15

ai-tools

ai-tools
TypeScript
128
star
16

performance-react

⚛️ Código produzido no workshop de "Performance com React" para o meetup Facebook Developers Circle
JavaScript
116
star
17

gcloud-node-video-transcoding

📹🔥 Transcode Google Cloud Storage video files with Node.js and FFmpeg
TypeScript
112
star
18

node-prisma-twitter

A Twitter clone made with Node.js, TypeScript and Prisma ❤️
TypeScript
99
star
19

react-data-fetching

TypeScript
97
star
20

react-native-responsive-hooks

TypeScript
91
star
21

react-unit-testing

TypeScript
65
star
22

next-aws

TypeScript
64
star
23

next-supabase-fullcycle

TypeScript
63
star
24

node-arch

TypeScript
60
star
25

ignite-lab-react

TypeScript
60
star
26

react-example-useswr

TypeScript
59
star
27

ignite-nitro-design

nitro2
TypeScript
55
star
28

webcontainers-test

livedocs
TypeScript
54
star
29

jamstack-next-graphcms

TypeScript
48
star
30

jivia-godot

An Action RPG created to learn Game Development.
GDScript
48
star
31

nextjs-chakra

NextJS studies with Chakra UI
TypeScript
41
star
32

serverless-typescript-starter

Starter pack to create serverless functions with TypeScript
JavaScript
38
star
33

05-design-system

Design system construído no Ignite
TypeScript
35
star
34

keycloak-nextjs-example

Example Next.js project with Keycloak authentication (SSR & Refresh Token)
TypeScript
34
star
35

react-webpack-swc

ReactJS webpack configuration example using SWC
JavaScript
34
star
36

blog-graphql-prisma

Back-end de um blog utilizando Node/GraphQL/Prisma.
TypeScript
32
star
37

next-and-cra-serverless

JavaScript
31
star
38

node-ffmpeg-hls-encryption

Some tests using FFMpeg to transcode video to multiple resolutions with AES-128 encryption.
TypeScript
29
star
39

next-basics

Created with StackBlitz ⚡️
TypeScript
27
star
40

nivo

Nivo helps you distributing fast and secure video content managing all the complex stuff to you.
TypeScript
26
star
41

graphql-nexus-example

Sample API developed with GraphQL Nexus, TypeScript and Prisma
TypeScript
25
star
42

video-nugget-creator

Tool to create "nuggets" from Youtube videos.
JavaScript
24
star
43

figma-jam-ui-react

Cloning the Figma Jam UI with React
TypeScript
24
star
44

jivia

2D RPG Game with React + Electron
JavaScript
23
star
45

nextjs-dogs

JavaScript
22
star
46

dokr

Fala galera da live de React
JavaScript
21
star
47

pulumi-lambda-mail-queue

TypeScript
20
star
48

project-template-next.js

Next.js template for CodeSandbox Projects
TypeScript
20
star
49

vitest-decorators

vitest-decorators
TypeScript
17
star
50

node-deploy

node-deploy
TypeScript
16
star
51

nest-sls-starter

A simple NestJS Serverless starter
15
star
52

tars

Gamification bot made with Rust (Just studying)
Rust
15
star
53

remix-on-cloudflare-pages

TypeScript
14
star
54

context-example

TypeScript
13
star
55

node-queue-benchmarks

JavaScript
12
star
56

next-graphql-codegen

TypeScript
11
star
57

tedx-app

Aplicativo do TEDx em Rio do Sul
JavaScript
11
star
58

setup-next-13-neon

TypeScript
10
star
59

test-meilisearch

TypeScript
8
star
60

nextvercel

JavaScript
7
star
61

test-figma-tokens

figma-tokens
JavaScript
5
star
62

cranetlify

TypeScript
1
star