FFMPEG & PHP: Get Thumbnails (Screenshots) From Video

preview_player
Показать описание
A video tutorial showing you how to get a thumbnail/screenshot of a video that is being uploaded.

Рекомендации по теме
Комментарии
Автор

You can do if you have your own server or have shell access on Linux, which I don't think you would have.
There is a perl extension which I'm planning on doing a video on, and maybe looking into other ways to get it working for many hosted websites.

abell
Автор

it worked perfectly for me. just make sure u install ffmpeg just like abell12 described and then check ur path

Fecobee
Автор

Hello,
I would like to know the parameter to enter a destination folder selected in my directory to send the extracted images of frames, you could say me ? thank you !!

RobertNoronha
Автор

how can change the video quality with ffmpeg please ??!!

mohmedsalem
Автор

It creates in the same folder as the PHP file. Did you try and change that location?

abell
Автор

hey can u tell me where u have set the path for screenshort image ?

innocentsara
Автор

what folder can i see the uploaded image or sreenshot?

juanvideos
Автор

Do you mean convert files to another format?

abell
Автор

Excellent tutorial, It's Work. used with wamp on windows server! thanks!

bramilgarcia
Автор

you could do a tutorial on how to put ffmpeg for converting video. mp4 or. FLV?

FacadexHired
Автор

sir i want to upload video any type of file and it gives me output in only .mp4 file ?? How to do this in PHP ?

ronakmodi
Автор

Hi abell12,

Thanks for this tutorial. What I want to ask is with this method do you have to invoke move_upload_file at anytime?

krislegends
Автор

Like converting it on the fly when uploaded. Right now I can only play mp4 files.

Fecobee
Автор

how can get thumbnails while uploading video godaddy server .php

anim
Автор

hi, Do you know how to compress videos in ffmpeg by using it in php script before uploading to the server?

kranthikumar
Автор

Hi is possible creating a video using one image and one audio.. with a php script? how can I do that?. Many thanks

matiasvaldiviezo
Автор

Hey could u make an tutorial for other file types like mp4 wmv

zstavba
Автор

i have downloaded the ffmpeg but the folder structure is totally different than yous..even it showing Thumbnail Created! but no file is created in my directory.help please!

thesonglover
Автор

Thanks for sharing this video, it was really helpful 

hiteshbhilai
Автор

It works for me but not for every video file extensions, in my case only works for some wmv files not every one including wmv's. I dont know where the problem is? :(

parth-mehta