getting elapsed time of video with media recorder in android
I am using the MediaRecorder and recording audio/video. How can I find the elapsed time of the video? I am familiar with this trick:

    start = System.currentTimeMillis();
    ...
    long seconds = (System.currentTimeMillis() - start) / 60)

but was wondering if there was a native way to do it with the actual video.


getting elapsed time of video with media recorder in android
===

I am using the MediaRecorder and recording audio/video. How can I find the elapsed time of the video? I am familiar with this trick:

    start = System.currentTimeMillis();
    ...
    long seconds = (System.currentTimeMillis() - start) / 60)

but was wondering if there was a native way to do it with the actual video.

