[x264-devel] how to enable intra-refresh?

Schier Michael michael.schier at uibk.ac.at
Mon Oct 3 10:26:32 CEST 2011


the documentation says
--intra-refresh         Use Periodic Intra Refresh instead of IDR frames

so this is a different thing from what you intend to do. In older
versions, this option was used to turn IDR frames on/off as you intend.
Check the documentation of the version of your x264 lib.

Am Donnerstag, den 29.09.2011, 15:56 -0700 schrieb Hardik Sharma:
> I am trying to enable intra-refresh or IDR frame to replace keyint/I
> frames for all the time when new gop starts. I am giving following
> command -
> 
> 
> ffmpeg -y -s 352x288 -r 30 -pix_fmt yuv420p -f rawvideo -i
> foreman_cif.yuv -vcodec libx264 -y -b 512k -r 30 -preset fast -s
> 352x288 -flags +loop -cmp +chroma -flags2 -fastpskip -refs 6 -x264opts
> slice-max-size=300:bframes=1:keyint=20:no-interlaced=1:trellis=2:intra-refresh=1:subme=10 -f h264 -mbd 1 -profile high -deblockalpha 0 -deblockbeta 0 -threads 0 out.264
> 
> 
> and getting error as -
> [libx264 @ 0xa896320] ref > 1 + intra-refresh is not supported
> [libx264 @ 0xa896320] intra-refresh is not compatible with open-gop
> 
> 
> my gop is not open as you can see there is keyint=20, which proves
> that the size of gop is 20 frames. PLease help me for this. Thanks 
>  
> _______________________________________________
> x264-devel mailing list
> x264-devel at videolan.org
> http://mailman.videolan.org/listinfo/x264-devel



More information about the x264-devel mailing list