obs-streamFX/source/encoders
Michael Fabian 'Xaymar' Dirks b55e4b283b encoder/ffmpeg: Add split framerate with integer fractions
It seems to be possible to encode with a different framerate than what libOBS is configured for. While technically any framerate appears to be possible, it is currently limited to integer fractions only in order to make the implementation much easier. Integer fractions only require skipping N frames and multiplying the denominator by N, where N is the configured integer. For sanity reasons, the limit of N is currently 10.

This allows power users to split their streaming and recording framerates with relative ease, and opt for things such as:
- 30 FPS (1/4) streaming with 120 FPS (1/1) recording.
- 30 FPS (1/10) streaming with 300 FPS (1/1) recording.
- 30 FPS (1/10) streaming with 100 FPS (1/3) recording.
- and so on.
While some of these combinations are just stupid, they are now available to power users.
2023-04-05 18:58:45 +02:00
..
codecs code: Always initialize or cast to correct type 2023-04-05 18:58:37 +02:00
handlers cmake, code: Abuse pre-processor to disable/enable warnings 2023-04-05 18:58:39 +02:00
encoder-aom-av1.cpp cmake, code: Abuse pre-processor to disable/enable warnings 2023-04-05 18:58:39 +02:00
encoder-aom-av1.hpp cmake, code: Abuse pre-processor to disable/enable warnings 2023-04-05 18:58:39 +02:00
encoder-ffmpeg.cpp encoder/ffmpeg: Add split framerate with integer fractions 2023-04-05 18:58:45 +02:00
encoder-ffmpeg.hpp encoder/ffmpeg: Add split framerate with integer fractions 2023-04-05 18:58:45 +02:00