Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Media Framework  RSS feed

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
Boost this thread!