Adding videos to a java program
Adding videos to a java program
Hey
I am in matric and I would like to find out if their is a way to add videos to any java program. If anyone knows of a tutorial or and example that is on the internet please post it here. Any help would be appreciated
I am in matric and I would like to find out if their is a way to add videos to any java program. If anyone knows of a tutorial or and example that is on the internet please post it here. Any help would be appreciated
-
- G3AR Staff Member
- Posts: 5790
- Joined: 08 Mar 2003, 02:00
- Location: PCFormat HQ
- Contact:
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
first, grab a copy of the Java Advanced Imaging API <<link!
you'll need these extensions installed in your current JRE/JDK.
while you're at it, bookmark:
JAI API FAQ page <<link!
Java Technology Forums: Multimedia and Imaging <<link!
getting to know jai was the most fun i've had in a while...
you'll need these extensions installed in your current JRE/JDK.
while you're at it, bookmark:
JAI API FAQ page <<link!
Java Technology Forums: Multimedia and Imaging <<link!
getting to know jai was the most fun i've had in a while...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
you've installed the JAI package?...
there's a bunch of demo's and source included.. tried any of the examples in the links provided?..
<edit>
two clicks of the rodent and we have an excellent example right here...
</edit>
there's a bunch of demo's and source included.. tried any of the examples in the links provided?..
<edit>
two clicks of the rodent and we have an excellent example right here...
</edit>
Most people would sooner die than think; in fact, they do so - Bertrand Russel
JAI package? is that Java Media Framework?rustypup wrote:you've installed the JAI package?...
there's a bunch of demo's and source included.. tried any of the examples in the links provided?..
<edit>
two clicks of the rodent and we have an excellent example right here...
</edit>
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
have you installed the jmf package?
link previously provided here... you need this...
as for a better IDE, check out:
Netbeans or
Eclipse
both are excellent packages...
<edit>
yes, the distributable is JMF, (java media foundation), which includes the JAI API..
</edit>
link previously provided here... you need this...
as for a better IDE, check out:
Netbeans or
Eclipse
both are excellent packages...
<edit>
yes, the distributable is JMF, (java media foundation), which includes the JAI API..
</edit>
Most people would sooner die than think; in fact, they do so - Bertrand Russel
-
- Registered User
- Posts: 5
- Joined: 06 Dec 2006, 02:00
- rustypup
- Registered User
- Posts: 8872
- Joined: 13 Dec 2004, 02:00
- Location: nullus pixius demonica
- Contact:
this package is installed along with the jai... it should be under your java/%ver%/lib or java/%ver%/lib/ext folder.. .Worship wrote: package javax.media does not exist
are you running more than one jdk?... in which case, be sure to specify which one you're building for under netbeans, (right click the project folder, select properties>libraries> then verify the "Java Platform" selected... the jmf executable will install into your *latest* jvm.. you may need to manually copy the jar extensions into your jdk jre... (ie, copy the jai packages from the jvm lib/ext to that of your jdk...)
am i speaking russian?.. shout if i am...
Most people would sooner die than think; in fact, they do so - Bertrand Russel
I got to the libraries part, but then how do u verify Java platform? i dont see an option for that?rustypup wrote:this package is installed along with the jai... it should be under your java/%ver%/lib or java/%ver%/lib/ext folder.. .Worship wrote: package javax.media does not exist
are you running more than one jdk?... in which case, be sure to specify which one you're building for under netbeans, (right click the project folder, select properties>libraries> then verify the "Java Platform" selected... the jmf executable will install into your *latest* jvm.. you may need to manually copy the jar extensions into your jdk jre... (ie, copy the jai packages from the jvm lib/ext to that of your jdk...)
am i speaking russian?.. shout if i am...
sorry but not really skilled in programming especially with netbeans...
YEAH!!!! I finally got it to work in netbeans after Ready to Program was being a @$$hole. At least it works fine in netbeans thanks Rusty for all your help much appreciated!
Oh and what was wrong? I am sooo ashamed to say after installed the jmf, i didn't restart... But Ready to Program still doesn't accept the code but at least netbeans does. Thanks Rusty
Oh and what was wrong? I am sooo ashamed to say after installed the jmf, i didn't restart... But Ready to Program still doesn't accept the code but at least netbeans does. Thanks Rusty