Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Uploading other video file than flv fails


Reply

4 Posts   1905 Views

Avatar
adesweb

24 July 2009 at 8:43pm Community Member, 39 Posts

Hi,

I am having a problem uploading any other video file than an flv. FFMPeg is installed, and FLV files upload and generate thumbnails fine.

I have tried the debug on handleswfupload() and it returns false even on the first test

if(isset($_FILES['swfupload_file']) && !empty($_FILES['swfupload_file']))

which suggests nothing is even getting set in the file field.

Is there something in the JavaScript test that is nullifying this field if it is not an FLV?

I have the line

$manager->setAllowedFileTypes(array("mpg",'mpeg','mp4','flv','mov','avi'));

in my getCMSFields, and have tried mpg and mp4 file types, all under the allowed PHP upload limit.

Any ideas?

Adrian

Avatar
adesweb

25 July 2009 at 1:37am Community Member, 39 Posts

Got a bit further on this. Increasing max_post_size in php.ini did the trick, but now I'm getting it hanging when it says 'processing...' at the end of the upload progress. If I abort, it still seems to have managed to get it into the system, but it doesnt trigger an upload success for some reason.

??

Avatar
UncleCheese

25 July 2009 at 3:31am 4085 Posts

You've confirmed that FFMPEG is installed and working? Check your ffmpeg_log.txt file to see what commands are being run.

Avatar
dacar

20 October 2010 at 2:19am Community Member, 168 Posts

hi adesweb, did you solve your problem? Have you ever tried to use uploadify together with ffmpeg?