martimichi
Programmer
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
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