You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jiitsunclub
Tags: javax.media.NoProcessorException: Cannot find a Processor for: c:
\b.avi
Hi experts,
I am facing a problem with jmf processor
It is not able to create processor. I even tried to create a
DataSource but again NoDataSourceException was there.
here is the code snipplet.
public Processor p;
public NewJFrame()
{
String url="c:\\b.avi";
MediaLocator ml=new MediaLocator(url);
FrameAccess fa=new FrameAccess();
if(!fa.open(ml))
{ }
}
public boolean open(MediaLocator ml)
{
try
{
//Manager.setHint(Manager.LIGHTWEIGHT_RENDERER, true);
//p=Manager.createProcessor(new URL("c:\\b.avi"));
p = Manager.createProcessor(ml);
//p=javax.media.Manager.createProcessor(ml);
}
catch (Exception e)
{
System.out.println("Failed to create a processor from the
given url: " + e);
return false;
}
return true;
}