aspose file tools*
The moose likes Java Micro Edition and the fly likes How to find the duration of the media?  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "How to find the duration of the media?  " Watch "How to find the duration of the media?  " New topic
Author

How to find the duration of the media?

Soma Sundaram
Greenhorn

Joined: Sep 17, 2006
Posts: 15
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?
 
Consider Paul's rocket mass heater.
 
subject: How to find the duration of the media?