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
2010-08-11 13:45:54