I'm currently trying to record the camera input through a Surface on Android. I'm interested in splitting the input in real-time into 10seconds videos, I've achieved that by restarting the MediaRecorder when the event MEDIA_RECORDER_MAX_DURATION_REACHED hits but I'm losing some frames between the videos.
MEDIA_RECORDER_MAX_DURATION_REACHED
I've read that I could achieve this using a MediaMuxer instead but I couldn't find any good example of a practical suggestion. Where should I start?
1.4m articles
1.4m replys
5 comments
57.0k users