Search code examples
javajmf

Getting javax.media.NoProcessorException


Following is the code from my audio, video recording project. The audio file is getting created but while creating video file "testVideo.mov" I am getting "javax.media.NoProcessorException: Cannot find a Processor" exception.

ImageDataSource ids = new ImageDataSource(width, height, frameRate);
    Processor p;

    try 
    {
        UFBScrRecLogs.write("- create processor for the image datasource ...");
        p = Manager.createProcessor(ids);
    } catch(Exception e){e.printStackTrace();}

when I am executing this code in eclipse it is working fine but when I make windows installer of the application and ran this application after installing it then I am getting above error.

I am not getting why it is running in eclipse environment but not as windows application.


Solution

  • I found the solution. Actually it was jmf jar problem. I was using a old jmf jar now I used latest jmf jar and exception is not coming.