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   1946 Views

Avatar
adesweb

Community Member, 39 Posts

24 July 2009 at 8:43pm

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

Community Member, 39 Posts

25 July 2009 at 1:37am

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

Forum Moderator, 4096 Posts

25 July 2009 at 3:31am

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

Avatar
dacar

Community Member, 168 Posts

20 October 2010 at 2:19am

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