JMF video capture on OS X?

Hello,
is it possible to somehow do video capture under JMF? I use Mac OS X on Macbook Pro. I have found Quicktime for Java, but I would rather avoid using proprietary QuickTime APIs and work with portable JMF API. When I run JMF studio, I only see audio capture device.
Juraj.

You should take a look at the hardware requirements and supported formats for the cross platform version of JMF.
http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
http://java.sun.com/products/java-media/jmf/2.1.1/requirements.html
Be aware that JMF does not have its own video format, but supports proprietary formats like Quicktime.
regards

Similar Messages

  • JMF Video Capture in Vista

    Hey all,
    I have done a lot of searching on this matter, but most of the threads are old. I am wondering if there has been any updates or if this issue has been solved in any way.
    I am trying to create an applet that captures an image from a webcam. I created the applet, using sample code found somewhere on these forums, and it works perfectly. I modified it to take 6 screenshots instead of 1 when the Capture button is pressed, and that works perfectly. However, when I developed this I was at work (Windows XP). When I got home and attempted to test my work further I got the following error:
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.vfw.DataSource : java.lang.RuntimeException: No permission to capture from applets
         at javax.media.Manager.createPlayerForContent(Manager.java:1362)
         at javax.media.Manager.createPlayer(Manager.java:417)
         at javax.media.Manager.createRealizedPlayer(Manager.java:553)
         at lib.snapshot.applet.Snapshot.init(Snapshot.java:68)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)I read, through these forums and searching google, that IE is in a sandbox in Vista, which makes signed applets only able to access java related data and certain temporary directories, rather than the whole system like other OS's. However, we have other signed applets that create directories in Program Files folders, download files from the server, etc that work fine in Vista, so that makes no sense. Also, I have disabled Protected Mode on my my machine and turned all security measures off, to no affect. Also the same thing happens in Firefox.
    Has anyone found a way around this for Vista? Does anyone know of another easy to use java API for doing this that works in both Vista and XP? Has anyone who has encountered this problem ended up developing something similar in another language (flash, etc)?
    I require this applet for taking snapshots for a project for my job. I had preferred Java, because our other applets are all Java and I didn't want to mix techonologies too much. But if there is no way to do this in a stable way for both Vista and XP, then I will have to look at other languages.
    Thanks for the help.
    Bryan

    compbry, the fundamental problem is that Vista is 3 years old and the latest releast of JMF is like, 5 or 6 years old. So, there's nothing in the realm of "Vista compatibility" for JMF.
    That said, to my knowledge no one has ever gotten JMF to capture video from inside an applet in Vista, JMF installed on the computer or not.
    However, if you have JMF installed, you can easily run a JMF web-start app that will work just fine in Vista, that would allow you to do whatever it is you're needing to do.
    But if you're going in a different direction, I'd suggest looking at the Adobe Flex API. It's free and from what I've researched about it, it makes webcam and microphone capture damn easy. If you've got a decent web server that will allow you to do ColdFusion or (can't remember the term for it, but you can write Java code that will run on-demand on the web host that your Flex application can talk to to do stuff like upload the images, etc...), it should be a relatively easy and short as far as LOC is concerned, minus of course the learning curve associated with learning something new (which is why I've only researched it, but I would've played with it too had I had a "decent webserver" ;-)

  • JMF Video Capture, output not properly

    hello,
    i'm trying to capture Video using JMStudio. my webcam is Logitech QuickCam IM, and it's detected succesfully by jmregistry. but then when i run jmstudio and start video capturing from logitech webcam, the output is only black and green, and beeping.
    i don't know if anyone has ever experienced this before. what should i do to make it work?
    Thank you.

    Sorry, that last post was misposted. It was supposed to go on a thread where the OP did resolve his problem. Sorry about that!
    If your web cam isn't V4L compliant and only supports V4L2, then it won't work with JMF. Also, if you're using the cross-platform pack instead of the Solaris performance pack, it won't work with JMF.
    Finally, if you're running it as a user with insufficent permissions to access the hardware, it won't work (try running as root just to check this).

  • JMF Video Capture: Force capture format

    Hi all!
    is there an issue to force video capture format? I know I can set the string format but could you tell me how to make this string (new YUVFormat(new Dimension(176...)...
    player = Manager.createRealizedPlayer(ml);
            player.start();
            FormatControl formatControl = (FormatControl)player.getControl ( "javax.media.control.FormatControl" );
            Format mform = new Format(/*Here the requested string*/);
            formatControl.setFormat(mform);Thanks ;)

    In fact i succeed to set format, i just want to know how to make a right sentence (String) for the Format(String) constructor, including capture resolutio, fps ....

  • Jmf video capture

    Hi iam new in jmf. The jmf alredy detected the capturing device , but not capturing video. only showing a black screen.while setting its parameters(RGB..) getting the error message "could not inetialize capturiing device". i am using windos xp.

    Interesting read on JMF on wikipedia here
    http://en.wikipedia.org/wiki/Java_Media_Framework
    The article states:
    Many JMF developers have complained that it supports few codecs and formats in modern use. Its all-Java version, for example, cannot play
    MPEG-2, MPEG-4, Windows Media, RealMedia, most QuickTime movies, Flash content newer than Flash 2, and needs a plug-in to play the
    ubiquitous MP3 format. [3] While the performance packs offer the ability to use the native platform's media library, they're only offered for Windows and
    Solaris, the latter rarely used as a desktop OS. Furthermore, Windows-based JMF developers can unwittingly think JMF provides support for more
    formats than it does, and be surprised when their application is unable to play those formats on other platforms.
    Another knock against JMF is Sun's seeming abandonment of it. The API has not been touched since 1999, and the last news item on JMF's home
    page was posted in November 2004.
    While JMF is built for extensibility, there are few such third-party extensions.
    Furthermore, editing functionality in JMF is effectively non-existent, which makes a wide range of potential applications impractical.

  • Jmf video capture in an Applet

    Hello
    I use netBeans 6.9.1 and would like to use JMF and the webcam capture JMF function in my applet
    but Iget a no permission error see below
    How can I get out of that?
    Thank you
    Fred
    Public class SourceCam extends java.applet.Applet implements Runnable {
    public int wmax,hmax,ix, x1, y1, x2, y2,y3,y4=0;
    public double yc1=0.0,yc2=0.0, yc3=0.0,yc4=0.0,yc5=0.0,yc6=0.0;
    Color colors[] = new Color[50];
    int[] couleur=new int[50];
    Thread runner;
    Frame f=new Frame("Stimulated Polarized Light @FF ");
    public static Player player = null;
    public static MediaPlayer MediaPlayer1=null;
    public CaptureDeviceInfo di = null;
    public MediaLocator ml = null;
    run:
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    javax.media.NoPlayerException: Error instantiating class: com.sun.media.protocol.vfw.DataSource : java.lang.RuntimeException: No permission to capture from applets
    at javax.media.Manager.createPlayerForContent(Manager.java:1362)
    at javax.media.Manager.createPlayer(Manager.java:417)
    at javax.media.Manager.createRealizedPlayer(Manager.java:553)
    at org.me.light.SourceCam.init(SourceCam.java:58)
    at sun.applet.AppletPanel.run(AppletPanel.java:424)
    at java.lang.Thread.run(Thread.java:662)

    I did that already
    i.e. what is written in
    Q: Can I capture audio or video from within an Applet with JMF 2.1.1?
    By default (for security reasons), JMF 2.1.1 does not allow capture from an applet. The user can turn this on by using JMFRegistry.
    Run "java JMFRegistry", select the UserSettings tab and check "Allow Capture From Applets". If the browser's security permits loading native libraries, then you will now be able to capture audio/video from an applet.
    but the program lines
    try
    player = Manager.createRealizedPlayer(ml);
    FormatControl formatControl = (FormatControl)player.getControl("javax.media.control.FormatControl");
    Component co = formatControl.getControlComponent();
    Thread.sleep(2000);
    player.start();
    give always the same error
    java.lang.RuntimeException: No permission to capture from applets
    java.lang.RuntimeException: No permission to capture from applets
    why?
    I am working inside the netbeans 6.9.1 editor

  • JMF Video Capture within Applets

    I would like to develop web conference..please helm me

    venujakku wrote:
    I would like to develop web conference..please helm meI just succesfully created a Java simple prototype application using JMF that can capture the webcam images in real time.
    Just use the JMF and your set.
    Edited by: deAppel on Oct 15, 2007 3:30 PM

  • Detecting Video Capture Devices without Installing JMF

    Hi All,
    I want to detect the video capture devices, without installing the JMF.
    I had included the jmf (windows version) in lib path in netbeans ide. I am able to detect the audio capture device. But unable to detect the video capture devices. But if I install the JMF, I am able to detect the Video Capture devices in My system. Can anyone help me?
    Thanks,
    Vinoth Kumar.

    YES! Please take a look at SIP Communicator project. They have all what u want.
    The main idea is copy all .dll files to System or System32 (Please check files which JMF will copy to ur computer and where).
    U need to have jmf.jar and sound.jar too ( maybe more) in your computer.
    Your program should have DirectSoundAuto.java, JavaSoundAuto.java, JavaSoundDetector.java, JMFInit.java. Those files are in JMStudio source code. They are used to detect all capture devices and register it to JMF, but wait !!! where they will be saved? In order to save information about capture devices which are detected, you should create "jmf.properties" file in the same location with jmf.jar.Therefore, u should modify the JMFInit.java so it can check if the "jmf.properties" exists. If it's not, you have to create it.
    Check SIP Communicator at Folder "media" then "device". They have modified those files I mentioned above and created some new files to SC can detect more devices.
    Edited by: tamngminh on Sep 16, 2008 9:50 AM

  • JMF and video capture card?

    i wanna ask how can i usea video capture card with the jmf and record video
    i try to detect my capture card but the jmf didnt detecte it please pleas help me

    hi,
    i use a tv-card with my camera through linking them with a composite cable. Also, my tv card has capturing capability and i use JMF to do a capture program with these tools and the result is good for me. The monitor.zip file wihich contains a sample of capturing and monitoring simultaneously exists on sun.com. I use it and it was very helpfull for me.
    JMF detects cards through its 'CaptureDeviceManager' which is a controller type object. If you specify like Vector devices = CaptureDeviceManager.getDeviceList(null) -> You will be get the list of appropriate devices on your pc.
    Regards,
    Erohan

  • Synched Audio and Video Capture in JMF?

    I am in the planning stages of developing a speaker's corner for our university television station. Essentially, a button pressed by the user and a JSamp will send serial data to the computer(PC) that will execute the capture program. Before I proceed further, will I be able to capture both audio and video so that they will be in synch so that I can later bring both into a commercial video editing platform? Also, does the JMF support capture by firwire or USB only? Most of the forums seem to indicate that it is USB. Thanks, and any other advice would be appreciated.
    -Steve

    bump, thx

  • Problem in video capture at server and fetching by client

    hi
    I am doing final year project it has server at one end which is connected to video capturing device-webcam in my case
    and the client is mobile.
    I want the live video captured be transmitted to the mobile client on fetch video request.
    I have tried implementing it but facing some problems so would like to know the reason behing and also ask if the way i am following is correct or not
    At server end i tried to extract frame as follows:
    //the datasource handler class is as follows
          * Inner class MyDSHandler takes the Output DataSource form the
          * Processor and extracts the frame from it.
          * It implements the BufferTransferHandler so that it can receive
          * Buffer from the PushBufferStream.
         public class MyDSHandler implements BufferTransferHandler
              DataSource source;
              PullBufferStream pullStrms[] = null;
              PushBufferStream pushStrms[] = null;
              //Buffer readBuffer = null;
              int i = 1, j = 1;
              * Sets the media source this MediaHandler should use to obtain content.
              * @param source the DataSource from the Processor
              private void setSource(DataSource source) throws IncompatibleSourceException
                   // Different types of DataSources need to handled differently.
                   if(source instanceof PushBufferDataSource)
                        pushStrms = ((PushBufferDataSource) source).getStreams();
                        // Set the transfer handler to receive pushed data from the push DataSource.
                        //pushStrms[0] since we need to handle only the video stream
                        pushStrms[0].setTransferHandler(this);
                   else if(source instanceof PullBufferDataSource)
                        System.out.println("PullBufferDataSource!");
                        // This handler only handles push buffer datasource.
                        throw new IncompatibleSourceException();
                   this.source = source;
                   readBuffer = new Buffer();
              * This will get called when there's data pushed from the PushBufferDataSource.
              * @param stream the PushBufferStream obtained from the DataSource
              public void transferData(PushBufferStream stream)
                   try
                        stream.read(readBuffer);
                   catch(Exception e)
                        System.out.println(e);
                        return;
                   if((readBuffer == null) || (readBuffer.getLength() == 0))
                        System.out.println("Null or Empty buffer encountered..");
                        return;
                   // Just in case contents of data object changed by some other thread
                   Buffer inBuffer = (Buffer)(readBuffer.clone());
                   // Check for end of stream
                   if(readBuffer.isEOM())
                        System.out.println("End of stream");
                        return;
                    * we can apply frame control here by deciding whether to process
                    * the frame or not
                   processBuffer2(inBuffer);
              public void start()
                   try{source.start();}catch(Exception e){System.out.println(e);}
              public void stop()
                   try{source.stop();}catch(Exception e){System.out.println(e);}
              public void close(){stop();}
              public Object[] getControls()
                   return new Object[0];
              public Object getControl(String name)
                   return null;
               * Processes the Buffer , i.e converts it into an image and
               * transfer its content via Socket
               * @param inBuffer the buffer received from the PushBufferStream
              public void processBuffer2(Buffer inBuffer)
              {         //extracting frame from video and writing image on stream
                   //RGBFormat format  = (RGBFormat)inBuffer.getFormat();
                   System.out.println(inBuffer.getLength());
                   YUVFormat format = (YUVFormat)inBuffer.getFormat();
                   Image img = (new BufferToImage(format)).createImage(inBuffer);
                   BufferedImage bimg = (BufferedImage)img;
                   if(bimg != null)
                        try
                              * encodes the image in the JPEG format and writes it to
                              * the socket
                             ImageIO.write(bimg, "jpg", clientOut);
                             System.out.println("Data Written to stream");
                             logArea.append("\n Image Data Written to Stream");
                        catch(Exception e)
                             System.out.println(e);
         }and how can one control the frame rate of the video like if i require the speed of 7 frames per second and the resolution
    also
    i am trying to convert the frame fetched to jpeg and at client , tried making use of jpeg image property by detecting the img start and end by reading the image data in bytes from the inputstream (0xffd8 as strt of image and 0xffd9 as end)
      byte[] img_data = new byte[4*1024];//buffer to read and hold one image info
    try
                    while((data = dis.read()) != -1)
                        //System.out.print(Integer.toHexString(data));
                        if(data == 0xFF)
                            fm = true;
                        else if(fm)
                            if(data == 0xD8)
                                //start of the image
                                System.out.print("Start of image found  : ");
                                //ctr should be zero at this stage here
                                //writing to byte[]
                                img_data[ctr] = (byte)0xFF;
                                ctr++;
                                img_data[ctr] = (byte)0xD8;
                                ctr++;
                            else if(data == 0xD9)
                                //end of image
                                //writing to byte[]
                                img_data[ctr] = (byte)0xFF;
                                ctr++;
                                img_data[ctr] = (byte)0xD9;
                                ctr++;
                                // consrtucting image from the byte[]
                                img = Image.createImage(img_data, 0, ctr-1);
                                if(img != null)
                                    repaint();
                                    System.out.println("Image drawn");
                                else
                                    System.out.println("Image is null");
                                    /*try
                                        Thread.sleep(500);
                                    catch(Exception e)
                                ctr = 0;  // ctr back to zero for the new image
                                //break;
                            else
                                //writing to byte[]
                                img_data[ctr] = (byte)0xFF;
                                ctr++;
                                img_data[ctr] = (byte)data;
                                ctr++;
                            fm = false;
                catch(Exception e){}
        }The problem i am facing is the client gets the black image just for a fraction of second and then the application hangs and no video is visible.
    I have very little time left to complete this project as deadline is very close
    please would be very grateful if guided timely.

    equator07 wrote:
    Thanks for the reply.
    i saw in recent posts some protocols had been made use of like rtp i am not making use of any of these
    will it effect?I can see that you're not using RTP... and "will it effect?" doesn't make any sense AT ALL...
    is the way i have made use of jmf correct?There's no correct way to use an API... but no, you're not doing things in even remotely a "tradional" way...
    *like the way i am extracting the frame,
    and how can i set the resolution of the video taken by cam and adjust the frame rate?*I have no idea if your code works. I assume that you would have tested it, and proved it to either be producing a valid JPEG image or not. If you've not done that testing, then you obviously need to.
    because i want live video to be seen at client end i am seriously confused and the progress as just come to an hault at this point and am in real need of guidance.You should probably be using RTP and the tradional way of using JMF then...
    [http://forums.sun.com/thread.jspa?messageID=10930286#10930286]
    Read through all of the links I gave the person on the above thread and you'll be on a lot better footing as far as using JMF goes.
    shall i send the server side code.Till now server and client are both on local host.No, I don't need to see any more of your code. I'm not a proof reader, and I'm not going to debug it for you. Do you own work.

  • Video capturing devices !

    Hi every body !
    Can any body please give me the list of all online video streaming JMF compatable video capturing devices!
    any response will be highy appreciated.
    please try to be specific to the company and model because i am going to buy one!
    Thank you !

    This might help. Scroll down to the bottom of this page:
    http://java.sun.com/products/java-media/jmf/2.1.1/formats.html
    Regards,
    Paul

  • Video capture and than transmit it

    After I made live video capture from (and play it with Man Media Player) I want to transmit this stram (using RTP) to other computer. How could I do this? Thank you.

    I used VideoTransmit.java sample from Sun (JMF solutions...). My problem is: I want see what I transmit. For this I need a Player for my Data Source. If I used a player for my Data Source I cann't used it for transmit. It is already allocated. I could clone my data source and use one for player and the other one for transmit. It works thus. I tried it. But the stream locks from time to time. I need other solution. If I used JMStudio->File->Transmit... the stream is played and transmited very good.

  • Error Msg Prompted when exit a Video Capture applet

    I converted a sample Video Capture App to a applet, when i stoped capturing and exit, this massage prompted:
    "The instruction at '0X05a82f30' referernced memory at '0x05aa20f8', The memory could not be 'read'. Click on OK to ternimate the program".
    This app will write the captured video file onto local disk, but i've setted the security options in JMF Preference config.
    I just wonder why this error message occur?
    i'm now working on this applet for my JSP page, i want users can captrue pictures from the WebCam and then save as JPEG images.
    I realy appreciate it if any guys can give me some suggestion?

    I also writing a applet to do that. But I can work in application model. When I run it in browser . It throw out an error. Following is my code....
    FrameGrabbingControl fgc = (FrameGrabbingControl) player.getControl("javax.media.control.FrameGrabbingControl");
    tt.setText(fgc.toString()+"\r\n");
    Buffer buf = fgc.grabFrame();
    tt.append(buf.toString()+"\r\n");
    BufferToImage btoi = new BufferToImage((VideoFormat)buf.getFormat());
    tt.append(btoi.toString()+"\r\n");
    java.awt.image.BufferedImage img = (java.awt.image.BufferedImage)btoi.createImage(buf);
    tt.append(img.toString()+"\r\n");
    try {
    File file = new File("c:\\Testing.jpg");
    FileOutputStream out = new FileOutputStream(file);
    JPEGImageEncoder encoder = JPEGCodec.createJPEGEncoder(out);
    JPEGEncodeParam param = encoder.getDefaultJPEGEncodeParam(img);
    param.setQuality(0.7f, false);
    encoder.setJPEGEncodeParam(param);
    //encoder.encode(buffImg);
    encoder.encode(img);
    out.close();
    } catch (Exception ex) {
    ex.printStackTrace();

  • Problem with video capture

    We expect "Captfoss" to reply soon..
    Code:-
    import java.awt.*;
    import java.net.*;
    import javax.media.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.media.format.*;
    import javax.media.protocol.*;
    public class JMF2 extends JFrame implements ControllerListener,ActionListener
         Processor p=null;
         DataSink sink;
         MenuBar mb;
         MenuItem start,stop;
         Menu file;
         ProcessorModel model;
         Format formats;
         DataSource source;
         JMF2()
              setVisible(true);
              setSize(800,600);
              setLayout(new BorderLayout());
              mb=new MenuBar();
              file=new Menu("File");
              start=new MenuItem("Start");
              start.setEnabled(false);
              stop=new MenuItem("Stop");
              file.add(start);file.add(stop);          
              mb.add(file);          
              setMenuBar(mb);
              start.addActionListener(this);
              stop.addActionListener(this);
              addWindowListener(new WindowAdapter()
                   public void windowClosing(WindowEvent we)
                        System.exit(0);
              try
                   formats=new VideoFormat(VideoFormat.CINEPAK);
                   model = new ProcessorModel(new Format[]{formats}, new FileTypeDescriptor(FileTypeDescriptor.QUICKTIME));
                   p=Manager.createRealizedProcessor(model);
                   source=p.getDataOutput();
                   sink = Manager.createDataSink(source, new MediaLocator("file:///c:/New.mov"));
                   p.addControllerListener(this);
                   p.realize();
              catch (Exception e)
                   System.err.println("Got exception "+e);
         public void actionPerformed(ActionEvent ae)
              try
                   if(ae.getActionCommand().equals("Start"))
                        p.start();
                        sink.open();
                        sink.start();
                        System.out.println("start");
                   else
                        sink.stop();
                        sink.close();
                        p.stop();
                        System.out.println("stop");
              catch(Exception e)
                   System.out.println("Some problem "+e);
         public synchronized void controllerUpdate(ControllerEvent ce)
              try
                   if (ce instanceof RealizeCompleteEvent)
                        Component comp;
                        System.out.println("Realized");     
                        start.setEnabled(true);
                        if ((comp = p.getVisualComponent()) != null)
                             add (BorderLayout.CENTER, comp);
                        else
                             System.out.println("No vis com");
                        if ((comp = p.getControlPanelComponent()) != null)
                             add (BorderLayout.SOUTH, comp);
                        validate();
                        System.out.println("Updated");
              catch(Exception e)
                   System.out.println("Exception rasied "+e);
         public static void main(String s[])
              new JMF2();
    1..This is the code which we used for capturing and saving video in the disk..But we got a mov file created zero size..what is the reason for that..Can any one suggest a better way for this..
    2..Is Creative Webcam II supported by JMF 2.1 ..
    3..Suggest any other format for audio and video capturing and saving..
    Thanks in advance..

    Thanks T.B.M..
    It worked..My webcam details are as follows:
    {color:#ff6600}Name = vfw:Microsoft WDM Image Capture (Win32):0
    Locator = vfw://0
    {color}
    It suports the following formats..
    {color:#ff6600}
    0. javax.media.format.RGBFormat
    RGB, 320x240, Length=230400, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=960, Flipped
    1. javax.media.format.RGBFormat
    RGB, 160x120, Length=57600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=480, Flipped
    2. javax.media.format.RGBFormat
    RGB, 176x144, Length=76032, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=528, Flipped
    3. javax.media.format.RGBFormat
    RGB, 352x288, Length=304128, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1056, Flipped
    4. javax.media.format.RGBFormat
    RGB, 640x480, Length=921600, 24-bit, Masks=3:2:1, PixelStride=3, LineStride=1920, Flipped
    {color}
    So made the following changes in my code..
    dl=CaptureDeviceManager.getDeviceList(new VideoFormat(VideoFormat.{color:#ff6600}RGB{color}));
    ml=((CaptureDeviceInfo)dl.firstElement()).getLocator();
    formats=new VideoFormat(VideoFormat.RGB);
    model = new ProcessorModel(ml,new Format[]{formats}, new FileTypeDescriptor(FileTypeDescriptor.{color:#ff6600}MSVIDEO{color}));
    p=Manager.createRealizedProcessor(model);
    source=p.getDataOutput();
    sink = Manager.createDataSink(source, new MediaLocator("file:///c:/Adiyae.{color:#ff6600}avi{color}"));
    p.addControllerListener(this);
    p.realize();
    Now the file is getting created with its size depending upon how long i capture..This is fine..But when i try to play the file using a media player it doesnt open.. when i tried opening it with JMStudio i get the following message..
    {color:#ff6600}Controller Error:
    Failed to realize:Failed to parse the input media..
    {color}Also can you tell me how to choose the FileTypeDescriptors for a particular video format.. The only FileTypeDescriptor that works with mine is the MSVIDEO..
    Thanks in advance..
    Edited by: s.baalajee on Dec 8, 2008 5:40 AM

Maybe you are looking for

  • Simplified Chinese format problem in File-File Scenario.

    Hi, I have configured File(FTP) - > File(FTP) Scenario. I am expecting a Chinese File from Source system which is AS400. I am using the file encoding format UTF-8 while the chinese characters are in GB2312 format. My sender file adapter picks up the

  • Business Objects logon error

    I am trying to setup a development server to test an upgrade to Business Objects 11.10.1336.0 to 11.6 using a copy of our production database. I am getting the following error when I login. Any ideas would be appreciated. There was an error launching

  • Zen Xtra Bookmarking question

    I was listening to an audio book, which consists of a number of mp3 files, on the Zen Xtra. I was into the 4th file, and decided to quit for the day. So I used the bookmark feature to set a bookmark at the place I stopped.. about 5 minutes into the t

  • Help needed with scripting pdf

    my app requires to retrieve user selected text in a pdf and do operations with it ..... i tried using the window.selection ... but does not work out ..... any ideas how can this be done ..... thnx a lot !!!

  • Disabling hardware acceleration resolved issue with Google Maps not loading in Firefox 19

    For the last few days noticed that I could no longer use Googlemaps in Firefox 19. The page would completely load then if I typed a single character into the search box for google maps it would bring up the "Still loading" text and do nothing. Follow