How to hint movie with JMF

Hello,
I would like to know how to make hinted movies with JMf, but no One seem to talk about this in forums...
Any idea ?

Get binary distro and follow Manual Installation section of http://fobs.sourceforge.net/f4jmf_first.html

Similar Messages

  • How to play movies with different ext like wmv and...

    need to know how to play movies with various ext like wmv..mpeg..vlc on e7

    If the phone's built-in video player does not handle those formats, your option are:
    - find some other video player app that does, or
    - convert the videos to a supported format
    The E7 supported video formats are listed on, e.g., this page:
    https://www.developer.nokia.com/Devices/Device_specifications/E7-00/
    Hit "Expand all" and scroll down to "Video Playback Formats".

  • HT3775 how to play movie with mp4

    how to play movie with mp4

    Sorry, but I for one do not understand what it is you're trying to accomplish. Can you please explain in more detail?

  • How to use ffmpeg with jmf

    I am trying to use ffmpeg with jmf. Do any one have any idea how to do it.

    Get binary distro and follow Manual Installation section of http://fobs.sourceforge.net/f4jmf_first.html

  • Play movie with JMF

    Hey,
    I just started out with JMF (I wanted to play a movie with java).
    I got this code:
    import java.applet.*;
    import java.awt.*;
    import javax.swing.*;
    import java.net.*;
    import java.io.*;
    import java.util.*;
    import javax.media.*;
    * Demonstrate simple code to play a movie with Java Media Framework.
    * @author Ian F. Darwin, http://www.darwinsys.com/
    * @version $Id: JMFPlayer.java,v 1.9 2004/02/09 03:21:20 ian Exp $
    public class NewJApplet extends JPanel implements ControllerListener {
        /** The player object */
        Player thePlayer = null;
        /** The parent Frame we are in. */
        JFrame parentFrame = null;
        /** Our contentpane */
        Container cp;
        /** The visual component (if any) */
        Component visualComponent = null;
        /** The default control component (if any) */
        Component controlComponent = null;
        /** The name of this instance's media file. */
        String mediaName;
        /** The URL representing this media file. */
        URL theURL;
        /** Construct the player object and the GUI. */
        public NewJApplet(JFrame pf, String media) {
            parentFrame = pf;
            mediaName = media;
            // cp = getContentPane();
            cp = this;
            cp.setLayout(new BorderLayout());
            try {
                theURL = new URL(getClass().getResource("."), mediaName);
                thePlayer = Manager.createPlayer(theURL);
                thePlayer.addControllerListener(this);
            } catch (MalformedURLException e) {
                System.err.println("JMF URL creation error: " + e);
            } catch (Exception e) {
                System.err.println("JMF Player creation error: " + e);
                return;
            System.out.println("theURL = " + theURL);
            // Start the player: this will notify our ControllerListener.
            thePlayer.start(); // start playing
        /** Called to stop the audio, as from a Stop button or menuitem */
        public void stop() {
            if (thePlayer == null) {
                return;
            thePlayer.stop(); // stop playing!
            thePlayer.deallocate(); // free system resources
        /** Called when we are really finished (as from an Exit button). */
        public void destroy() {
            if (thePlayer == null) {
                return;
            thePlayer.close();
        /** Called by JMF when the Player has something to tell us about. */
        public synchronized void controllerUpdate(ControllerEvent event) {
            // System.out.println("controllerUpdate(" + event + ")");
            if (event instanceof RealizeCompleteEvent) {
                if ((visualComponent = thePlayer.getVisualComponent()) != null) {
                    cp.add(BorderLayout.CENTER, visualComponent);
                if ((controlComponent = thePlayer.getControlPanelComponent()) != null) {
                    cp.add(BorderLayout.SOUTH, controlComponent);
                // re-size the main window
                if (parentFrame != null) {
                    parentFrame.pack();
                    parentFrame.setTitle(mediaName);
        public static void main(String[] argv) {
            JFrame f = new JFrame("JMF Player Demo");
            Container frameCP = f.getContentPane();
            NewJApplet p = new NewJApplet(f,
                    argv.length == 0 ? "file:/C:/Users/Patrick Kos/Pictures/BAA.avi"
                    : argv[0]);
            frameCP.add(BorderLayout.CENTER, p);
            f.setSize(200, 200);
            f.setVisible(true);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }but I always get a unable to handle format exception, expect with mp3 files.
    But i"ve looked up the supported formats and its says its supported so??

    i get this error
    Unable to handle format: XVID, 320x240, FrameRate=29.9, Length=230400 0 extra bytes
      Unable to handle format: unknown, 22050.0 Hz, 0-bit, Stereo, Unsigned, 8000.0 frame rate, FrameSize=9216 bits
    Failed to realize: com.sun.media.PlaybackEngine@7259da
    Error: Unable to realize com.sun.media.PlaybackEngine@7259da
    Exception in thread "main" javax.media.CannotRealizeException
            at javax.media.Manager.blockingCall(Manager.java:2005)
            at javax.media.Manager.createRealizedPlayer(Manager.java:580)
            at projectnemo.NewJApplet.main(NewJApplet.java:102)

  • How to export movie with chapters?

    I'm finished my editing, and I added chapters to my project in Final cut Pro X, how do I export my movie with the chapters included.

    Wow I didn't even know there was an Updated version, I am using 10.0.5.
    I also realize while I was watching a Youtube video, in the export box, the person export box looked different to mine, he had After export and Includes drop down arrows, and I have Video Codec, Audio file format, and Open with drop down arrow
    is this a update I have to pay for? how can I update it?
    <<<My Version

  • How to use JFFmpeg with JMF

    Hi ,
    I am trying to use Jffmpeg with JMF to extend the supported format in JMF. I added jffmpeg-1.1.0.jar in class path variable.And I also made necessary changes to JMF Registry for JFFMPEG given in following url:
    http://jffmpeg.sourceforge.net/download.html
    But I could not play any mp4 video with JMF Studio.
    So,can any one help me to solve this problem?
    Thanks in advance
    Regards,
    Jyotirmoy

    This may not help much re Solaris, but is worth putting up here for reference for others, whilst the code structure may also be useful anyway being close to pure java and as a solution that reads & saves every frame.
    For Windows the folder in the zip includes Fobs4jmf, and - if necessary - setting preferences via the runjmstudio.bat should mean that the sun.bat will work for .mp4 and .flv video files.
    See vid2jpg.zip at http://www.exactfutures.com/index02.htm which includes the java source.

  • How to record desktop with jmf?

    Hi, i'm new using jmf, so if it's a simple issue i don't know :S
    I'm trying to make an app that record the desktop. I have found this:
    http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/JVidCap.html
    But when i run it:
    "! No Devices for RGB, 160x120, FrameRate=15.0"
    And a NullPointerException if i push "Start" button.
    I tried to change the code, video formats, etc... but nothing successful happened. what's the problem? what's means these error and how to solve it?
    Regards.

    But... i'm not sure how to use it :PMake your own class.... I am posting this class (just for demo):
    * This class uses custom DataSource given at Sun JMF solutions page:
    * <a href="http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/solutions/ScreenGrabber.html">Screen Grabber</a>
    * @author talha
    public class ScreenCapture extends JFrame {
        Player p;
        public ScreenCapture() {
            super("Screen Capture");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            try {
                p = Manager.createRealizedPlayer(Manager.createDataSource(new MediaLocator("screen://0,0,640,480/10")));
            } catch (Exception ex) {
                Logger.getLogger(ScreenCapture.class.getName()).log(Level.SEVERE, null, ex);
            if(p.getVisualComponent()!=null)getContentPane().add(p.getVisualComponent());
            p.start();
            pack();
            setLocationRelativeTo(null);
        public static void main(String args[]){
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new ScreenCapture().setVisible(true);
    With this can i read data? I suppose that i can write it to disk directly or not? (replace System.out with an OutpuStream) No, if you want to write the captured video to the disk, you would have to make a Processor and DataSink... if these terms sound new, then you would have to learn JMF. Writing the captured video to disk has been asked many times, my suggestion: search this forum.
    Thanks!

  • HT204411 how to find movies with a french language track

    How do I find non-foreign moves in the itunes store with french language tracks?

    Jai,
    Each movie in the Store is listed with the language of the audio, the language of the subtitles (if any), and the language of the closed captioning (if any).  See example below.
    However, the Store does not offer any ability to search on language.

  • How to burn movie with no theme

    I would like to burn movie without a theme...can't figure out how. I tried exporting to the desktop and then dragging onto Magic movie, but that still seens to require a theme.

    Thanks for replying Showman. I have seen reports on the forum as to a variation to the solution described here, but haven't tried it personally. It doesn't require looping of the movie, but is slightly more involved.
    The idea is to use a fairly basic theme, with no animation or music (one of the earlier themes if you have them). Replace the background with a black image and change all text to black. So effectively the theme is completely black. Now use the procedure previously described (which you are familiar with) to automatically play the DVD without seeing a theme (using the first drop box in Map view).
    But don't loop the movie. Now when the DVD finishes playing, it will return to the black theme (which is of course the opening menu). If you press Play or Enter it will start playing again, otherwise it will just sit there showing a black screen.
    That may be a better alternative for you. I will be interested to see how things go using Final Cut Express' "print to video" in conjunction with One Step DVD.
    John

  • How to share movies with others

    Hi all,
    This is probably a really dumb question for which I'm sorry for, but I'm a bit confused.
    This is the first time that I've really used iMovie. My son has made a 5 minutes movie, which just comprises of still photos imported from iphoto, with a few effects added, plus audio. When I look in the movie folder, there are folders with star on them titled "Audio waveforms" and "Media", plus a Qt.mov file, which is only about 180kB large. Is this the file that I email to share to others? Why do I have to go through "File, Share, Email...etc" which makes a much bigger 5MB file?
    I hope this makes sense.
    Thanks.
    imac G4   Mac OS X (10.3.9)  

    this makes sense…
    that file is just a reference file… it is just a collection of advises, "use photo1, add transition disolve, then clip_04, lower volume of audio_55"....
    for "sharing" a video, it needs to be rendered and encoded to a "complete", standalone movie/file… different uses, different encoding (size, framerate, codec, etc)…

  • Record / copy playing movie with JMF

    Hi
    I am trying to copy a videofile which I am playing in JMF. It's easy as long as I want the whole video, but how can I cut out a part of the file? Any solution or example?
    Regards
    Saqi

    which type of file formats you are using tell me

  • How to export movies with Single Field option on with QuickTime Pro?

    Hi,
    I've got a rather problematic video file with MJPEG encoding in it. I've been able to save the original AVI into another QuickTime mov-file. Where I thought the deinterlace would help me to get rid of the horizontal lines in the picture, that option didn't work this time. Instead, if I use the Single Field option, I get at least a smooth picture.
    But when I try to export this to another mov-file or any other format for a smaller file size, I never get the smooth picture to stay. And in the resulting files the interlace "effect" can't be removed even with that single field on again!
    I'm using QuickTime Pro 7.6.6.
    Anybody with a solution?

    Where I thought the deinterlace would help me to get rid of the horizontal lines in the picture, that option didn't work this time. Instead, if I use the Single Field option, I get at least a smooth picture.
    It's my understanding that these QT 7 Pro options are "playback only" property settings utilized by the QT Player and do do not have any effect on the export/re-compression of interlaced content. Have you tried exporting directly to a progressive codec option/setting in QT 7 Pro, tried the motion adaptive deinterlacer in MPEG Streamclip (free) or the JES Deinterlacer (free), or used the "decomb" filter option in HandBrake (free) to see if any of these approaches are more suited to your needs?

  • How to record sound with JMF?

    I just want to record a clip of sound and save it in a WAV file. I exhausted the web but just couldn't find a tutorial. Would someone be kind enough to give me a tutorial or a sample code? The simpler the better. Thanks.

    Hi there,
    The following lines of code will record sound for 5 sec and save it in file C:/test.wav.
    import java.io.IOException;
    import javax.media.CannotRealizeException;
    import javax.media.DataSink;
    import javax.media.Format;
    import javax.media.Manager;
    import javax.media.MediaLocator;
    import javax.media.NoDataSinkException;
    import javax.media.NoProcessorException;
    import javax.media.NotRealizedError;
    import javax.media.Processor;
    import javax.media.ProcessorModel;
    import javax.media.format.AudioFormat;
    import javax.media.protocol.FileTypeDescriptor;
    public class WAVWriter {
         public void record(){
              AudioFormat format = new AudioFormat(AudioFormat.LINEAR, 44100, 16, 1);
              ProcessorModel model = new ProcessorModel(new Format[]{format}, new FileTypeDescriptor(FileTypeDescriptor.WAVE));
              try {
                   Processor processor = Manager.createRealizedProcessor(model);
                   DataSink sink = Manager.createDataSink(processor.getDataOutput(), new MediaLocator("file:///C:/test.wav"));
                   processor.start();
                   sink.open();
                   sink.start();
                   Thread.sleep(5000);
                   sink.stop();
                   sink.close();
                   processor.stop();
                   processor.close();
              } catch (NoProcessorException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (CannotRealizeException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (IOException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NoDataSinkException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (NotRealizedError e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (InterruptedException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public static void main(String[] args) {
              new WAVWriter().record();
    }I hope this will help. Don't forget to go through JMF guide (http://www.cdt.luth.se/~johank/smd151/jmf/jmf2_0-guide.pdf), especially page 81... it's not always helpfull, but sometimes, it may give you some good answers.
    Happy coding!!!

  • How to find movies with french soundtrack in iTunes Store?

    I'm using french canadian iTunes store. Clicking each movie to look at the description is quite long...
    I tried to change the iTunes Store for France but there is no movie in this one ... Mayday!

    Genius taken over these types of function.
    If you activate Genius (on the store menu) you can turn on a the genius side bar which contains recommendations based on what you are playing and what other people are buying. ( view menu or button at bottom right)
    You can also make a Genius playlist - containing music in your library related to what you are currently playing.

Maybe you are looking for

  • Multiple Airplay Options?

    Can I choose multiple devices at once for Airplay? Meaning, can I choose the audio from music to Airplay to the iPad, my Apple TV and an Express powered set of speakers? When I press the Airplay icon they all come up, but so far am only able to choos

  • TKPROF

    HI all, I am using oracle 9i, and i working in sql_trace and tkprof. but it is not working. i done like this: first * I set the timed_statistics=true *i mention the max_dump_file_size=unlimted *user_dump_dest='e:\ after that i enable the trace like a

  • Ability to recover Safari history once cleared?

    My darling child has figured out how to clear the internet history. Is there a way to either block this feature (using a password?), recover the cleared items, or maybe hide the tab?

  • I can't import my old iPhoto library into 9.51 HELP!!!

    I purchased iphoto 9.51 from the app store but it can't import my old iPhoto Library ..please help as it looks like I've lost all my photos..there seems to be no postings on this topic

  • Need more info on iCould

    When you upload your music to iCould, does it remain on the hard disk of your computer? I have an iPad, but also an iPod classic which does not comply with iCould.