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

Export initial frame(of first sec) of image from video #499

Open
omer-habib-blocship opened this issue Sep 7, 2023 · 0 comments
Open

Export initial frame(of first sec) of image from video #499

omer-habib-blocship opened this issue Sep 7, 2023 · 0 comments

Comments

@omer-habib-blocship
Copy link

The file is resulting into exception that Runtime Exception is resulted due to
"Encoding failed ".

`
use ProtoneMedia\LaravelFFMpeg\Support\FFMpeg;

$file= FFMpeg::open([$filename, 'thumb.jpg'])->getFrameFromSeconds(1)->save();
`
I have added the packages and config in lumen

image

@omer-habib-blocship omer-habib-blocship changed the title Export to initial frame to image from video Export initial frame(of first sec) of image from video Sep 7, 2023
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

1 participant