Skip to content
This repository has been archived by the owner on Jun 23, 2024. It is now read-only.

TypeError: Cannot read properties of undefined (reading 'match') #2

Open
LNERDSIM opened this issue Apr 4, 2022 · 5 comments
Open

Comments

@LNERDSIM
Copy link

LNERDSIM commented Apr 4, 2022

Hi! Get this error? Can you fix it?

TypeError: Cannot read properties of undefined (reading 'match')
at createSizeFilters (/app/node_modules/fluent-ffmpeg/lib/options/videosize.js:79:29)
at FfmpegCommand.proto.withSize.proto.setSize.proto.size (/app/node_modules/fluent-ffmpeg/lib/options/videosize.js:209:19)
at Object.module.exports.Start (/app/stream.js:45:10)
at processTicksAndRejections (node:internal/process/task_queues:96:5)

@macedonga
Copy link
Owner

Have you set the enviroment variables as told on the readme?

@LNERDSIM
Copy link
Author

LNERDSIM commented Apr 4, 2022

Yes:
Have set an .env file. Can you fix it?

@macedonga
Copy link
Owner

What did you set the VIDEO_SIZE variable to?

@LNERDSIM
Copy link
Author

LNERDSIM commented Apr 5, 2022

1920x1080

@LNERDSIM
Copy link
Author

LNERDSIM commented Apr 5, 2022

Btw (Using heroku)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants