Skip to content

linux 下运行报错JSHandle@error #84

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

Closed
gubeils opened this issue Apr 17, 2024 · 1 comment
Closed

linux 下运行报错JSHandle@error #84

gubeils opened this issue Apr 17, 2024 · 1 comment

Comments

@gubeils
Copy link

gubeils commented Apr 17, 2024

您好,当我在linux环境下使用webav时会出现报错 JSHandle@error 麻烦看下
image

const spr3 = new OffscreenSprite('spr3', new CanvasClip());
    // const spr4 = new OffscreenSprite('spr4', new CountdownClip(15));
    const com = new Combinator({
      width: logicalWidth,
      height: logicalHeight,
    });
    // await com.add(spr1, { duration: 10});
    await com.add(spr3, { duration: 3});
    // await com.add(spr3, { offset: 2, duration: 3});
    // await com.add(spr4, { offset: 1, duration: 1});
    // await com.add(spr2, { offset: 1, duration: 5});
    // await loadStream(com.output(), com);
    console.log('combineToVideo.com', com);
    com?.on('OutputProgress', (v) => {
      outputProgress = Number(v);
      console.log('OutputProgress', v);
      if (outputProgress === 1) {
        console.log('OutputProgress.done');
      }
    });
@gubeils gubeils changed the title 报错JSHandle@error linux 下运行报错JSHandle@error Apr 17, 2024
@hughfenghen
Copy link
Collaborator

请阅读 #60

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

2 participants