Piwigo Bugtracker

Piwigo bug tracker has moved to Github

This bugtracker is kept to provide history on old issues.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003217Piwigobugpublic2015.04.04 13:242015.04.21 13:01
Reporterxbgmsharp 
Assigned Toplg 
PrioritynormalSeveritytrivialReproducibilityalways
StatusassignedResolutionopen 
PlatformOSOS Version
Product Version2.7.4 
Target Version2.8.0beta1Fixed in Version 
Summary0003217: Allow m4v on upload
DescriptionHello,

A user report than some video works fine and some other no.
After checking, the limitation is on PWG core upload function.

The variable $ffmpeg_video_exts does not allow m4v file.

File: admin/include/functions_upload.inc.php
Line: 320

Steps To ReproduceUpload an MP4 video file and you will have a poster created.
Upload an M4V video file and you won't have a poster.
TagsNo tags attached.
browserany
Database engine and version
PHP version
Web serverApache 2.x
Attached Files

- Relationships

-  Notes
(0007790)
xbgmsharp (reporter)
2015.04.04 13:32

I suggest the following:

$ffmpeg_video_exts = array( // extensions tested with FFmpeg
    'wmv','mov','mkv','mp4','mpg','flv','asf','xvid','divx','mpeg',
    'avi','rm', 'm4v', 'ogg', 'ogv', 'webm', 'webmv',
    );

$ffmpeg_video_exts = array_merge ($ffmpeg_video_exts, $ffmpeg_video_exts, array_map('strtoupper', $ffmpeg_video_exts) );
(0007791)
xbgmsharp (reporter)
2015.04.13 12:20

Works better that way.

$ffmpeg_video_exts = array( // extensions tested with FFmpeg
    'wmv','mov','mkv','mp4','mpg','flv','asf','xvid','divx','mpeg',
    'avi','rm', 'm4v', 'ogg', 'ogv', 'webm', 'webmv',
    );

$ffmpeg_video_exts = array_merge ($ffmpeg_video_exts, array_map('strtoupper', $ffmpeg_video_exts) );

- Issue History
Date Modified Username Field Change
2015.04.04 13:24 xbgmsharp New Issue
2015.04.04 13:32 xbgmsharp Note Added: 0007790
2015.04.13 12:20 xbgmsharp Note Added: 0007791
2015.04.21 13:01 plg Assigned To => plg
2015.04.21 13:01 plg Status new => assigned
2015.04.21 13:01 plg Target Version => 2.8.0beta1


Copyright © 2000 - 2018 MantisBT Team
Contact
Powered by Mantis Bugtracker