[FFmpeg-devel] how to enable intra-refresh?
Hardik Sharma
hardik.sharma22 at yahoo.com
Fri Sep 30 00:56:39 CEST 2011
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
More information about the ffmpeg-devel
mailing list