+ Post New Thread
Results 1 to 11 of 11
Web Development Thread, Video upload project in Coding and Web Development; I have been asked to look into a way of allowing a small number of users to upload videos (taken ...
  1. #1

    Join Date
    May 2009
    Location
    UK
    Posts
    294
    Thank Post
    64
    Thanked 21 Times in 20 Posts
    Rep Power
    16

    Video upload project

    I have been asked to look into a way of allowing a small number of users to upload videos (taken within the organisation with the consent of the subject(s) of the videos) to a server and allow many users to download them to their own PC. This isn't in an educational setting so I won't have to consider any DPA or other legal matters, indeed the IT manager will be responsible for any legal considerations. I have been asked to investigate the options.

    I have a few general questions that can be divided into two sections:

    First:

    My "gut" feeling is to have some web pages for the upload and download facilities behind a login page. PHP will interact with a MySQL database so the files can be uploaded and the path, along with other data about the files, stored in the database. When downloading, the user interrogates the database via a web page in order to provide a link to the file on the server.

    The files may be very large (500MB) and I understand that there's a file upload limit of 2MB in PHP. This can be increased, but is there an ABSOLUTE limit? This is planned to work on a LAN, rather than a WAN, so moving such large files shouldn't be such a problem.

    I recall that there is a time-out when PHP scripts are running. Will that be relevant? If so, can it be increased and is there an ABSOLUTE maximum that can be set?

    Second:

    I know there are many excellent PHP tutorials out there, including playlists on YouTube so I think I should be able to create something (assuming the questions I have above can be overcome), but are there any pre-built solutions? I've heard of Sharepoint but have no experience of using it. I have some experience of Linux and xampp (it has Apache, PHP and MySQL) so MY preference, as a Yorkshireman, would be to go with that! However, there could be a preference for using a MS solution (Server 2008, IIS and MS SQL) so, if I develop everything at home using Linux and xampp, how easy would it be to transfer everything to a Windows environment?

    I don't want to waste time developing this if there is an easy, cheap solution available or if I get to the final stages of the project, only to find that there's a massive hurdle that I can't overcome and I have to start from scratch.

    Thanks for your time.

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,613
    Thank Post
    746
    Thanked 1,706 Times in 1,519 Posts
    Rep Power
    437
    Just install some form of off the shelf media centre server.

    Btw just because it's not an edu establishment doesn't mean dpa etc... doesn't apply.

    Ben

  3. #3
    danbuntu's Avatar
    Join Date
    Dec 2009
    Location
    Maidstone, Kent
    Posts
    306
    Thank Post
    0
    Thanked 56 Times in 53 Posts
    Rep Power
    20
    I've used vshare for this in the past.

    However I looking to ditch this in favour of something html 5 based.

  4. #4

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,821
    Thank Post
    272
    Thanked 1,140 Times in 1,036 Posts
    Rep Power
    351

  5. 2 Thanks to glennda:

    Ignatius (9th July 2012), jinnantonnixx (19th July 2012)

  6. #5

    Join Date
    Nov 2011
    Posts
    163
    Thank Post
    24
    Thanked 21 Times in 17 Posts
    Rep Power
    12
    I have been asked to look into a way of allowing a small number of users to upload videos (taken within the organisation with the consent of the subject(s) of the videos) to a server and allow many users to download them to their own PC. .... This is planned to work on a LAN, rather than a WAN
    If this is working on a LAN, why do you need anything other than a shared area folder with the correct permission? Couldn't get much easier or cheaper than that... Unless you want people to be able to search for the videos by different fields.

    As for website, be mindful of PHP's timeout and upload settings (if you change the max upload, you may also need to change the timeout to stop the script timing out)

    P.S DPA does apply to every business

  7. #6

    Join Date
    May 2009
    Location
    UK
    Posts
    294
    Thank Post
    64
    Thanked 21 Times in 20 Posts
    Rep Power
    16
    @plexer: Thank you. I thought about a media server, but the users need to search based upon keyword(s) rather than by filename. I don't know if this is possible with many media servers, unless you know of any (I'll get to glennda's suggestion shortly!).

    I mentioned the DPA merely because I felt sure that someone would raise it in a response. As I said, it doesn't concern me and the IT manager is responsible for such legal matters. My involvement is doing the research and, if necessary, developing working code.

    @danbuntu: Thank you - a negative comment in this scenario is just as valuable as a positive one. It guides me away from something that I should avoid!

    @glennda: That looks like it's exactly what I need! If anything, it seems to provide some unnecessary facilities and you imply that I can disable them in some way. It'll be a little while before I can get it downloaded and set up on a test system.

    As a matter of interest, is it something that you've used or is it something that you found by researching this topic for me? </embarrassed!>

    @mossj88: Yes, a shared folder with appropriate permissions would be a solution but, as I mentioned above, I need to be able to have users search by keywords, rather than by filename. Eventually, this *might* be moved to a WAN scenario and I realise that bandwidth could be a problem. Addressing this is also in the realm of the IT manager.

    I mentioned the default upload limit of 2MB and the time-out for PHP. I know they can be increased but is there an ABSOLUTE maximum file size and ABSOLUTE maximum time-out? Some of the files may be >200MB in size.

  8. #7

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,613
    Thank Post
    746
    Thanked 1,706 Times in 1,519 Posts
    Rep Power
    437
    Quote Originally Posted by Ignatius View Post
    @plexer: Thank you. I thought about a media server, but the users need to search based upon keyword(s) rather than by filename. I don't know if this is possible with many media servers, unless you know of any (I'll get to glennda's suggestion shortly!).
    With a media centre/erver I would absolutely expect to be able to search for content based on meta tags.

    MEDIAPORTAL - MediaPortal Features: Video / DVD

    Ben

  9. Thanks to plexer from:

    Ignatius (10th July 2012)

  10. #8

    Join Date
    Nov 2011
    Posts
    163
    Thank Post
    24
    Thanked 21 Times in 17 Posts
    Rep Power
    12
    Quote Originally Posted by Ignatius View Post
    I mentioned the default upload limit of 2MB and the time-out for PHP. I know they can be increased but is there an ABSOLUTE maximum file size and ABSOLUTE maximum time-out? Some of the files may be >200MB in size.
    One way to find out... try uploading a 1gb file with a simple php script, if that works your golden.

  11. #9

    Join Date
    May 2009
    Location
    UK
    Posts
    294
    Thank Post
    64
    Thanked 21 Times in 20 Posts
    Rep Power
    16
    @plexer - I've never played around with any media server so didn't know what facilities to expect (other than the obvious in that it serves media files, doh!)

    @mossj88 - yes, I suppose a bit of trial and error. Maybe I'll try a few simple experiments, earlier rather than later, just in case I want to see if I can code something myself. At present though, it looks like I *might* be able to find something off the shelf.

  12. #10

    Join Date
    Jan 2011
    Posts
    2
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Hi,
    How about using a free web based files management system like ajaxexplorer (sorry, the forum doesn't allow me to post the link Just google it please. ) ?
    Looks cool but i must admit that i don't have any experience with the soft though

    HTH,

  13. #11

    Join Date
    May 2009
    Location
    UK
    Posts
    294
    Thank Post
    64
    Thanked 21 Times in 20 Posts
    Rep Power
    16
    @isrc - Thank you for the recommendation.



SHARE:
+ Post New Thread

Similar Threads

  1. Free video upload & streaming other than youtube
    By chrisjako in forum AV and Multimedia Related
    Replies: 1
    Last Post: 13th June 2011, 01:44 PM
  2. Replies: 0
    Last Post: 25th April 2011, 02:26 PM
  3. [Video] Live video object tracking - some dude's phd project
    By mattx in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 2nd April 2011, 07:51 PM
  4. Uploading Videos to Blogger
    By Cache in forum Internet Related/Filtering/Firewall
    Replies: 0
    Last Post: 9th February 2010, 12:58 PM
  5. [Video] Project Natal's Milo Is the Future of Video Games
    By mattx in forum Jokes/Interweb Things
    Replies: 0
    Last Post: 5th June 2009, 01:42 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •