PHP function/library to create screenshot from movie [closed]
-
11-06-2021 - |
Pergunta
I have a site where users upload movies (MP4, FLV, OGV).
I need a PHP function to generate a poster/screenshot in JPG automatically from an uploaded movie. The screenshot should be for the opening scene of the movie.
If it is a javascript utility (rather than PHP), that will be fine too.
I can't find anything. Where should I look?
Outras dicas
You could easily do that with ffmpeg-php. You will need to have FFMPEG installed on the server for this.
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow