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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to