[Libav-user] Artifacts while encoding x264 video
Christian Brümmer
christian.bruemmer at gmx.de
Thu May 31 18:15:38 CEST 2012
Hi,
i get strange artifacts while encoding a few dummy images to videoframes.
this is the result: http://youtu.be/pL0bKaxTBiU
This is my c-code configuration:
codec = stream->codec;
codec->codec_id = codecID;
codec->codec_type = AVMEDIA_TYPE_VIDEO;
codec->bit_rate = mParameters.mBitRate;
codec->width = mParameters.mWidth;
codec->height = mParameters.mHeight;
codec->time_base.den = mParameters.mFrameRate;
codec->time_base.num = 1;
codec->gop_size = mParameters.mFrameRate;
codec->pix_fmt = PIXEL_FORMAT;
codec->b_frame_strategy = 0;
codec->level = 12;
// for H264
codec->me_range = 16;
codec->max_qdiff = 4;
// lower value for higher quality range: 0-52
codec->qmin = 10;
codec->qmax = 26;
codec->qcompress = 0.6;
with parameters:
param.mBitRate = 40000;
param.mCodec = "x264";
param.mFrameRate = 24;
param.mHeight = 480;
param.mWidth = 800;
What can be the reason for those very ugly artifacs appearing every few
seconds?
Best regards,
Christian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120531/878cd230/attachment.html>
More information about the Libav-user
mailing list