Hello Friends, I need Help to upload video and create a thumb image of that video like youtube using php. Thank
You could use something like ffmpeg-php which needs to be installed on the server you are using. You could then use that to generate the thumbnail, here is a relevant question that seems to be answered along with an example on how to do that http://stackoverflow.com/questions/3911797/ffmpeg-php-to-create-thumbnail-of-video php alone wont let you do this, you will need something on the server to help you. I assume most shared hosts would not support this.
Sure, not sure what system you are on but my favourite is Centos 6, a google search gives you this guide which looks good and detailed https://stavrovski.net/blog/install-ffmpeg-and-ffmpeg-php-in-centos-6-with-virtualmin I searched for "ffmpeg-php install centos" you could search for "ffmpeg-php install <operating system here>" which should give you guides for whatever you are using hope that helps
There is no simple way to do it using only PHP. you should use an external tool for shrinking the video resolution. Such a tool may be ffmpeg/mencoder/avconv. On Ubuntu you can use apt-get * to install packages, on CentOS you can use yum install * You should run the tool carefully using PHP since any system() / exec() calls may lead to a security issues. Use google and lookup the mentioned tools. Good luck!
Hi, Creating thumbnails for a video with php is a bit easy task, can you please go through this link. A better understandable explanation is here http://code.tutsplus.com/articles/how-to-dynamically-create-thumbnails--net-1818