Jump to:

7940 Posts in 1543 Topics by 946 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, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1897 Views
  • adesweb
    Avatar
    Community Member
    39 Posts

    Uploading other video file than flv fails Link to this post

    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

  • adesweb
    Avatar
    Community Member
    39 Posts

    Re: Uploading other video file than flv fails Link to this post

    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.

    ??

  • UncleCheese
    Avatar
    4085 Posts

    Re: Uploading other video file than flv fails Link to this post

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

  • dacar
    Avatar
    Community Member
    168 Posts

    Re: Uploading other video file than flv fails Link to this post

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

    1897 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.