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

investigate ffmpeg/ffmpeg-probe/vercel compatability #15

Open
nickadamson opened this issue Nov 4, 2022 · 1 comment
Open

investigate ffmpeg/ffmpeg-probe/vercel compatability #15

nickadamson opened this issue Nov 4, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request question Further information is requested

Comments

@nickadamson
Copy link
Owner

as mentioned in #14, I need to investigate how to get video dimensions/resolution server side from a url.

due to the varied nature of video codecs, this pretty much requires the use of ffmpeg.
there is a nodejs wrapper for it: https://github.com/fluent-ffmpeg/node-fluent-ffmpeg

the use of ffmpeg is likely going to involve some extra setup for server deployments, but this might help: https://www.npmjs.com/package/@ffprobe-installer/ffprobe

depending on how difficult installation is for users of this library and vercel deployment limits, this might actually be cause for creating 2 separate libraries, one that only supports images, and one that supports images+videos.

@nickadamson nickadamson self-assigned this Nov 4, 2022
@nickadamson nickadamson added enhancement New feature or request question Further information is requested labels Nov 4, 2022
@nickadamson
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant