Commit Graph

245 Commits

Author SHA1 Message Date
Jonathan Baecker
f98088cad2 fix new_playlist, filler only when out > 2, cleanup 2019-11-07 16:51:57 +01:00
Jonathan Baecker
7288fe2823 split gen_input, set always playlist start, shorten GetSourceIter 2019-11-06 17:56:19 +01:00
Jonathan Baecker
980adf87d3 put delta calculation in separate function 2019-11-05 17:47:29 +01:00
Jonathan Baecker
95f768064c fix long length calc 2019-11-05 09:40:27 +01:00
Jonathan Baecker
07f2eea5eb integrate infinit loop, #36 2019-11-04 16:37:06 +01:00
Jonathan Baecker
845d2bdc98 unify upper case letter, different time delta calculation on first clip 2019-11-04 11:22:54 +01:00
jb-alvarado
d9a7b7083e sync check in gen_input 2019-11-03 21:19:14 +01:00
jb-alvarado
4b21aaec8b tweak colors, ignore log path when cosole logging is set 2019-11-03 13:53:26 +01:00
jb-alvarado
ba3994df14 Merge branch 'dev' of https://github.com/ffplayout/ffplayout-engine into dev 2019-11-02 22:11:05 +01:00
jb-alvarado
0276f1162b colorize paths on all systems 2019-11-02 22:09:34 +01:00
jb-alvarado
0735dc4e28 colorize paths on all systems 2019-11-02 22:08:48 +01:00
jb-alvarado
149bcf646f revert check_sync to old state, work on gen_input calc time 2019-11-02 21:54:03 +01:00
jb-alvarado
2bb17790b8 colorama only for windows 2019-11-01 15:54:24 +01:00
jb-alvarado
e75c9232f9 working on optimization from check_sync and gen_input 2019-11-01 15:51:36 +01:00
jb-alvarado
42c2e3ae6b PEP 8 conform import, fix error for non existing URL source 2019-10-31 22:23:43 +01:00
Jonathan Baecker
390396200d simpler time conversion 2019-10-31 17:35:29 +01:00
Jonathan Baecker
95ca5d7859 move playlist paramter length to config file 2019-10-31 17:23:44 +01:00
Jonathan Baecker
c97f43f6b2 color for numbers, simplily check_sync and gen_input 2019-10-31 16:48:23 +01:00
Jonathan Baecker
3b78cc5357 colorize console output 2019-10-31 12:30:40 +01:00
jb-alvarado
f079773967 reordering 2019-10-30 21:34:16 +01:00
jb-alvarado
045870f95c SIGHUB only for Linux and macOS, start time as argument 2019-10-30 21:32:12 +01:00
Jonathan Baecker
21999d51d0 reload config with SIGHUP 2019-10-30 17:54:44 +01:00
Jonathan Baecker
d607ed8eac reorganize gen_input function, fix last clip handling, fade last clip 2019-10-30 15:34:40 +01:00
jb-alvarado
644738c3db boolean option for showing logo and text, #34 2019-10-29 21:25:09 +01:00
Jonathan Baecker
a630b6a777 rewrite gen_input function 2019-10-29 17:43:51 +01:00
Jonathan Baecker
3268fe0b0e don't call Messenger directly 2019-10-29 15:28:18 +01:00
Jonathan Baecker
0a3fb4bb47 fix replace 2019-10-29 14:52:02 +01:00
Jonathan Baecker
73bf0f71c0 add messenger class for unifying logging and mail sending 2019-10-29 14:47:21 +01:00
jb-alvarado
b800dc0c86 spelling, fade always in, fade out looped clipes 2019-10-27 21:00:12 +01:00
Jonathan Baecker
4a63386bf8 check poll() 2019-10-15 17:52:30 +02:00
Jonathan Baecker
dbcb67bc1e remove copyfileobj dependency 2019-10-15 17:32:08 +02:00
Jonathan Baecker
a289809332 fix last over length 2019-10-15 16:57:59 +02:00
Jonathan Baecker
ec32a139f6 loop every file which out > duration, fix probe filler 2019-10-15 15:56:12 +02:00
Jonathan Baecker
d1b92f5574 peview mode as argument 2019-10-15 14:46:30 +02:00
jb-alvarado
78b411364d simplify functions, final exeption in gen_input, fix filters, cleanup 2019-10-12 22:04:35 +02:00
jb-alvarado
b1eac1cb9a Merge branch 'master' into dev 2019-10-08 17:16:26 +02:00
jb-alvarado
b8a8761257 fix loudnorm filter 2019-10-08 17:16:10 +02:00
jb-alvarado
31b08d186d add warning when clip has no audio 2019-10-03 21:40:36 +02:00
jb-alvarado
a0fdb854aa add loudnorm (maybe it not work together with s302m audio codec) 2019-09-11 23:20:24 +02:00
Jonathan Baecker
0cbad7bb08 fix indent 2019-09-10 09:10:46 +02:00
jb-alvarado
1bfdccfcac wrong indent 2019-09-09 20:09:18 +02:00
Jonathan Baecker
5edf3893e5 check isclose aspect 2019-09-09 18:10:25 +02:00
Jonathan Baecker
9df39e3c1b validate json, add docstring 2019-09-09 16:13:18 +02:00
jb-alvarado
af0906988e remove copy mode, #29 2019-09-08 21:24:02 +02:00
Jonathan Baecker
2ee3934dac Merge branch 'master' into dev 2019-09-06 12:41:28 +02:00
Jonathan Baecker
74170f5c64 better formating 2019-09-06 12:03:46 +02:00
Jonathan Baecker
c842256bbc fix bracket position, fix eof handling 2019-09-06 12:02:11 +02:00
jb-alvarado
f92369336e add apad and tpad (needs ffmpeg 4.2) 2019-09-04 21:27:38 +02:00
jb-alvarado
dcba17e5ca load folder in class 2019-09-03 21:14:40 +02:00
jb-alvarado
ba037e0c85 MediaProbe to get infos, more filtering for match output, fix folder arg 2019-09-01 22:42:00 +02:00
Jonathan Baecker
2fc4513806 support config as argument 2019-08-20 14:45:05 +02:00
Jonathan Baecker
e7ce224ef9 Merge branch 'dev' - suppor remote playlists 2019-08-19 14:26:13 +02:00
Jonathan Baecker
d6644be1ef show timeshift 2019-08-16 16:00:59 +02:00
Jonathan Baecker
cb7cface2f fix type error when no start time is set 2019-08-16 15:56:41 +02:00
Jonathan Baecker
5ec80d90c1 fix handling of to short playlists 2019-08-14 11:31:51 +02:00
Jonathan Baecker
7ffca4efa0 fix 00:00:00.000 starttime 2019-08-14 10:37:58 +02:00
jb-alvarado
5a2a7532e9 fix time string 2019-08-13 21:41:10 +02:00
Jonathan Baecker
c52e17df83 merge with master 2019-08-12 14:30:47 +02:00
jb-alvarado
0e7e4724fd add folder argument 2019-08-09 17:55:21 +02:00
jb-alvarado
d619cd3c8b fix overlay in copy mode, calculation pre bitrate, cleanup 2019-08-09 17:31:39 +02:00
jb-alvarado
34b38c9491 cleanup code, fix: #21 2019-08-04 21:48:01 +02:00
Jonathan Baecker
91ba298b59 fix error when source in playlist is empty 2019-07-31 10:10:26 +02:00
jb-alvarado
c6f448f2ce check only length 2019-07-21 00:54:06 +02:00
Jonathan Baecker
21a7b9e08d loop filler clip, when playlist is not 24 hours long 2019-07-19 14:58:28 +02:00
Jonathan Baecker
1a622484c8 remove begin in playlist and time_shift in config - is redundant 2019-07-19 12:49:01 +02:00
Jonathan Baecker
de01322bc6 remove map_extension, cleanup 2019-07-18 18:00:56 +02:00
Jonathan Baecker
3effb577ce close when is done 2019-06-24 15:01:49 +02:00
Jonathan Baecker
499f7b44dd Merge branch 'dev' 2019-06-19 17:05:48 +02:00
Jonathan Baecker
1d750d4204 float instead of integer 2019-06-19 16:11:30 +02:00
jb-alvarado
4279f32089 thread_queue_size for copy mode 2019-06-16 14:27:15 +02:00
jb-alvarado
05c1739b40 no overlay filter in copy mode 2019-06-16 14:06:58 +02:00
Jonathan Baecker
67c58c8240 reorder variables 2019-06-11 15:28:52 +02:00
jb-alvarado
0286f94c2a Merge branch 'master' into dev 2019-06-10 11:18:25 +02:00
jb-alvarado
3991449785 tweak drawtext 2019-06-09 21:04:33 +02:00
Jonathan Baecker
3ce59811ab drawtext with config options 2019-06-07 16:42:11 +02:00
Jonathan Baecker
6fff195cd1 starting with text overlay 2019-06-07 16:12:09 +02:00
Jonathan Baecker
8f7055ed39 logging instead of printing 2019-06-07 13:34:48 +02:00
Jonathan Baecker
224df805df add log info 2019-06-07 13:31:47 +02:00
Jonathan Baecker
27d8f51099 import watchdog only when is needed 2019-06-07 10:16:39 +02:00
Jonathan Baecker
e0f829871f handle sigterm, BrokenPipeError and KeyboardInterrupt 2019-06-07 09:40:32 +02:00
jb-alvarado
d70a1b5654 BrokenPipeError to execpt 2019-06-06 22:08:07 +02:00
jb-alvarado
be7f34aa7a catch KeyboardInterrupt and sigterm 2019-06-06 22:02:20 +02:00
Jonathan Baecker
c513e181da add folder watch 2019-06-06 18:16:33 +02:00
Jonathan Baecker
10afe8d914 remove useless function 2019-06-05 14:21:03 +02:00
Jonathan Baecker
28f724a562 no thread limit, json.loads for config lists, format errors, fix yield 2019-06-04 10:16:15 +02:00
jb-alvarado
ba2426e866 remove tolerance check, better naming 2019-06-03 21:33:29 +02:00
jb-alvarado
d76e7d6af9 merge condition 2019-05-30 08:48:48 +02:00
Jonathan Baecker
df56f07b83 make tolernace value as a config option, yield onyl one list 2019-05-29 11:44:18 +02:00
jb-alvarado
da300d3aa0 we need a way to terminate 2019-05-28 21:48:53 +02:00
jb-alvarado
75e774f97f cleanup, optimize, more compact 2019-05-28 21:22:10 +02:00
Jonathan Baecker
434602ddd2 lets try without Queue and Thread 2019-05-28 17:43:57 +02:00
Jonathan Baecker
facaa4144a cleanup 2019-05-28 15:03:47 +02:00
Jonathan Baecker
e8c5ea70e7 read bigger chunks, for smaller ones python is to slow 2019-05-28 13:31:44 +02:00
Jonathan Baecker
13798768cd read exact size, change back to constant bitrate 2019-05-28 09:58:34 +02:00
jb-alvarado
eef7507916 put None to buffer when we out of sync, cleanup 2019-05-27 21:19:43 +02:00
Jonathan Baecker
9b3d0224cb more cleanup 2019-05-27 14:32:22 +02:00
Jonathan Baecker
09f131c6a0 cleanup 2019-05-27 14:08:06 +02:00
Jonathan Baecker
f8acc0a9ae cleanup 2019-05-27 12:20:46 +02:00
Jonathan Baecker
1325570c50 set qualitiy factor instead of bitrate 2019-05-27 11:58:12 +02:00
Jonathan Baecker
e7d9d75818 change tolerance 2019-05-27 11:42:18 +02:00