Topic on Extension talk:TimedMediaHandler

Error creating thumbnail

4
Elbiztec (talkcontribs)

Hello, I installed the extension TimedMediaHandler and run good in sounds, but in video it appears with this error, i created temp folder and put the code $wgTempDirectory but not work, any help would be greatly appreciated

Brooke Vibber (talkcontribs)

Assuming ffmpeg is installed correctly, it's common to get thumbnailing errors due to the low default memory limit.

Try adding to LocalSettings.php: $wgMaxShellMemory *= 4;

Silkwood (talkcontribs)

Assuming ffmpeg is installed....add

$wgFFmpegLocation = '/path/to/ffmpeg';

after wfLoadExtension( 'TimedMediaHandler' );

Kghbln (talkcontribs)

Indeed, this is the error message I got:

Error generating thumbnail

Error creating thumbnail: File::transform() returned false

This requires you to do the following configuration, at least on a Ubuntu 18.04:

wfLoadExtension( 'TimedMediaHandler' );
$wgFFmpegLocation = '/usr/bin/ffmpeg';

The default setting that comes with the extension points to a "avconv" binary which is not present in Ubuntu 18.04. Silkwood's recommendation is a time saver.

Reply to "Error creating thumbnail"