[Libav-user] Artifacts while encoding x264 video

Christian Brümmer christian.bruemmer at gmx.de
Mon Jun 11 13:14:16 CEST 2012


No idea?

This is the x264 configuration from the ffmpeg print out:

[libx264 @ 02a11060] profile High, level 3.1
[libx264 @ 02a11060] 264 - core 120 r2164 da19765 - H.264/MPEG-4 AVC 
codec - Cop
yleft 2003-2012 - http://www.videolan.org/x264.html - options: cabac=1 
ref=3 deb
lock=1:0:0 analyse=0x3:0x113 me=hex subme=7 psy=1 psy_rd=1.00:0.00 
mixed_ref=1 m
e_range=16 chroma_me=1 trellis=1 8x8dct=1 cqm=0 deadzone=21,11 
fast_pskip=1 chro
ma_qp_offset=-2 threads=3 sliced_threads=0 nr=0 decimate=1 interlaced=0 
bluray_c
ompat=0 constrained_intra=0 bframes=3 b_pyramid=2 b_adapt=1 b_bias=0 
direct=1 we
ightb=1 open_gop=0 weightp=2 keyint=48 keyint_min=4 scenecut=40 
intra_refresh=0
rc_lookahead=40 rc=abr mbtree=1 bitrate=1 ratetol=1.0 qcomp=0.60 qpmin=0 
qpmax=6
9 qpstep=4 ip_ratio=1.40 aq=1:1.00

This may help?

Am 31.05.2012 18:15, schrieb Christian Brümmer:
> 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
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20120611/2e5db4cd/attachment.html>


More information about the Libav-user mailing list