[Libav-user] getting very bad image after encoding

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon Apr 23 10:33:43 CEST 2012


2012/4/20 Manya Chauhan <manya1180 at ymail.com>:
> I am encoding images using avcodec_encode_video method and displaying them
> on subscriber demo of the Red5 media server.
> The problem i am facing is that all the images which are being displayed are
> totally distorted and nothing is clearly visible. I think something might be
> wrong with the pix_fmt set in avcodec context. Moreover image size is also
> quite large as 64000 bytes after encoding which I think is little weird
> Please give me solution of this problem. Any help is appreciated.

Check your quality and bitrate settings on encoding AVCodecContext.

-- 
Andrey Utkin


More information about the Libav-user mailing list