A question about encode parameters

"Fernando A. de Araujo Filho" <[email protected]>
Newsgroups gmane.comp.video.xvid.user
Organization Safenet informática Ltda
Message-ID <000701c330e2$5945e1c0$07f8a4c8@safenet>
Hi, my name is Fernando, this is my firts email to the list. Sorry for bad
english ...
Special thanks to Christoph Lampert, Michael Militzer, Peter Ross and
all people helping to develop xvid.

I have started using xvid in a surveillance system with a multicapture
board.
I am encoding frames with low resolution (320x240) and (640x240).
As I have to send encoded frames over TCP (Corba), I need to set a good
combination of parameters when starting and encoding xvid frames, to get the
better image with the lower size.
When I was using DivX 4.12 I got a good combination, when I was receving
frames
with less the 1kb.

Any suggestion is a great help ...

Thanks in advance,

Fernando A. de  Araújo Filho


I am using the parameters below to start and encode frames;
   envFrames.encParam.width = mView->frameWidth;
  envFrames.encParam.height= mView->frameHeight;
  envFrames.encParam.fbase = 1;
  envFrames.encParam.fincr = 5;
  envFrames.encParam.rc_bitrate =
mView->camerasSettings.maxCompressao[indice]*1024; // ~65000
  envFrames.encParam.rc_reaction_delay_factor = -1;
  envFrames.encParam.rc_averaging_period = 10;
  envFrames.encParam.rc_buffer = -1;
  envFrames.encParam.max_quantizer = 12;
  envFrames.encParam.min_quantizer = 2;
  envFrames.encParam.max_key_interval =
mView->camerasSettings.maxKeyFrames[indice];

  envFrames.encFrame.general = XVID_MPEGQUANT;
  envFrames.encFrame.motion = PMV_ADVANCEDDIAMOND16;
  envFrames.encFrame.bitstream = ddestBuf;
  envFrames.encFrame.image = bufFrame;
  envFrames.encFrame.colorspace = XVID_CSP_RGB24;
  envFrames.encFrame.quant_intra_matrix = 0;
  envFrames.encFrame.quant = 8;
  envFrames.encFrame.quant_inter_matrix = 0;
  envFrames.encFrame.intra = -1;
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.