Peruttu

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 [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

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

Taidot: Android, Java, Mobile App Development

Näytä lisää: 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

Tietoa työnantajasta:
( 0 arvostelua ) Israel

Projektin tunnus: #16755994

Myönnetty käyttäjälle:

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 3 päivässä
(1 arvostelu)
2.5

5 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

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 Lisää

$800 USD 10 päivässä
(7 arvostelua)
5.4
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 10 päivässä
(7 arvostelua)
4.8
$555 USD 10 päivässä
(0 arvostelua)
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 Lisää

$300 USD 8 päivässä
(13 arvostelua)
0.0