Win a copy of Java Challengers this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • paul wheaton
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Liutauras Vilda
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • Mikalai Zaikin
  • Himai Minh

manipulating frames using jmf

 
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Anderson gave himself the promotion. So I gave myself this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic