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

Oded Shimon ods15 at ods15.dyndns.org
Thu Sep 29 05:49:50 CEST 2005


On Thu, Sep 29, 2005 at 09:36:21AM +0600, byavl wrote:
> 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 */
>                                     ^^^^^^^

lavc encoder has most settings default for making mpeg-4 streams, for dvd 
compliance you need way more options than just changing keyint, you also 
need to change some vrc settings and a bunch of other stuff... I don't 
think it's worth changing the default just for this tiny option...

- ods15




More information about the MPlayer-dev-eng mailing list