>> + /* 0 is intra-only, 1 is I/P only, 2 is one B Frame, 3 two B frames, >> and so on. */ >> + ctx->encode_config.frameIntervalP = avctx->max_b_frames + 1; > > how can the user choose between intra only and IP ? > > i would have assumed that gop_size <= 1 would select intra only >
max_b_frames goes from -1 to INT_MAX, so -1 would be intra-only, 0, the default, I/P only, 1 IBP, 2 IBBP, and so on.
signature.asc
Description: OpenPGP digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel