[hatari-devel] Hatari feature suggestion

Nicolas Pomarède npomarede at corp.free.fr
Sun Nov 14 21:16:24 CET 2010


Le 07/11/2010 22:28, Eero Tamminen a écrit :
> As to AVI options, they don't seem be yet even in the Hatari configuration.
> The UI includes only options that are in the Hatari configuration.
>
> Nicolas, could you move the AviRecordFile, AviRecordDefaultCrop,
> nScreenRefreshRate, AviRecordDefaultVcodec to the configuration,
> maybe under new [Video] section?
>
>
> After that there could be checkbox for cropping in the UI as SDL Screen
> dialog still seems to have little space for it.
>
> OSX UI of course cannot be updated by any of the Hatari developers as we
> don't have XCode (Thomas has OSX, but AFAIK his XCode is too old to work
> with current Hatari OSX code).
>
> For the Python UI I haven't yet had time to add to even some more common
> earlier/options (which actually have been requested earlier).  But once AVI
> is in configuration I can add the needed support.
>

I added the AVI parameters in hatari.cfg, under [Video] section.

AviRecordFps has a special meaning :
  - if it's > 0, then this is the fps value to be used when creating the
    avi file (this overwrite the current refresh rate). For ST, the
    possible values should be 50, 60 or 71.
  - if it's == 0, then it means to use nScreenRefreshRate as the fps
    value.

Default mode should be AviRecordFps=0 to automatically select the 
current refresh rate.

Regarding the UI, if there's enough room, we could put a 'crop' checkbox 
and an 'fps' box (auto or a number).

Note that I removed some variables in avi_record.c and added a structure 
in configuration.c, so the OSX UI won't compile anymore and need to be 
updated.

Nicolas



More information about the hatari-devel mailing list