Results 1 to 7 of 7
Like Tree1Likes
  • 1 Post By Potato

Thread: uploader for video files that compress it before sending to server

  1. #1
    MauMTS1000 is offline Member
    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Default uploader for video files that compress it before sending to server

    Hello,

    Is possible to do an applet for compress video file before upload it into web server?

    I must develop one website were user share video.
    The user make video with go-pro camera, the size of file is about 1,5Gb
    I want that the user choose in the applet the original file (1,5Gb), the applet compress it to 150Mb (reducing size) and only when the compression is finish the file will be uploaded on the server.

    Do you think is possible?

  2. #2
    Potato is offline Member
    Join Date
    Dec 2011
    Posts
    25
    Rep Power
    0

    Default Re: uploader for video files that compress it before sending to server

    GoPro has an .mp4 file format and is already compressed (h.264 compression).

    You are not gonna get the file size down to ~1/10th. This isn't really a question of java.

  3. #3
    MauMTS1000 is offline Member
    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Default Re: uploader for video files that compress it before sending to server

    Quote Originally Posted by Potato View Post
    GoPro has an .mp4 file format and is already compressed (h.264 compression).

    You are not gonna get the file size down to ~1/10th. This isn't really a question of java.
    I want to perform lossy compression of data, not lossless.
    I would like to know if Java has some libraries for make an compression of data (with lossy).
    I know that the video wil be bad than the original.
    Last edited by MauMTS1000; 12-27-2012 at 10:09 AM.

  4. #4
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,234
    Rep Power
    19

    Default Re: uploader for video files that compress it before sending to server

    Moved from Java Applets

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  5. #5
    MauMTS1000 is offline Member
    Join Date
    Dec 2012
    Posts
    3
    Rep Power
    0

    Default Re: uploader for video files that compress it before sending to server

    Quote Originally Posted by DarrylBurke View Post
    Moved from Java Applets

    db
    Sorry, but I want only to know the feasibility of my idea by one applet java.

  6. #6
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,234
    Rep Power
    19

    Default Re: uploader for video files that compress it before sending to server

    Maybe, but there's nothing Applet-specific about compressing video.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

  7. #7
    Potato is offline Member
    Join Date
    Dec 2011
    Posts
    25
    Rep Power
    0

    Default Re: uploader for video files that compress it before sending to server

    Ok if it's lossy you want, then check out FFMPEG (it's not Java), a multimedia framework that can handle the format you want (MPEG-4).

    There is a java port of FFMPEG (I haven't used it before, since FFMPEG is easy to use; it's a command line tool), JFFMPEG (Jffmpeg - Java Audio and Video Codecs for JMF) that has both native and java support for the format you want.

    You should be able to find some examples on how to compress video files using JFFMPEG/FFMPEG, good luck!
    Last edited by Potato; 12-28-2012 at 04:13 PM.
    DarrylBurke likes this.

Similar Threads

  1. Sending video
    By EvilMonkey in forum Networking
    Replies: 0
    Last Post: 11-22-2011, 12:21 AM
  2. File Uploader Recommendation?
    By rsquaredpgh in forum Java Applets
    Replies: 1
    Last Post: 10-13-2010, 03:46 AM
  3. How to play video files in Java
    By Hasan in forum Advanced Java
    Replies: 11
    Last Post: 04-26-2009, 11:57 PM
  4. dividing video files into frames..
    By swathi palla in forum AWT / Swing
    Replies: 0
    Last Post: 02-15-2009, 03:39 PM
  5. sending jar files from client to server?
    By gobinathm in forum New To Java
    Replies: 2
    Last Post: 11-13-2007, 05:12 AM

Posting Permissions

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