• Stars
    star
    112
  • Rank 312,240 (Top 7 %)
  • Language
    TypeScript
  • Created almost 5 years ago
  • Updated almost 2 years ago

Reviews

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

Repository Details

๐Ÿ“น๐Ÿ”ฅ Transcode Google Cloud Storage video files with Node.js and FFmpeg

Google Cloud Node.js video transcoder

Use Google Cloud Storage, Pub/Sub and App Engine to transcode videos to many resolutions.

๐Ÿ”ฅ Setup

  • Clone the app:
git clone https://github.com/diego3g/gcloud-node-video-transcoding.git
  • Install all dependencies:
yarn
yarn lerna bootstrap
gcloud auth login
  • Setup a Google Cloud Project;
  • Setup GOOGLE_APPLICATION_CREDENTIALS environment variable following https://cloud.google.com/docs/authentication/getting-started?hl=pt-br
  • Create origin and destination bucket inside Google Cloud Storage;
  • Create a topic inside Pub/Sub called jupiter;
  • Setup Google Cloud Storage notification to new topic, so every file uploaded to bucket will publish a message to the queue:
gsutil notification create -t jupiter -f json -e OBJECT_FINALIZE gs://ORIGIN_BUCKET_NAME

Replace ORIGIN_BUCKET_NAME with your origin bucket name :)

  • To see all the notifications:
gsutil notification list gs://ORIGIN_BUCET_NAME
const destinationBucket = storage.bucket('DESTINATION_BUCKET_NAME');
  • Run main application:
yarn dev:main
  • Run worker application (in another terminal):
yarn dev:worker
  • Upload .mp4 file to ORIGIN bucket and monitor logs via:
gcloud app logs tail -s default
gcloud app logs tail -s worker

๐Ÿ“ License

This project lives under MIT License. See LICENSE for more details.

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
517
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

mux-batch-import

Import a list of videos to Mux with ease ๐Ÿ“น๐Ÿ”ฅ
TypeScript
161
star
12

umbriel-dashboard

TypeScript
139
star
13

expo-pomodoro-app

โฐ App de Pomodoro construรญdo durante o Meetup Frontend SP
JavaScript
135
star
14

diego3g

132
star
15

react-hooks-redux-example

Exemplo de aplicaรงรฃo utilizando React Hooks no Redux
HTML
131
star
16

ai-tools

ai-tools
TypeScript
128
star
17

performance-react

โš›๏ธ Cรณdigo produzido no workshop de "Performance com React" para o meetup Facebook Developers Circle
JavaScript
116
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

large-json-node-stream-process

Process large JSON inputs with Streams in Node.js
TypeScript
5
star
62

test-figma-tokens

figma-tokens
JavaScript
5
star
63

searchable-react-select

A simple React searchable select using Radix UI
TypeScript
3
star
64

cranetlify

TypeScript
1
star