Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to increase accuracy to miliseconds? #330

Open
oerdem19 opened this issue Feb 28, 2024 · 1 comment
Open

Possible to increase accuracy to miliseconds? #330

oerdem19 opened this issue Feb 28, 2024 · 1 comment

Comments

@oerdem19
Copy link

Hi,
Is it possible to increase accuracy to miliseconds rather than seconds. Currently, I can get start time like 0.59 seconds.
I would like to increase precision and be able to get start times like 0.595 for example.
Thank you,

@natelawrence
Copy link

natelawrence commented May 31, 2024

Hi, @oerdem19,

Gentle already outputs timecodes in even smaller denominations than milliseconds - when appropriate.

Here are the Gentle timecodes for a short 2-minute clip I aligned two weeks ago.

0.04
0.31

0.33
0.69

0.69
1.2

1.2
1.3199999999999998

1.32
1.77

1.77
1.93

1.93
2.34

2.34
2.53

2.54
3.02

3.04
3.64

3.64
4.04

4.04
4.7

4.7
5.3

5.3
5.45

5.45
5.96

5.97
6.4399999999999995

6.44
7.340000000000001

7.41
7.58

7.58
7.74

7.74
8.11

8.11
8.24

8.24
8.6

8.599999
8.999999

9.0
9.17

9.179999
9.719999000000001

9.719999
10.329998999999999

10.33
10.51

10.51
11.0

11.0
11.32

11.32
11.58

11.59
11.6

12.37
13.02

13.02
13.2

13.24
13.52

13.52
13.86

13.86
13.95

13.95
14.059999999999999

14.059999
14.699999

14.7
15.36

15.469999
15.669998999999999

15.7
16.3

16.809999
17.039999

17.039999
17.929999000000002

17.940001
18.090000999999997

18.09
18.38

18.38
19.04

19.54
19.8

19.8
20.42

20.42
20.990000000000002

20.990000000000002
21.240000000000002

21.28
21.57

21.57
22.25

22.56
22.759999999999998

22.759999999999998
22.97

22.990000000000002
23.69

23.73
23.85

23.85
24.540000000000003

24.55
24.740000000000002

24.8
25.09

25.09
25.74

25.81
26.04

26.04
26.15

26.17
26.5

26.509999999999998
26.839999999999996

26.849999
27.579999

28.059998999999998
28.389998999999996

28.389999
28.509999

28.509999999999998
28.97

28.969999
29.309999

29.309998999999998
29.429999

29.429999000000002
29.539999

29.54
29.869999999999997

29.880000000000003
30.340000000000003

30.34
30.89

30.889999
31.029999

31.04
31.38

31.42
31.610000000000003

31.61
31.8

31.799999
32.009999

32.009999
32.619999

32.639999
32.889999

32.889999
33.839999000000006

33.96
34.22

34.219999
34.719999

34.719999
34.889999

34.889999
35.529999000000004

35.940000999999995
36.120000999999995

36.119999
36.279999

36.28
36.75

36.75
37.2

37.2
37.440000000000005

37.49
37.78

37.78
38.27

38.27
38.89

38.89
39.09

39.09
39.45

39.85
40.120000000000005

40.13
40.650000000000006

41.07
41.77

41.769999999999996
41.86

41.86
42.43

42.43
42.56

42.62
42.949999999999996

42.99
43.42

43.43
43.82

43.83
44.21

44.22
44.86

45.12
45.349999999999994

45.349999
45.679998999999995

45.679999
45.859999

45.87
46.0

46.0
46.45

46.45
46.510000000000005

46.51
47.33

47.480000000000004
47.690000000000005

47.69
48.46

48.46
48.89

48.889999
49.269999000000006

49.69
50.349999999999994

50.37
50.55

50.549999
50.669999

50.67
51.050000000000004

51.049999
51.709998999999996

51.719999
51.929999

51.929999
52.399999

52.43
52.9

52.9
53.6

53.609999
53.619999

54.54
55.08

55.37
55.87

55.9
56.089999999999996

56.09
56.300000000000004

56.31
56.400000000000006

56.4
57.08

57.22
57.75

57.76
58.46

58.66
58.849999999999994

58.85
58.89

58.89
59.44

59.46
59.63

61.15
61.16

61.34
61.84

61.84
62.31

62.730000000000004
62.900000000000006

62.9
63.11

63.12
63.4

63.4
63.83

63.83
64.39

64.4
64.63000000000001

64.9
64.99000000000001

64.99
65.19999999999999

65.2
65.55

65.65
66.62

66.98
67.51

67.719999
68.779999

69.4
69.7

69.7
69.94

69.94
70.02

70.02
70.44

70.440001
71.160001

71.19999899999999
71.459999

71.469999
71.75999900000001

71.76
72.02000000000001

72.02
72.17999999999999

72.18
72.83000000000001

72.89000000000001
73.86000000000001

74.67000000000002
74.88000000000001

74.88000000000001
75.29

75.35000000000001
75.54

75.54
75.68

75.68
76.15

76.16000000000001
76.34000000000002

76.85
77.30999999999999

77.44
77.95

78.01
78.47

78.48
79.09

79.4
79.60000000000001

79.6
80.28999999999999

80.3
80.61999999999999

80.62
81.19

81.2
81.39

81.389999
81.499999

81.51
82.15

82.16
82.95

83.349999
83.629999

83.63
84.14999999999999

84.16
84.88

84.9
85.98

85.99
86.61999999999999

86.969999
87.159999

87.16
87.33

87.33
87.87

88.119999
88.419999

88.42
88.57000000000001

88.58
89.2

89.19999899999999
89.35999899999999

89.359999
89.819999

90.27
90.6

90.6
90.75

90.75
90.89

90.889999
91.329999

91.33
91.72

91.72
91.92999999999999

91.97
92.25

92.25
92.6

92.6
93.11999999999999

93.43
93.95

93.95
94.28

94.28
94.43

94.44
94.84

94.84
95.35000000000001

95.37
95.55000000000001

95.55
96.14999999999999

96.51
96.67

96.67
97.26

97.56
98.22

98.599999
99.289999

99.69
99.89999999999999

99.9
100.44000000000001

100.98
100.99000000000001

101.389999
101.769999

101.77
101.83

101.83
102.39

102.4
102.72

102.719999
102.889999

102.9
103.15

103.15
103.52000000000001

103.94
104.17999999999999

104.179999
104.679999

104.679999
104.83999899999999

104.839999
105.339999

105.49
105.69

105.69
106.08

106.58
107.26

107.66
108.06

108.059999
108.479999

108.5
108.65

109.27
109.28

109.29
109.63000000000001

109.63
110.02

110.48
110.85000000000001

110.86
111.33

111.6
111.96

111.96
112.44

112.45
112.75

112.76
113.04

113.05
113.06

114.27
114.52

114.52
114.64

114.64
114.78

114.78
114.94

114.94
115.49

115.93
116.10000000000001

116.099999
116.30999899999999

116.309999
116.499999

116.5
116.78

116.78
116.95

116.95
117.24000000000001

117.24
117.53999999999999

117.559999
117.699999

117.7
117.81

117.809999
118.369999

118.389999
118.609999

118.679999
118.969999

118.98
119.68

As you can see, many of the timecodes go well beyond three digits after the decimal point.

I realize that you are looking for (a minimum of) three digits of precision after the decimal point for every single timecode, but you can easily pad them out with zeroes, if necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants