Topic on Extension talk:TimedMediaHandler

Notice: Undefined index

4
StormKyleis (talkcontribs)

Hello,

we are getting the following PHP errors in the pages where TimedMediaHandler is used, and the entire content of the page becomes blank:

Notice: Undefined index: oga in /var/www/OUR WEBSITE/www/w/extensions/TimedMediaHandler/includes/WebVideoTranscode/WebVideoTranscode.php on line 1070
Notice: Undefined index: ogv in /var/www/OUR WEBSITE/www/w/extensions/TimedMediaHandler/includes/WebVideoTranscode/WebVideoTranscode.php on line 1070
Notice: Undefined index: vorbis in /var/www/OUR WEBSITE/www/w/extensions/TimedMediaHandler/includes/WebVideoTranscode/WebVideoTranscode.php on line 1070
Notice: Undefined index: oga in /var/www/OUR WEBSITE/www/w/extensions/TimedMediaHandler/includes/WebVideoTranscode/WebVideoTranscode.php on line 1070
Notice: Undefined index: ogv in /var/www/OUR WEBSITE/www/w/extensions/TimedMediaHandler/includes/WebVideoTranscode/WebVideoTranscode.php on line 1070
Notice: Undefined index: vorbis in /var/www/OUR WEBSITE/www/w/extensions/TimedMediaHandler/includes/WebVideoTranscode/WebVideoTranscode.php on line 1070

LocalSettings.php contains:

wfLoadExtension( 'TimedMediaHandler' );
$wgEnableTranscode = true;
$wgFFmpegLocation = '/usr/bin/ffmpeg';
$wgEnabledAudioTranscodeSet = [
   'vorbis' => true,
   'mp3' => true,
   'ogg' => true,
   'oga' => true,
   'ogv' => true
];

Special:Version contains:

MediaWiki		1.32.0
PHP			7.2.33-1+0~20200807.47+debian10~1.gbpcb3068 (fpm-fcgi)
MariaDB			10.3.23-MariaDB-0+deb10u1
ICU			65.1
...
TimedMediaHandler	0.6.0 (13591c8) 01:23, 13 ott 2019

From the error log: https://pastebin.com/wLB2R3db

We tried uninstalling and re-installing the extension, following every step. We tried TimedMediaHandler 0.5.0 and then 0.6.0 with no success. Ffmpeg is installed. Note that the extension was working until a few days ago, when we moved to a new server, any other extension is working like before.

Any idea of what the problem might be?

TheDJ (talkcontribs)

The only valid audio profiles are: ogg, opus, mp3 and m4a. I notice that the main documentation page is also wrong here. I'll update that.

TheDJ (talkcontribs)
Spas.Z.Spasov (talkcontribs)

As I remember correctly, I experienced a similar issue before I set $wgMaxShellMemory = 907200; within LocalSettings.php.

Reply to "Notice: Undefined index"