[FFmpeg-devel] [PATCH 1/3] avcodec/nvenc: Fix b-frame parameter handling

Timo Rothenpieler timo at rothenpieler.org
Sun Jan 25 10:28:22 CET 2015


>> +    /* 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.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150125/bc609dc5/attachment.asc>


More information about the ffmpeg-devel mailing list