Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to find the duration of the media?

 
Soma Sundaram
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

For an application(video streaming) how to find the the duration of the video.
I tried using the getDuration method but i get the result as -1.

How to get the time duration of the video file?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic