Skip to main content
Participant
August 4, 2006
Question

Problems with camera resolution...

  • August 4, 2006
  • 1 reply
  • 301 views
Hi everyone,

I've acquired a security cam to test a video-chat with FMS2 and encounter a problem with the resolution of my cam. It's a CPcam CPC371P and It is said to have a resolution of 510*492 (certain sites speak of standard resolution?).

I wrote two simple applications, one to send the cam stream and one to receive it, here is the code of both my applications :
Send.fla:
var my_nc = new NetConnection();
cam = Camera.get(IndexCam);
cam.setQuality(0,80);
cam.setMode(510,492,15,false);
my_vid.attachVideo(cam);
my_nc.connect("rtmp://server.no-ip.org/tchat_cam/");
ns = new NetStream(my_nc);
ns.attachVideo(cam);
ns.publish("webcam","live");


receive.fla
var my_nc = new NetConnection();
my_nc.connect("rtmp://server.no-ip.org/tchat_cam/");
ns = new NetStream(my_nc);
my_vid.attachVideo(ns);
ns.play("webcam");


As you can see, nothing really complicated. The applications work perfectly but no matter the resolution I choose, the image seems to be extrapolated and pixellised. I tried 512*384, 510*492(supposed to be the cam res) and 240*160.
In any case, the image quality is still really poor...

If anyone could help me on this, Is it a problem with the camera, I may have forgotten an option in my stream ???

Thanks in advance.
Guaca666.
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    guaca666Author
    Participant
    August 7, 2006
    After many tests, trying many different resolutions, It seems that It can't go beyond a resolution of 510x480...

    Does anyone know if it is the maximum res of a Stream or if there is an option to outpass this problem ? It may be the cause of the poor final quality of my video as the camera native resolution is 510x492...

    If anyone could help me, it would be a great relief... :)
    Guaca666.