Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
MAX-RAY
Topic Author
Posts: 3
Joined: 15 Apr 2012, 08:00

Dangerous EXEC function is used for video thumbs. creation

03 Dec 2012, 12:44

After checking the code of the last imagevue gallery i found that video thumbs is created by calling FFMPEG from PHP using a EXEC function, that is usually is disabled on most of hosting servers because of potential risks.
It was a good idea to create the thumbs automatically but in most cases it will not work ( because of security risks)
So i have idea to push the video thumbs using a CRON
If someone have any ideas or suggestions - WELCOME
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: Dangerous EXEC function is used for video thumbs. creati

07 Dec 2012, 01:30

You can pre-create thumbnails manually as tn_filename.jpg or upload a "cover" image for the video and then click "Choose thumbnail" button on the video file in admin. The cover image can be deleted after.
firedev.com