Find Jobs
Hire Freelancers

Android code to download partial video from server and save as new small file locally

$250-750 USD

Cancelled
Posted about 6 years ago

$250-750 USD

Paid on delivery
We're experiencing issues with our Java based android app. We have very large video files on a camera that has wifi. The camera has files which are 3 minutes long and 320 – 434MB in size. We want to connect to the camera and create 30 second video snippets from it. Right now we’re downloading the whole 320-434MB file, and trimming on the phone, but this takes a long time (up to 10 minutes sometimes). So what we want to do now is connect and only download the 30 second video fragment that we need. We checked and the cameras support partial downloading (The server returns status 206). For example, we have a video file at [login to view URL] which is 3 minutes long, and we only want to download the video from 2:20 to 2:50. We want the code to access the video file, skip to 2:20, and download only the required video, and not the entire video file. This needs to be done on the device as we cannot change anything on the camera, so please do not offer a server side solution or a solution that requires us to download the whole video file. We tried FFMPEG but have this issue: [login to view URL] Our app needs to connect to the device and use FFMPEG to perform a partial download, but because FFMPEG works as a separate child process it doesn't use the network bind that our app chooses, so we need to modify the ffmpeg-android-java source to add a command-line parameter for ffmpeg which specifies the network it should use. We also tried doing a partial GET download of the video, but have issues rebuilding the mp4 header and metadata in order to make the file playable. So, in short. The code needs to connect to the camera, download only the relevant video, and create a working, playable mp4 video on the phone
Project ID: 16755994

About the project

4 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
1. use android mediacodec to get media meta data such as frame duration, bitbyte per frame. use this params to calculate how many byte data should be skip 2 use android media mixer to re codec to mp4 file
$555 USD in 3 days
0.0 (1 review)
2.5
2.5
4 freelancers are bidding on average $491 USD for this job
User Avatar
Hi, I am Android expert and I understand your project requirement.I am ready to start working on it but please if possible come on chat for further details discussion to start working on it. Thanks
$555 USD in 10 days
4.8 (7 reviews)
4.8
4.8
User Avatar
Greetings, I can build or fix your application as you mentioned in project description. I am an independent and professional developer holding 100% completion rate. I am highly interested about your project, Please knock me for a quick discussion.
$300 USD in 8 days
5.0 (13 reviews)
0.0
0.0

About the client

Flag of ISRAEL
Israel
0.0
0
Payment method verified
Member since Mar 18, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.