Skip to content

Intelligent frame rate conversion #279

Open

Description

@bradleysepos

New frame rate option that intelligently chooses an even fraction of standard input frame rates, outputting between 24 and the given peak/variable frame rate. There is little benefit below an input of 48 fps (24 fps output).

Examples:

  • 120 fps input, 30 fps variable/peak + snap to best, yields 30 fps (as usual)
  • 60 fps input, 30 fps variable/peak + snap to best, yields 30 fps (as usual)
  • 59.94 fps input, 30 fps variable/peak + snap to best, yields 29.97 fps (instead of 30 fps)
  • 50 fps input, 30 fps variable/peak + snap to best, yields 25 fps (instead of 30 fps)
  • 48 fps input, 30 fps variable/peak + snap to best, yields 24 fps (instead of 30 fps)

Et cetera.

This probably should be implemented in libhb and presented as an additional option in the GUIs, maybe a checkbox. An additional preset key will be necessary.

I would love to enable this for all built-in presets that use peak fps. Right now they mostly do the right thing, but in some edge cases they cannot; e.g. with a multiple of 25 fps input and 30 fps peak preset, the result may be suboptimal, especially when then viewed on a 50 Hz display (50 > 30 > 25/50).

Activity

  1. added this to the Unscheduled milestone on Jul 26, 2016
  2. bradleysepos commented on Dec 29, 2016

    @bradleysepos
    ContributorAuthor

    Slating for 1.1.0, can always reschedule.

  3. self-assigned this
    on Mar 4, 2017
  4. removed this from the 1.1.0 milestone on May 29, 2017
  5. modified the milestones: 1.2.0, 1.3.0 on Oct 3, 2018
  6. modified the milestones: 1.3.0, Unscheduled on Jan 1, 2019
  7. jstebbins commented on Mar 30, 2020

    @jstebbins
    Contributor

    Does there really need to be a GUI option for this? Could we just make this the standard behavior for the "peak" framerate option? It would be easier to implement and we wouldn't have to try to explain the math to users.

  8. bradleysepos commented on Mar 30, 2020

    @bradleysepos
    ContributorAuthor

    Probably. I was thinking a checkbox, essentially, but you may be right, just do the right thing under the hood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions