95 Commits

Author SHA1 Message Date
jb-alvarado
754b69cf99 close processes on panic 2022-03-27 18:37:18 +02:00
jb-alvarado
25f05c8d63 get right playlist on update 2022-03-27 18:37:00 +02:00
jb-alvarado
ee096e3b97 fix drawtext when dummy is playling 2022-03-27 18:36:24 +02:00
jb-alvarado
0fc5f6722f update playlist and check for new one at the end, to prevent index out of bound 2022-03-26 23:41:44 +01:00
jb-alvarado
3ff8206ab4 format 2022-03-26 23:40:58 +01:00
jb-alvarado
8ce545bb0d use a more simple way to check if ffmpeg exists 2022-03-26 23:40:53 +01:00
jb-alvarado
051b682101 validate ffmpeg 2022-03-24 17:21:38 +01:00
jb-alvarado
2394395f4e add kill_dec = true to loop 2022-03-24 14:50:49 +01:00
jb-alvarado
961ede69a1 higher sync_channel buffer size, put enc_writer out of loop, better cmd logging 2022-03-22 11:45:24 +01:00
jb-alvarado
22e4757059 round to 3 digits 2022-03-21 21:02:03 +01:00
jb-alvarado
ca616e9006 use shlex for old config format: string instead of list 2022-03-21 20:36:46 +01:00
jb-alvarado
cbf4306d82 channel size back to 1 2022-03-21 20:36:14 +01:00
jb-alvarado
e988953212 use sync_channel for correct server transfer 2022-03-21 14:36:09 +01:00
jb-alvarado
151508d4f1 ignore broken pipe in server log, show milliseconds in time format 2022-03-21 14:34:28 +01:00
jb-alvarado
8ac58dbdad give a bit tollerance to playlist validation 2022-03-21 14:33:16 +01:00
jb-alvarado
8cb9163691 correct switch from ingest to decoder 2022-03-20 22:35:08 +01:00
jb-alvarado
7c7bc06b7f clone node before set seek 2022-03-20 22:33:55 +01:00
jb-alvarado
f3eb038a4a cleanup, add audio filter to ingest, 2022-03-19 22:45:17 +01:00
jb-alvarado
e4dd9db22d fix init playlist after live ingest stops 2022-03-19 21:34:17 +01:00
jb-alvarado
25fccf1a67 better error handling on broken pipe 2022-03-19 20:53:01 +01:00
jb-alvarado
5e7df9c3b1 reorganize inputs, continue work on ingest server 2022-03-18 17:04:43 +01:00
jb-alvarado
2857d724aa start working on ingest server 2022-03-17 18:00:40 +01:00
jb-alvarado
c1644899da add option to enable/disable timestamps in logging 2022-03-17 10:27:07 +01:00
jb-alvarado
f6649b1ddc cleanup 2022-03-16 20:56:20 +01:00
jb-alvarado
6644271baf use tokio runtime gobally, add validation thread 2022-03-16 20:12:12 +01:00
jb-alvarado
dc4337581e add generic drawtext, add loudnorm, read config from same path, fix src in Media::new() 2022-03-16 13:18:53 +01:00
jb-alvarado
8f3300f925 wrong Task name 2022-03-16 10:38:16 +01:00
jb-alvarado
e80f2c93d9 start with text filter 2022-03-15 16:52:36 +01:00
jb-alvarado
12e41735eb sort 2022-03-15 16:15:57 +01:00
jb-alvarado
5b3090d601 run mail sending in thread 2022-03-15 16:15:42 +01:00
jb-alvarado
37dd5a695c move config to global config. 2022-03-13 22:18:53 +01:00
jb-alvarado
8c55d20ed2 add mailer 2022-03-12 22:18:49 +01:00
jb-alvarado
756992e55e cleanup, logging 2022-03-11 18:09:52 +01:00
jb-alvarado
47808f9bf7 add logging to ffmpeg stderr 2022-03-11 17:49:24 +01:00
jb-alvarado
072bb54e98 fix case, when init is short before start time 2022-03-11 09:50:11 +01:00
jb-alvarado
8ba2a67b02 take first clip, even we we are before start time 2022-03-11 09:33:48 +01:00
jb-alvarado
20797a4360 split output into separate files, create streaming output 2022-03-10 19:50:05 +01:00
jb-alvarado
f67a8b0d0e fix cases releated to playlist change 2022-03-10 15:04:15 +01:00
jb-alvarado
397d18ef41 cleanup 2022-03-08 21:22:14 +01:00
jb-alvarado
c5a4db035e fix case when playlist is to short on init 2022-03-08 15:15:07 +01:00
jb-alvarado
39d42f5734 fix case when playlist is to long 2022-03-08 13:51:53 +01:00
jb-alvarado
de76c551b1 work on case when playlist is longer 2022-03-07 17:59:09 +01:00
jb-alvarado
0253b9d605 work on case when playlist is to long 2022-03-06 21:01:04 +01:00
jb-alvarado
330973f19e add short argument 2022-03-05 22:07:01 +01:00
jb-alvarado
0d6590d719 get start seconds from config, fix case when playlist not exists at start time 2022-03-05 21:58:49 +01:00
jb-alvarado
82a9def158 fix 3 cases:
1. when playlist is to short, fill with dummy
2. when next playlist not exists
3. when in the middle of playling the current playlist disappeare
2022-03-04 11:45:30 +01:00
jb-alvarado
bffd296ddc change init behavior
When init time is after last clip, the old behavior was not able to cache this.
2022-03-03 17:53:26 +01:00
jb-alvarado
d0aea7d05d fix filtering, also for dummy 2022-03-02 21:46:16 +01:00
jb-alvarado
934fd289cb WIP Playlist error handling. Filtering is broken. 2022-03-02 18:14:21 +01:00
jb-alvarado
bc69300a1c start working on init and end handling from playlist. Cleanup 2022-03-01 21:13:25 +01:00