7921 Posts in 1359 Topics by 933 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Uploading other video file than flv fails
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 1758 Views |
-
Uploading other video file than flv fails

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
-
Re: Uploading other video file than flv fails

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.
??
-
Re: Uploading other video file than flv fails

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.
-
Re: Uploading other video file than flv fails

20 October 2010 at 2:19am
hi adesweb, did you solve your problem? Have you ever tried to use uploadify together with ffmpeg?
| 1758 Views | ||
|
Page:
1
|
Go to Top |


