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

Black strips on top and bottom in video, while using "executablePath" of newest version of chrome (84). #23

Open
shubham-pixelnx opened this issue Jul 24, 2020 · 2 comments

Comments

@shubham-pixelnx
Copy link

Trying to get 4k output, just added executablePath but in the output video it's showing the black border at the top and bottom of the video, check this screenshot below.
out
Using Node v12.18.0, and puppeteer-core@5.2.1
also I noticed this bar not sure if this is the problem
Untitled

Here's the modified code, else everything is same.

const puppeteer = require("puppeteer-core");
let width = 3840;
let height = 2160;
let options = {
    headless: false,
    executablePath:
        "C:\\Program Files (x86)\\Google\\Chrome\\Application\\Chrome.exe",
    args: [
        "--enable-usermedia-screen-capturing",
        "--allow-http-screen-capture",
        "--auto-select-desktop-capture-source=puppetcam",
        "--load-extension=" + __dirname,
        "--disable-extensions-except=" + __dirname,
        "--disable-infobars",
        `--window-size=${width},${height}`,
    ],
};
@JamesBotterill
Copy link

I believed I resolved this by adding —kiosk to my args

@shubham-pixelnx
Copy link
Author

Okay, will try.
Thanks, James!

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