Bookmark Topic Watch Topic
  • New Topic

Is there any Java API to get Mpeg4 | MP4 duration?  RSS feed

 
Shankar Chandru
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please let me know is there any java API to get Mpeg4 | MP4 duration?

Actually I tried with Java Media Framework; when I called player.getDuration().getSeconds() I am getting the result as '9.223372036854776E9'. Actually the duration is 12 seconds. For WMV file iit is giving the proper duration.

Please tell me why it is printed ''9.223372036854776E9'' also.

Many thanks in advance for any info.
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Report post to moderator
"Uma Shankar C " please check your private messages for an important administrative matter. You can check them by clicking the My Private Messages link above.
 
Rob Spoor
Sheriff
Posts: 21131
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
And Use One Thread Per Question. this thread will do.
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!