I'm working on FFMPEG on Android and we have serious problems.
1. I'm able to compile it with h264 support and it works fine.
2. I'm are able to encode video or still frame with the ffmpeg.
3. I'm able to merge few videos into one. But I have problem here with the native recorder's videos.
Simply I'm not able to encode with the same parameters as it's done by Android device.
The number of options is really huge and I don't know how to use it.
When I try to merge frames from Android and ffpmeg encoded video it's crashing or just showing half of the video.
Simply the biggest problem is to read encoding parameters from the native video (recorded with the build in camera), and then use it in the FFMPEG to encode compatible video - with exact parameters
We would really appreciate help.
I'm attaching screenshots with te parameters of Android and our FFMPEG settings.
ffmpeg -debug pict -i file.mp4 (left one is from android camera)
and we also checked it with codecvisa (left one is from android camera):