[MPlayer-dev-eng] Make dvd-compatible mpeg's and keyint (gop size)

byavl byavl at papillon.ru
Thu Sep 29 05:36:21 CEST 2005


Hi!
Can anyone to describe why default for the keyint option
set as 250 ?
Many of a DVD author applications to require the strong dvd compliance
for GOP size. 30 frames (for PAL) and not more.
And any times we must use 'keyint' option....

Anyone can to change this default ?

Source for change below:

MPlayer-1.0pre7/libmpcodecs/ve_lavc.c

     /* keyframe interval */
     if (lavc_param_keyint >= 0) /* != -1 */
         lavc_venc_context->gop_size = lavc_param_keyint;
     else
         lavc_venc_context->gop_size = 15; //250; /* default */
                                     ^^^^^^^

Thanks and with hope

--
byavl




More information about the MPlayer-dev-eng mailing list