Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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?
 
 
subject: How to find the duration of the media?
 
Similar Threads
reading a file from a url
Getting info from th RTP headers..
Simple JMF question - help needed urgently!
interface with a beacon scanner
Video API