Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exception: The input format is not compatible with the given codec plu

Status
Not open for further replies.

martimichi

Programmer
Nov 25, 2003
1
AT
hallo,

I am want to implement a codec or effect (tried both) for an already working implementation of a player (input from webcam).

The codec is recognised
but when the codec is run, the format is not compatible..

Exception: ***********
The input format is not compatible with the given codec plugin: video.logoEffect@87c268
Failed to realize: com.sun.media.ProcessEngine@1a52fdf
Cannot build a flow graph with the customized options:
Unable to add customed codecs:
video.logoEffect@87c268
Error: Unable to realize com.sun.media.ProcessEngine@1a52fdf
*********************

already tried to use very general definition of input format (in the codec class):

new RGBFormat(null, //size
Format.NOT_SPECIFIED, //MAXDataLength
//Format.byteArray, //dataType
Format.intArray, //dataType
Format.NOT_SPECIFIED, //frameRate
24, //bitsPerPixel
Format.NOT_SPECIFIED,
Format.NOT_SPECIFIED, //flipped
Format.NOT_SPECIFIED) //endian
};

Does anyone know where the error may be?
Thanks for your help

Martina
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top