Adding MP4 Vid Photo Cover

Please see attached.. I uploaded MP4 video, but after it was processed, the video cover is dark and was wondering if there is a way to show a picture on the video cover..

Also, how to limit the size of the video to be 2Mb or less ?

Thanks. 

mp4-cover.PNG · 5.5K · 167 views
Quote · 12 May 2016

you forgot to attach.... 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 12 May 2016

Thanks Jay. I attached it now. just a dark blank square with small gif on it..

Quote · 12 May 2016

I can answer about dark image.

Normally every video start like that and when it is being processed image is created from the beginning of the video.

If you change the time to capture image for example at 20sec of video than there should be a image, not just black one....

If that is the problem I can tell you where to modify this settings.

 

Greetings

Mayki 

"When things get tough the tough get going..."
Quote · 12 May 2016

Thanks Mayki ! can you please tell me where to modify the settings ?

Quote · 12 May 2016

@Jay - Please check your PM.  Thx.

Quote · 12 May 2016

 

can you please tell me where to modify the settings ?

 Hi,

 

this is how I did it:

Changes in a file: 

/flash/modules/video/inc/functions.inc.php 

change:

line 311:

- original:

function grabImages($sInputFile, $sOutputFile, $iSecond = 0, $bForse = false, $aFilesConfig = array())

- changed to 20sec:

function grabImages($sInputFile, $sOutputFile, $iSecond = 20, $bForse = false, $aFilesConfig = array())

 

line 344:

- original:

function grabImage($sInputFile, $sOutputFile, $sSize = "", $iSecond = 0, $bForse = false)

- changed to 20sec:

function grabImage($sInputFile, $sOutputFile, $sSize = "", $iSecond = 20, $bForse = false)

 

I hope it will work for you.

Greetings

Mayki

"When things get tough the tough get going..."
Quote · 12 May 2016

Actually we have algorithm which checks if video is totally black or white and get another image at different time. So it shouldn't a problem.

Also making to start image capturing at 20sec may have problems with videos which are less than 20 sec long.

If you change the time to capture image for example at 20sec of video than there should be a image, not just black one....

 

Rules → http://www.boonex.com/terms
Quote · 14 May 2016
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.