GithubHelp home page GithubHelp logo

diego3g / gcloud-node-video-transcoding Goto Github PK

View Code? Open in Web Editor NEW
113.0 113.0 36.0 1.27 MB

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

Dockerfile 5.03% TypeScript 94.97%

gcloud-node-video-transcoding's Introduction

Diego Fernandes

CTO @Rocketseat.

Twitter Badge Linkedin Badge Gmail Badge

Enthusiast of the best web & mobile development technologies.

Passionate about education and changing people's lives through programming. More than 200,000 people have already undergone one of my trainings.

"Nothing in this world beats good old persistence. Talent does not surpass. Nothing more common than talented failures. Genius does not overcome. Unrecognized geniuses is practically a cliche. Education does not exceed. The world is full of educated fools. Persistence and determination alone are powerful."

gcloud-node-video-transcoding's People

Contributors

diego3g avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

gcloud-node-video-transcoding's Issues

infinite loop when transcoding

hello, i'm new into this kind of GCP and GAE
i'm following your instruction and implemented on my localhost successfully,
but it get infinite loop when transcoding because destination bucket detected as origin bucket after the first transcoding was successful.

here my command log
yarn dev:main

yarn run v1.22.10
$ lerna exec --scope jupiter-main -- yarn dev
lerna notice cli v3.19.0
lerna notice filter including "jupiter-main"
lerna info filter [ 'jupiter-main' ]
lerna info Executing command in 1 package: "yarn dev"
$ sucrase-node ./src/index.ts
๐Ÿ“ฆ [Storage] Listening to messages
โœ‰๏ธ [Storage] Message: yeet.mp4
โœ‰๏ธ [Storage] Message: yeet_360.mp4
โœ‰๏ธ [Storage] Message: yeet_360_360.mp4
....
Terminate batch job (Y/N)? Y

yarn dev:worker

yarn run v1.22.10
$ lerna exec --scope jupiter-worker -- yarn dev
lerna notice cli v3.19.0
lerna notice filter including "jupiter-worker"
lerna info filter [ 'jupiter-worker' ]
lerna info Executing command in 1 package: "yarn dev"
$ sucrase-node ./src/index.ts
โšก๏ธ [Worker] Listening to messages
โœ‰๏ธ [Worker] Message: [1080] yeet.mp4
โœ‰๏ธ [Worker] Message: [720] yeet.mp4
โœ‰๏ธ [Worker] Message: [360] yeet.mp4
[720] Started FFMpeg ffmpeg -i pipe:0 -vcodec libx264 -filter:v scale=w=1280:h=720 -f mp4 -preset superfast -movflags frag_keyframe+empty_moov -max_muxing_queue_size 9999 pipe:1
[360] Started FFMpeg ffmpeg -i pipe:0 -vcodec libx264 -filter:v scale=w=620:h=360 -f mp4 -preset superfast -movflags frag_keyframe+empty_moov -max_muxing_queue_size 9999 pipe:1
[1080] Started FFMpeg ffmpeg -i pipe:0 -vcodec libx264 -filter:v scale=w=1920:h=1080 -f mp4 -preset superfast -movflags frag_keyframe+empty_moov -max_muxing_queue_size 9999 pipe:1
[360] Sucess!.
โœ‰๏ธ [Worker] Message: [1080] yeet_360.mp4
[1080] Started FFMpeg ffmpeg -i pipe:0 -vcodec libx264 -filter:v scale=w=1920:h=1080 -f mp4 -preset superfast -movflags frag_keyframe+empty_moov -max_muxing_queue_size 9999 pipe:1
โœ‰๏ธ [Worker] Message: [720] yeet_360.mp4
[720] Started FFMpeg ffmpeg -i pipe:0 -vcodec libx264 -filter:v scale=w=1280:h=720 -f mp4 -preset superfast -movflags frag_keyframe+empty_moov -max_muxing_queue_size 9999 pipe:1
โœ‰๏ธ [Worker] Message: [360] yeet_360.mp4
[360] Started FFMpeg ffmpeg -i pipe:0 -vcodec libx264 -filter:v scale=w=620:h=360 -f mp4 -preset superfast -movflags frag_keyframe+empty_moov -max_muxing_queue_size 9999 pipe:1
[360] Sucess!.
....
Terminate batch job (Y/N)? Y

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.