<http://stackoverflow.com/questions/26484949/how-to-pause-resume-video-recording-using-mediacodec?noredirect=1#> Actually I want to implement pause/resume feature for recording video. I have taken the code from CameraCaptureActivity of Grafika( https://github.com/google/grafika) and able to record video with the help of MediaCodec and MediaMuxar.
My question is very much similar to Pause/Resume MediaCodec <http://stackoverflow.com/questions/21018578/pause-resume-mediacodec>. The accepted answer quotes that "See the CameraCaptureActivity in Grafika( https://github.com/google/grafika), which leaves the encoder alive across activity restarts. If you don't want to have a pause in the video during the restart, you'll need to keep track of how long encoding was paused, and then adjust the timestamps being fed into the muxer". Can anybody suggest example on how to adjust timestamps for MediaCodec video capture so that I can implement pause/resume feature. Any help or suggestion will be well appreciated. *Note* My application is going to target Android 4.3+ (API 18). -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

