Hello all,

I'm encoding and decoding video using the MJPEG codec in libavcodec,
on a pxa270 platform.
Encoding and decoding is pretty fast, which is ofcourse a good thing.
However, i would like to increase the quality of the JPEG images produces.
The current video contains little color, and pretty large blocks.

For encoding I use:

   encContext             = avcodec_alloc_context();
   encContext->width      = 320;
   encContext->height     = 240;
   encContext->time_base  = (AVRational){1,10};
   encContext->pix_fmt    = PIX_FMT_YUVJ420P;

Are there any more parameters that affect the output quality of the
images, or is this a fixed setting?
I can't seem to find anything in the source, or I'm just looking at
the wrong files...

Can you guys shine a light on this?

Thanks in advance,

Edwin van der Horst
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to