This week's book giveaway is in the Security forum.
We're giving away four copies of Penetration Testing Basics and have Ric Messier on-line!
See this thread for details.
Win a copy of Penetration Testing Basics this week in the Security forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Media Framework

jakub Simko
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,I am trying to work with JMF using this sample ,but it doesnt work.
framePositioningControl.mapTimeToFrame(_player.getDuration()) returns 0 although _player.getDuration() is normal non zero time (duration of movie).
Also method returns 2147483647,what is maximum value of int.
I tryed it with a lot of movies and the problem is the same.There should be no problem with codecs,because with another sample I can load the movies and play them.
I would like to read number of frames and pixels from frames in movie.
Can you help me please ?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic