Piwigo / piwigo-videojs

Videojs port for piwigo. Play your videos on your web gallery!
http://piwigo.org/ext/extension_view.php?eid=610
GNU General Public License v3.0
64 stars 45 forks source link

Upload video "unsupported format" #215

Open sapycola opened 11 months ago

sapycola commented 11 months ago

Hi, i have installad videoJs. my Localfile:

$conf['upload_form_all_types'] = true; $conf['sync_charsregex'] = '/^[a-zA-Z0-9-. ]+$/'; $conf['show_exif'] = true; $conf['show_exif_fields'] = array( 'Make', 'Model', 'ExifVersion', 'Software', 'DateTimeOriginal', 'FNumber', 'ExposureBiasValue', 'FILE;FileSize', 'ExposureTime', 'Flash', 'ISOSpeedRatings', 'FocalLength', 'FocalLengthIn35mmFilm', 'WhiteBalance', 'ExposureMode', 'MeteringMode', 'ExposureProgram', 'LightSource', 'Contrast', 'Saturation', 'Sharpness', 'bitrate', 'channel', 'date_creation', 'display_aspect_ratio', 'duration', 'filesize', 'format', 'formatprofile', 'codecid', 'frame_rate', 'latitude', 'longitude', 'make', 'model', 'playtime_seconds', 'sampling_rate', 'type', 'resolution', 'rotation', );

But it's impossibile to load a file video .mp4, i try to add extension: 'mp4' but not work to upload it.

deysumitkr commented 11 months ago

Have you tried to set $conf['upload_form_all_types'] = true;?

// for some file types, Piwigo will try to generate a pwg_representative
// (TIFF, videos, PDF)
$conf['upload_form_all_types'] = true;

Ref: https://piwigo.org/forum/viewtopic.php?pid=183400#p183400