Skip to content

Commit 3a46c26

Browse files
committed
Prefer ntsc 60
1 parent 1d50a35 commit 3a46c26

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

auto_editor/make_layers.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,13 @@ def run_interpreter_for_edit_option(
112112

113113
def make_sane_timebase(fps: Fraction) -> Fraction:
114114
tb = round(fps, 2)
115+
116+
ntsc_60 = Fraction(60_000, 1001)
115117
ntsc = Fraction(30_000, 1001)
116118
film_ntsc = Fraction(24_000, 1001)
119+
120+
if tb == round(ntsc_60, 2):
121+
return ntsc_60
117122
if tb == round(ntsc, 2):
118123
return ntsc
119124
if tb == round(film_ntsc, 2):

0 commit comments

Comments
 (0)