Manigandan Arjunan
Manigandan Arjunan

Reputation: 2265

how to create a thumbnail of uploaded video file in php without ffmpeg?

Is there any possiblity to create a thumbnail of uploaded video file in php without using ffmpeg.

Upvotes: 3

Views: 13039

Answers (2)

m4t1t0
m4t1t0

Reputation: 5731

In the past I have used this website to do video conversion and create thumbnails. It works very well and have both free and paid plans.

The system consists of several "robots" that do different jobs. These robots can read your videos if you put them in a public folder with an URI or Amazon S3 for example. The actions that the robot must do are defined in "templates" in JSON and have a PHP SDK. Have a look at the docs.

P.S: I'm not related with transloadit, seems like I am a commercial guy...

Upvotes: 2

Rudiger Kidd
Rudiger Kidd

Reputation: 496

Most server side scripts rely on ffmpeg, so if you can't use that you can either upload the video to an external service but that would mean sending the whole file OR you could try creating them client-side in the browser -- Generate thumbnails from video files using HTML5's video tag and canvas

If however you can't use ffmpeg for installtion reasons you could look at a wrapper -- It currently provides FFmpeg-PHP emulation in pure PHP so you wouldn't need to compile and install the module.

Upvotes: 2

Related Questions