diff --git a/.gitignore b/.gitignore index 99161d5..e9f18c3 100644 --- a/.gitignore +++ b/.gitignore @@ -162,3 +162,4 @@ cython_debug/ *local out/* +.~* diff --git a/chapter.csv b/chapter.csv index 8f32843..c5e668a 100644 --- a/chapter.csv +++ b/chapter.csv @@ -1,110 +1,110 @@ chap,Part,start,comment -001,1,00:00:25,A_Day_of_Very_Low_Probability -002,1,00:16:04,Everything_I_Believe_is_False -003,1,00:26:19,Comparing_Reality_To_Its_Alternatives -004,1,00:38:41,The_Efficient_Market_Hypothesis -005,1,00:49:55, -006,1,01:11:20, -007,1,02:14:23, -008,1,03:23:35, -009,1,03:58:43, -009.5,1,04:13:38,Readers_Kommentar -010,1,04:14:23, -011,1,04:35:17,There is no chapter 11 -012,1,04:35:19, -013,1,04:58:09, -014,1,05:36:46, -015,1,06:04:33, -016,1,06:25:35, -017,1,07:01:49, -018,1,08:19:35, -019,1,09:14:09, -020,1,10:01:18, -021,1,10:37:14, +1,1,00:00:25,A_Day_of_Very_Low_Probability +2,1,00:16:04,Everything_I_Believe_is_False +3,1,00:26:19,Comparing_Reality_To_Its_Alternatives +4,1,00:38:41,The_Efficient_Market_Hypothesis +5,1,00:49:55, +6,1,01:11:20, +7,1,02:14:23, +8,1,03:23:35, +9,1,03:58:43, +9.5,1,04:13:38,Readers_Kommentar +10,1,04:14:23, +11,1,04:35:17,There is no chapter 11 +12,1,04:35:19, +13,1,04:58:09, +14,1,05:36:46, +15,1,06:04:33, +16,1,06:25:35, +17,1,07:01:49, +18,1,08:19:35, +19,1,09:14:09, +20,1,10:01:18, +21,1,10:37:14, end part 1,1,11:14:08, -022,2,00:00:25, -023,2,00:48:35, -024,2,01:27:19, -025,2,01:51:54, -026,2,02:21:01, -027,2,02:53:45, -028,2,03:47:34, -029,2,04:32:51, -030,2,05:06:21, -031,2,05:31:26, -032,2,05:56:04, -033,2,06:04:30, -034,2,06:30:49, -035,2,07:04:19, -036,2,08:00:14, -037,2,08:26:26, +22,2,00:00:25, +23,2,00:48:35, +24,2,01:27:19, +25,2,01:51:54, +26,2,02:21:01, +27,2,02:53:45, +28,2,03:47:34, +29,2,04:32:51, +30,2,05:06:21, +31,2,05:31:26, +32,2,05:56:04, +33,2,06:04:30, +34,2,06:30:49, +35,2,07:04:19, +36,2,08:00:14, +37,2,08:26:26, end part 2,2,08:31:50, -038,3,00:00:25, -039,3,00:18:03, -040,3,01:08:53, -041,3,01:18:37, -042,3,01:33:23, -043,3,01:52:27, -044,3,02:37:46, -045,3,02:46:08, -046,3,03:07:57, -047,3,03:33:36, -048,3,04:48:14, -049,3,05:06:56, -050,3,05:36:37, -051,3,06:02:06, -052,3,06:22:13, -053,3,06:44:59, -054,3,06:54:02, -055,3,07:29:15, -056,3,08:10:40, -057,3,08:34:33, -058,3,09:02:46, -059,3,09:31:56, -060,3,10:00:15, -061,3,10:26:46, -062,3,11:06:48, -063,3,11:40:44, -064,,,There is no chapter 64 +38,3,00:00:25, +39,3,00:18:03, +40,3,01:08:53, +41,3,01:18:37, +42,3,01:33:23, +43,3,01:52:27, +44,3,02:37:46, +45,3,02:46:08, +46,3,03:07:57, +47,3,03:33:36, +48,3,04:48:14, +49,3,05:06:56, +50,3,05:36:37, +51,3,06:02:05.5, +52,3,06:22:13, +53,3,06:44:58.5, +54,3,06:54:02, +55,3,07:29:15, +56,3,08:10:40, +57,3,08:34:33, +58,3,09:02:46, +59,3,09:31:55.5, +60,3,10:00:15, +61,3,10:26:46, +62,3,11:06:48, +63,3,11:40:44, +64,,,There is no chapter 64 end part 3,3,13:15:04, -065,4,00:00:25, -066,4,00:31:29, -067,4,00:42:18, -068,4,01:05:19, -069,4,01:36:47, -070,4,01:57:50, -071,4,02:31:06, -072,4,02:59:44, -073,4,03:52:20, -074,4,04:24:54, -075,4,05:27:44, -076,4,06:03:40, -077,4,06:21:29, -078,4,07:31:41, -079,4,09:12:39, -080,4,10:04:12, -081,4,10:42:50, -082,4,11:17:38, -083,4,11:44:34, -084,4,11:48:30, -085,4,12:58:15, +65,4,00:00:25, +66,4,00:31:29, +67,4,00:42:18, +68,4,01:05:19, +69,4,01:36:47, +70,4,01:57:50, +71,4,02:31:06, +72,4,02:59:44, +73,4,03:52:20, +74,4,04:24:54, +75,4,05:27:44, +76,4,06:03:40, +77,4,06:21:29, +78,4,07:31:41, +79,4,09:12:39, +80,4,10:04:12, +81,4,10:42:50, +82,4,11:17:38, +83,4,11:44:34, +84,4,11:48:30, +85,4,12:58:15, end part 4,4,13:39:46, -086,5,00:00:25, -087,5,02:15:34, -088,5,02:53:35, -089,5,03:31:17, -090,5,03:49:17, -091,5,04:24:07, -092,5,04:53:19, -093,5,05:07:49, -094,5,05:31:08, -095,5,05:56:21, -096,5,06:25:44, -097,5,06:49:29, -098,5,07:32:20, -099,5,07:52:36, +86,5,00:00:25, +87,5,02:15:34, +88,5,02:53:35, +89,5,03:31:17, +90,5,03:49:17, +91,5,04:24:07, +92,5,04:53:19, +93,5,05:07:49, +94,5,05:31:08, +95,5,05:56:20.5, +96,5,06:25:44, +97,5,06:49:29, +98,5,07:32:20, +99,5,07:52:36, end part 5,5,07:52:50, -100,6,00:00:25, +100,6,00:00:26, 101,6,00:40:01, 102,6,00:59:58, 103,6,01:35:27, @@ -128,4 +128,4 @@ end part 5,5,07:52:50, 120,6,10:32:55, 121,6,10:49:25, 122,6,10:58:49, -123,6,12:15:00,End \ No newline at end of file +123,6,12:15:00,End diff --git a/splitSrc/ffmpeg.py b/splitSrc/ffmpeg.py index 0507c99..3213d62 100644 --- a/splitSrc/ffmpeg.py +++ b/splitSrc/ffmpeg.py @@ -15,7 +15,8 @@ async def main(part, cid, time: dict, end, title, filenamemuster, fileformat): ffmpeg = ( FFmpeg() - .option("y") + .option('y') + .option('hide_banner') ) if end is not None: ffmpeg.input( @@ -49,7 +50,8 @@ async def main(part, cid, time: dict, end, title, filenamemuster, fileformat): @ffmpeg.on("stderr") def on_stderr(line): - print("stderr:", line) + pass + # print("stderr:", line) @ffmpeg.on("progress") def on_progress(progress):