Skip to content

Recording video on lambda #57

Open
@yongfook

Description

@yongfook

Has anyone successfully got video recording to work on lambda + playwright?

Working fine locally, but after deploying to lambda:

browserContext.newPage: Executable doesn't exist at /home/sbx_user1051/.cache/ms-playwright/ffmpeg-1007/ffmpeg-linux

Attempting to install ffmpeg via a lambda layer results in a package size that's too big for lambda.

Attempting to install ffmpeg and set the path via:

const pathToFfmpeg = require('ffmpeg-static');
const ffmpeg = require('fluent-ffmpeg');
ffmpeg.setFfmpegPath(pathToFfmpeg);

Results in the same error as above.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions