[ home / bans / all ] [ qa / jp ] [ maho ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]

/maho/ - Magical Circuitboards

Advanced technology is indistinguishable from magic

New Reply

Options
Comment
File
Whitelist Token
Spoiler
Password (For file deletion.)
Markup tags exist for bold, itallics, header, spoiler etc. as listed in " [options] > View Formatting "


[Return] [Bottom] [Catalog]

File:381cb6efb8fd884a4fff7d64ae….jpg (162.35 KB,500x333)

 No.375

how to allow webm and disallow webp, mp4 in vichan?

 No.376

File:Star Twinkle Precure 14.mk….jpg (223.65 KB,1920x1080)

Seems like a techy question for the new tech board!

 No.377

Questions go on the questions board.

 No.378

uhhh, fug... how do you do it again..

 No.379

$config['allowed_ext_files'][] = 'webm';

...........

// WebM Settings
$config['webm']['use_ffmpeg'] = true;
$config['webm']['expected_format'] = array('webm' => 'webm', 'mp4' => 'mp4');
$config['webm']['video_codecs'] = array('vp8', 'vp9', 'h264', 'av1');
$config['webm']['allow_audio'] = true;
$config['webm']['max_length'] = 90000;
$config['webm']['ffmpeg_path'] = 'ffmpeg';
$config['webm']['ffprobe_path'] = 'ffprobe';

Have ffmpeg , ffprobe installed on your server device

 No.380

also you probably need google's webm package that likely is installed by apt install webm-dev

 No.381

how to disallow webp?

 No.382

>>381
by not having it in the allowed_ext

 No.383

It's quite well documented in the config.php file (that you're not supposed to edit, use instance-config.php to overwrite default valuse). There's comments everywhere and what it does. Just mess around with it.
Why disable mp4 and allow webm? mp4 has highest support.
I thank you greatly for using vichan. It's far less of an eyesore as a user than all the newer ones.
Wakaba is pretty decent too in terms of being a pleasant user experience, but it's a lot more hassle for the admin.




[Return] [Top] [Catalog] [Post a Reply]
Delete Post [ ]

[ home / bans / all ] [ qa / jp ] [ maho ] [ f / ec ] [ b / poll ] [ tv / bann ] [ toggle-new / tab ]