Web button - calculate total duration of video files

CLOSED
Bids
6
Avg Bid (USD)
$215
Project Budget (USD)
$30 - $250

Project Description:
Hello. Thank you for checking out my ad.

What I'm trying to accomplish...
On a website, I need to calculate the total duration of user selected video files within a few seconds or less, no matter how many files the user selects. I'm open to hearing about other solutions, but I would rather do this using ffmpeg or ffprobe because of it compatibility with so many different formats of video.

What I've tried...
I have a solution that uploads chunks of the videos to a server for ffmpeg to get the duration, but even that takes about 2 to 7 seconds per video. So if the user select 100 videos, the wait can be quite lengthy.

Any solution needs to work on the client side so there is no wait for uploading any data.
various methods could be:
- load the videos into some sort of player that can yield the duration of each video into a variable
- write something that extracts and reads metadata for specific formats and make it for the popular ones (avi, mov, F4V, FLV, MP4)
- Find the portion of ffmpeg that reads meta data (avcodec) and port it to a java compiler so it can run as javascript on the page.
- or find a way to compile all of ffmpeg in java (i read on the internet that this is may be possible)

I'd rather go with a developer who already knows how to do it. If you are interested in the job, please offer your general method idea in accomplishing this task.

Thank you for taking the time to read this. have a nice day.

Skills required:
HTML, Java, Javascript, Video Upload
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.


$ 257
in 7 days
$ 240
in 12 days
$ 200
in 5 days
$ 144
in 3 days
Hire jh3141
$ 295
in 14 days
$ 155
in 3 days