Reputation: 225
How do I know the file size in seconds mp4?
Upvotes: 0
Views: 190
Reputation: 1007322
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.
Upvotes: 1