Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infinite loop when transcoding #13

Open
sudiraO21 opened this issue Jan 13, 2021 · 0 comments
Open

infinite loop when transcoding #13

sudiraO21 opened this issue Jan 13, 2021 · 0 comments

Comments

@sudiraO21
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant