The frame rate as an exact rational :class:`fractions.Fraction`. For CFR sources this equals ``1 / time_base``. For VFR sources the rate may be an approximation (e.g. the average framerate); prefer :attr:`time_base` for exact PTS arithmetic. Returns ``None`` for timecodes co
(self)
| 275 | |
| 276 | @property |
| 277 | def frame_rate(self) -> Fraction | None: |
| 278 | """The frame rate as an exact rational :class:`fractions.Fraction`. |
| 279 | |
| 280 | For CFR sources this equals ``1 / time_base``. For VFR sources the rate may be an |
| 281 | approximation (e.g. the average framerate); prefer :attr:`time_base` for exact PTS |
| 282 | arithmetic. Returns ``None`` for timecodes constructed without an associated rate |
| 283 | (i.e. pure :class:`Timecode` representations). |
| 284 | """ |
| 285 | return self._rate |
| 286 | |
| 287 | @property |
| 288 | def framerate(self) -> float | None: |
nothing calls this directly
no outgoing calls
no test coverage detected