0
votes

I am new in the flash and I am using the red5 recorder to record video. Camera that i use is imac around 2 megapixel. While i am recording the video its fine and after record done, i save the video in vzaar. While i fetch the video from vzzar then the video is badly pixelated. How can i make the video fine?

cam.setQuality(0,90);

I keep this code in the as file. But this didn't work.

How can i improve the quality of video can you please suggest?

Thanks in advance :)

2
set.Camera(0,100)... is this action script code? if yes it is wrongfmodos
@fmodos can you please suggest me how can i increse quality, i think i am doing wrong. :(Pus
I posted a code examplefmodos

2 Answers

2
votes

You can read the documentation of the class Camera for a better understanding of the properties.

Anyway here is a code suggestion to get the best webcam quality:

var camera:Camera = Camera.getCamera()
//width, height of the video you are recording and fps(frame per seconds)
camera.setMode(400, 400, 15);
//set the bandwith to 0 which means that it will use all it can, 
//and the quality to 100 which is the best quality it can get
camera.setQuality(0, 100);