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
Được trao cho:
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
5 freelancer đang chào giá trung bình $553 cho công việc này
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