params.setValue("framerate", "30/1");
params.setValue("video_size", "320x240");
// open the container
int retval = container.open(deviceName, IContainer.Type.READ, format,
false, true, params, null);
if (retval < 0)
{
// this little trick converts the non friendly integer return
// value into a slightly more friendly object to get a