Correcting some timestamps

51 -.5
53 -.5
59 -.5
95 -.5
100 +1
This commit is contained in:
Beat Jäckle 2023-01-03 12:30:23 +01:00
parent 8df21c4145
commit cdea3eafaf
3 changed files with 107 additions and 104 deletions

1
.gitignore vendored
View file

@ -162,3 +162,4 @@ cython_debug/
*local *local
out/* out/*
.~*

View file

@ -1,110 +1,110 @@
chap,Part,start,comment chap,Part,start,comment
001,1,00:00:25,A_Day_of_Very_Low_Probability 1,1,00:00:25,A_Day_of_Very_Low_Probability
002,1,00:16:04,Everything_I_Believe_is_False 2,1,00:16:04,Everything_I_Believe_is_False
003,1,00:26:19,Comparing_Reality_To_Its_Alternatives 3,1,00:26:19,Comparing_Reality_To_Its_Alternatives
004,1,00:38:41,The_Efficient_Market_Hypothesis 4,1,00:38:41,The_Efficient_Market_Hypothesis
005,1,00:49:55, 5,1,00:49:55,
006,1,01:11:20, 6,1,01:11:20,
007,1,02:14:23, 7,1,02:14:23,
008,1,03:23:35, 8,1,03:23:35,
009,1,03:58:43, 9,1,03:58:43,
009.5,1,04:13:38,Readers_Kommentar 9.5,1,04:13:38,Readers_Kommentar
010,1,04:14:23, 10,1,04:14:23,
011,1,04:35:17,There is no chapter 11 11,1,04:35:17,There is no chapter 11
012,1,04:35:19, 12,1,04:35:19,
013,1,04:58:09, 13,1,04:58:09,
014,1,05:36:46, 14,1,05:36:46,
015,1,06:04:33, 15,1,06:04:33,
016,1,06:25:35, 16,1,06:25:35,
017,1,07:01:49, 17,1,07:01:49,
018,1,08:19:35, 18,1,08:19:35,
019,1,09:14:09, 19,1,09:14:09,
020,1,10:01:18, 20,1,10:01:18,
021,1,10:37:14, 21,1,10:37:14,
end part 1,1,11:14:08, end part 1,1,11:14:08,
022,2,00:00:25, 22,2,00:00:25,
023,2,00:48:35, 23,2,00:48:35,
024,2,01:27:19, 24,2,01:27:19,
025,2,01:51:54, 25,2,01:51:54,
026,2,02:21:01, 26,2,02:21:01,
027,2,02:53:45, 27,2,02:53:45,
028,2,03:47:34, 28,2,03:47:34,
029,2,04:32:51, 29,2,04:32:51,
030,2,05:06:21, 30,2,05:06:21,
031,2,05:31:26, 31,2,05:31:26,
032,2,05:56:04, 32,2,05:56:04,
033,2,06:04:30, 33,2,06:04:30,
034,2,06:30:49, 34,2,06:30:49,
035,2,07:04:19, 35,2,07:04:19,
036,2,08:00:14, 36,2,08:00:14,
037,2,08:26:26, 37,2,08:26:26,
end part 2,2,08:31:50, end part 2,2,08:31:50,
038,3,00:00:25, 38,3,00:00:25,
039,3,00:18:03, 39,3,00:18:03,
040,3,01:08:53, 40,3,01:08:53,
041,3,01:18:37, 41,3,01:18:37,
042,3,01:33:23, 42,3,01:33:23,
043,3,01:52:27, 43,3,01:52:27,
044,3,02:37:46, 44,3,02:37:46,
045,3,02:46:08, 45,3,02:46:08,
046,3,03:07:57, 46,3,03:07:57,
047,3,03:33:36, 47,3,03:33:36,
048,3,04:48:14, 48,3,04:48:14,
049,3,05:06:56, 49,3,05:06:56,
050,3,05:36:37, 50,3,05:36:37,
051,3,06:02:06, 51,3,06:02:05.5,
052,3,06:22:13, 52,3,06:22:13,
053,3,06:44:59, 53,3,06:44:58.5,
054,3,06:54:02, 54,3,06:54:02,
055,3,07:29:15, 55,3,07:29:15,
056,3,08:10:40, 56,3,08:10:40,
057,3,08:34:33, 57,3,08:34:33,
058,3,09:02:46, 58,3,09:02:46,
059,3,09:31:56, 59,3,09:31:55.5,
060,3,10:00:15, 60,3,10:00:15,
061,3,10:26:46, 61,3,10:26:46,
062,3,11:06:48, 62,3,11:06:48,
063,3,11:40:44, 63,3,11:40:44,
064,,,There is no chapter 64 64,,,There is no chapter 64
end part 3,3,13:15:04, end part 3,3,13:15:04,
065,4,00:00:25, 65,4,00:00:25,
066,4,00:31:29, 66,4,00:31:29,
067,4,00:42:18, 67,4,00:42:18,
068,4,01:05:19, 68,4,01:05:19,
069,4,01:36:47, 69,4,01:36:47,
070,4,01:57:50, 70,4,01:57:50,
071,4,02:31:06, 71,4,02:31:06,
072,4,02:59:44, 72,4,02:59:44,
073,4,03:52:20, 73,4,03:52:20,
074,4,04:24:54, 74,4,04:24:54,
075,4,05:27:44, 75,4,05:27:44,
076,4,06:03:40, 76,4,06:03:40,
077,4,06:21:29, 77,4,06:21:29,
078,4,07:31:41, 78,4,07:31:41,
079,4,09:12:39, 79,4,09:12:39,
080,4,10:04:12, 80,4,10:04:12,
081,4,10:42:50, 81,4,10:42:50,
082,4,11:17:38, 82,4,11:17:38,
083,4,11:44:34, 83,4,11:44:34,
084,4,11:48:30, 84,4,11:48:30,
085,4,12:58:15, 85,4,12:58:15,
end part 4,4,13:39:46, end part 4,4,13:39:46,
086,5,00:00:25, 86,5,00:00:25,
087,5,02:15:34, 87,5,02:15:34,
088,5,02:53:35, 88,5,02:53:35,
089,5,03:31:17, 89,5,03:31:17,
090,5,03:49:17, 90,5,03:49:17,
091,5,04:24:07, 91,5,04:24:07,
092,5,04:53:19, 92,5,04:53:19,
093,5,05:07:49, 93,5,05:07:49,
094,5,05:31:08, 94,5,05:31:08,
095,5,05:56:21, 95,5,05:56:20.5,
096,5,06:25:44, 96,5,06:25:44,
097,5,06:49:29, 97,5,06:49:29,
098,5,07:32:20, 98,5,07:32:20,
099,5,07:52:36, 99,5,07:52:36,
end part 5,5,07:52:50, end part 5,5,07:52:50,
100,6,00:00:25, 100,6,00:00:26,
101,6,00:40:01, 101,6,00:40:01,
102,6,00:59:58, 102,6,00:59:58,
103,6,01:35:27, 103,6,01:35:27,
@ -128,4 +128,4 @@ end part 5,5,07:52:50,
120,6,10:32:55, 120,6,10:32:55,
121,6,10:49:25, 121,6,10:49:25,
122,6,10:58:49, 122,6,10:58:49,
123,6,12:15:00,End 123,6,12:15:00,End

1 chap Part start comment
2 001 1 1 00:00:25 A_Day_of_Very_Low_Probability
3 002 2 1 00:16:04 Everything_I_Believe_is_False
4 003 3 1 00:26:19 Comparing_Reality_To_Its_Alternatives
5 004 4 1 00:38:41 The_Efficient_Market_Hypothesis
6 005 5 1 00:49:55
7 006 6 1 01:11:20
8 007 7 1 02:14:23
9 008 8 1 03:23:35
10 009 9 1 03:58:43
11 009.5 9.5 1 04:13:38 Readers_Kommentar
12 010 10 1 04:14:23
13 011 11 1 04:35:17 There is no chapter 11
14 012 12 1 04:35:19
15 013 13 1 04:58:09
16 014 14 1 05:36:46
17 015 15 1 06:04:33
18 016 16 1 06:25:35
19 017 17 1 07:01:49
20 018 18 1 08:19:35
21 019 19 1 09:14:09
22 020 20 1 10:01:18
23 021 21 1 10:37:14
24 end part 1 1 11:14:08
25 022 22 2 00:00:25
26 023 23 2 00:48:35
27 024 24 2 01:27:19
28 025 25 2 01:51:54
29 026 26 2 02:21:01
30 027 27 2 02:53:45
31 028 28 2 03:47:34
32 029 29 2 04:32:51
33 030 30 2 05:06:21
34 031 31 2 05:31:26
35 032 32 2 05:56:04
36 033 33 2 06:04:30
37 034 34 2 06:30:49
38 035 35 2 07:04:19
39 036 36 2 08:00:14
40 037 37 2 08:26:26
41 end part 2 2 08:31:50
42 038 38 3 00:00:25
43 039 39 3 00:18:03
44 040 40 3 01:08:53
45 041 41 3 01:18:37
46 042 42 3 01:33:23
47 043 43 3 01:52:27
48 044 44 3 02:37:46
49 045 45 3 02:46:08
50 046 46 3 03:07:57
51 047 47 3 03:33:36
52 048 48 3 04:48:14
53 049 49 3 05:06:56
54 050 50 3 05:36:37
55 051 51 3 06:02:06 06:02:05.5
56 052 52 3 06:22:13
57 053 53 3 06:44:59 06:44:58.5
58 054 54 3 06:54:02
59 055 55 3 07:29:15
60 056 56 3 08:10:40
61 057 57 3 08:34:33
62 058 58 3 09:02:46
63 059 59 3 09:31:56 09:31:55.5
64 060 60 3 10:00:15
65 061 61 3 10:26:46
66 062 62 3 11:06:48
67 063 63 3 11:40:44
68 064 64 There is no chapter 64
69 end part 3 3 13:15:04
70 065 65 4 00:00:25
71 066 66 4 00:31:29
72 067 67 4 00:42:18
73 068 68 4 01:05:19
74 069 69 4 01:36:47
75 070 70 4 01:57:50
76 071 71 4 02:31:06
77 072 72 4 02:59:44
78 073 73 4 03:52:20
79 074 74 4 04:24:54
80 075 75 4 05:27:44
81 076 76 4 06:03:40
82 077 77 4 06:21:29
83 078 78 4 07:31:41
84 079 79 4 09:12:39
85 080 80 4 10:04:12
86 081 81 4 10:42:50
87 082 82 4 11:17:38
88 083 83 4 11:44:34
89 084 84 4 11:48:30
90 085 85 4 12:58:15
91 end part 4 4 13:39:46
92 086 86 5 00:00:25
93 087 87 5 02:15:34
94 088 88 5 02:53:35
95 089 89 5 03:31:17
96 090 90 5 03:49:17
97 091 91 5 04:24:07
98 092 92 5 04:53:19
99 093 93 5 05:07:49
100 094 94 5 05:31:08
101 095 95 5 05:56:21 05:56:20.5
102 096 96 5 06:25:44
103 097 97 5 06:49:29
104 098 98 5 07:32:20
105 099 99 5 07:52:36
106 end part 5 5 07:52:50
107 100 6 00:00:25 00:00:26
108 101 6 00:40:01
109 102 6 00:59:58
110 103 6 01:35:27
128 120 6 10:32:55
129 121 6 10:49:25
130 122 6 10:58:49
131 123 6 12:15:00 End

View file

@ -15,7 +15,8 @@ async def main(part, cid, time: dict, end, title, filenamemuster, fileformat):
ffmpeg = ( ffmpeg = (
FFmpeg() FFmpeg()
.option("y") .option('y')
.option('hide_banner')
) )
if end is not None: if end is not None:
ffmpeg.input( ffmpeg.input(
@ -49,7 +50,8 @@ async def main(part, cid, time: dict, end, title, filenamemuster, fileformat):
@ffmpeg.on("stderr") @ffmpeg.on("stderr")
def on_stderr(line): def on_stderr(line):
print("stderr:", line) pass
# print("stderr:", line)
@ffmpeg.on("progress") @ffmpeg.on("progress")
def on_progress(progress): def on_progress(progress):