On date Thursday 2008-07-24 17:51:47 +0300, Stas Oskin wrote:
> Hi.
> 
> Any way to make the H.264 video less blocked?
> 
> I read about several commands that control libx264 (-flags +loop), any
> idea how to apply them on the code level?

Hi, basically you have two interfaces:

1) directly setting the context before to perform avcodec_open(),
e.g. with:
ctx->flags |= CODEC_FLAG_LOOP_FILTER; 

2) use the av_set_* interface (check libavcodec/opt.[ch]) before to
perform avcodec_open(), e.g. with:
av_set_string(ctx, "flags", "+loop", 1);

Also check the libavcodec/utils.c file for all the possible options
you can set.

HTH, regards.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to