tags:

views:

35

answers:

1

How do I know the file size in seconds mp4?

+1  A: 

If you are playing it back with MediaPlayer, use getDuration() to find out its duration.

Otherwise, you will need to find a third-party library that can read the MP4 file metadata to get you that information.

CommonsWare