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

recorder.stop() takes several minutes to complete #111

Open
whydna opened this issue Sep 17, 2024 · 2 comments
Open

recorder.stop() takes several minutes to complete #111

whydna opened this issue Sep 17, 2024 · 2 comments

Comments

@whydna
Copy link

whydna commented Sep 17, 2024

  • I'm submitting a ...
    [x] bug report
    [ ] feature request
    [ ] question about the decisions made in the repository
    [ ] question about how to use this project

  • Summary

  • await recorder.stop() takes a long time (1-2 minutes to resolve).

  • It does seem to complete successfully though.

  • Happens in google cloud run instance even w/ 4gb ram + 2 cpu.

  • Seems to work fine locally

  • Other information (e.g. detailed explanation, stack traces, related issues, suggestions how to fix, links for us to have context, eg. StackOverflow, personal fork, etc.)

@LittleBearXD
Copy link

videoPixelFormat = 'yuva420p' ;
videoCodec = 'libvpx' ;
videOutputOptions = ['-auto-alt-ref 0'];
.webm
When I record a transparent video in webm format, the recorder.stop() duration is always three times the length of the video. For example, stopping a 10-second video takes 30 seconds.

@andonits
Copy link

+1

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

3 participants