Elxis CMS Forum

Extensions => Components => Topic started by: illusion-web-solutions on June 14, 2013, 15:48:27

Title: Com_Gallery modification
Post by: illusion-web-solutions on June 14, 2013, 15:48:27
hello friends,
early we modified Com_Gallery to accept video and inline frames but we need your suggestions about creating thumb images for videos

what we did :
Com_gallery can display videos, youtube, other social videos but with a static video thumb image

what we need to do :

automatically create a video thumb image and use it instead of the static thumb for videos

any suggestions how to do that ???
Title: Re: Com_Gallery modification
Post by: datahell on June 15, 2013, 12:36:51
You need a video editing program like FFmpeg (http://ffmpeg.org/) installed on your server and your php enabled with function exec.
There is a ffmpeg-php API on github (https://github.com/CodeScaleInc/ffmpeg-php). Do some search, you might find out similar classes too.
Title: Re: Com_Gallery modification
Post by: illusion-web-solutions on June 15, 2013, 12:43:24
You need a video editing program like FFmpeg (http://ffmpeg.org/) installed on your server and your php enabled with function exec.
There is a ffmpeg-php API on github (https://github.com/CodeScaleInc/ffmpeg-php). Do some search, you might find out similar classes too.

we did lots of searches and we know FFmpeg of course but as we are going to release this modified component we need it to be supporting all hosting planes not only dedicate or VP servers so we are searching for alternative ways
Title: Re: Com_Gallery modification
Post by: datahell on June 15, 2013, 12:56:25
There are no alternative ways, you need a server based software to handle videos as PHP can't do that.
The only solution in case you want to upload the videos on your site and manage them by yourself is ffmpeg (or similar).
Off course if you load your videos on a third party service (youtube, video, etc) you can use their ready to use screenshots, but I guess you don't want that.
So, ffmpeg and no-one will be able to use this feature except you ;D (this is why you dont see such features on public projects).
Title: Re: Com_Gallery modification
Post by: illusion-web-solutions on June 15, 2013, 13:03:43
thanks a lot for your reply datahell i guess i may start a new project which will host videos and give screen shoots and maybe i will release it as a public website that users can subscript to it with a small fees and maybe make an API that allow users to use in there sites :D

many thanks again