3

The question is similar to: Is there any way to create a video thumbnail through PHP without ffmpeg? However, that thread is 6-year old and technologies have evolved since then.

Any way to extract a thumbnail from uploaded MP4 file using PHP?

Ffmpeg is great, but unfortunately unsupported on shared hosting accounts, requiring a dedicated server. And it's a kinda overkill to use ffmpeg's power just to generate a video preview picture.

Any other simple solution?

SharpAffair
  • 5,558
  • 13
  • 78
  • 158
  • Not really. Implementing all kinds of video decoders in pure php would be tremendous work, require much more resources and ffmpeg already does it quickly and reliably. – Maadinsh May 18 '18 at 12:37
  • Similar to [How can i create thumbnail and convert video into mp4 in php without ffmpeg?](https://stackoverflow.com/questions/48806958/how-can-i-create-thumbnail-and-convert-video-into-mp4-in-php-without-ffmpeg) – llogan May 18 '18 at 18:12

0 Answers0