This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

manipulating frames using jmf

 
conor murphy
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi

i am trying to write a program that breaks up a video file into individual frames and then manipulate each frame by compositing a jpeg image into it. i have some sample source code from this website

http://java.sun.com/products/java-edia/jmf/2.1.1/solutions/FrameAccess.html

this creates a new componenet and places the visual component from a processor into it.

Component vc;
if ((vc = p.getVisualComponent()) != null) {
...
im not quite sure exactly how all this works because im new to it. am i able to somehow create a PlanarImage of each frame using the component so i can manipulate it with code that ive already written and then put all the frames back together again. ive read the tutorials on the jmf site but im still struggling with it

any help would be great

thanks
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!