In Progress

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

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 [url removed, login to view] 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:

[url removed, login to view]

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

In your proposal please add how you plan on attacking this issue so I know that you are not sending a generic job proposal without even looking at the requirements

Skills: Android, Java, Mobile App Development

See more: android code download restaurant menu, android code store data sql server database retrieve, upload video server android code, code upload video server android, android source code streaming live video server, android code live streaming camera server, download youtube video server, android code live video streaming phone server, android code reader send data server, android code open source video player, android code capture camera video, code download youtube video, capturing sending video server client java source code, flash capture video webcam save server

About the Employer:
( 0 reviews ) Israel

Project ID: #16755994

Awarded to:

guchengyehai

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 Reviews)
2.5

7 freelancers are bidding on average $560 for this job

praita

Hi there. Let me introduce myself. My name is Paul and I have been working as senior software engineer for 5 years. I have rich experience in video encoding such as H.264 and H.265. As an engineer I've read your brie More

$600 USD in 10 days
(11 Reviews)
4.7
Batista111

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
(7 Reviews)
4.8
alexandersergee

Hello I've already completed so many dating apps for iOS and Android both. So I'm sure I can develop the project successfully. I can develop by native(objective c/swift, java) and hybrid(ionic or react-native) and al More

$555 USD in 10 days
(3 Reviews)
3.5
rubineverest

Dear Sir! I read you description carefully! As I have rich experiences in ffmpeg, I think I can offer you the excellent result in time. I hope to discuss with you on this project in more detail. Best Regards. Ka More

$800 USD in 10 days
(2 Reviews)
2.1
$555 USD in 10 days
(0 Reviews)
0.0
fledged

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 kno More

$300 USD in 8 days
(13 Reviews)
0.0