<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
i get strange artifacts while encoding a few dummy images to
videoframes.<br>
<br>
this is the result: <a class="moz-txt-link-freetext" href="http://youtu.be/pL0bKaxTBiU">http://youtu.be/pL0bKaxTBiU</a><br>
<br>
This is my c-code configuration:<br>
<br>
<small><small> codec = stream->codec;<br>
codec->codec_id = codecID;<br>
codec->codec_type = AVMEDIA_TYPE_VIDEO;<br>
codec->bit_rate = mParameters.mBitRate;<br>
codec->width = mParameters.mWidth;<br>
codec->height = mParameters.mHeight;<br>
codec->time_base.den = mParameters.mFrameRate;<br>
codec->time_base.num = 1;<br>
codec->gop_size = mParameters.mFrameRate; <br>
codec->pix_fmt = PIXEL_FORMAT;<br>
codec->b_frame_strategy = 0;<br>
codec->level = 12;<br>
<br>
// for H264<br>
codec->me_range = 16;<br>
codec->max_qdiff = 4;<br>
// lower value for higher quality range: 0-52<br>
codec->qmin = 10;<br>
codec->qmax = 26;<br>
codec->qcompress = 0.6;</small></small><br>
<br>
with parameters:<br>
<br>
<small><small> param.mBitRate = 40000;<br>
param.mCodec = "x264";<br>
param.mFrameRate = 24;<br>
param.mHeight = 480;<br>
param.mWidth = 800;</small></small><br>
<br>
What can be the reason for those very ugly artifacs appearing every
few seconds?<br>
<br>
Best regards,<br>
Christian<br>
</body>
</html>