Commit Graph

191 Commits

Author SHA1 Message Date
jb-alvarado
76e26f0f70 escape characters in text filter 2022-10-30 10:14:05 +01:00
jb-alvarado
dcba34e58a update version 2022-10-26 14:20:42 +02:00
jb-alvarado
c326c3b61f revert to video bitrate and mp2 audio codec
When video bitrate is not fixed the delta delay is more unstable and can reach error threshold.
same is with audio codec pcm_bluray, maybe because it changes the format to m2ts. s302m would be best option, but is not working correctly with loudnorm filter.
2022-10-26 14:09:40 +02:00
jb-alvarado
2f8c2deebc more ignores, ignore errors on server, add info for srt ingest 2022-10-26 09:37:28 +02:00
jb-alvarado
17303aa8d5 simplify code 2022-10-25 15:05:10 +02:00
jb-alvarado
4b92c7efd2 add ignore, use ProcessUnit for error logging 2022-10-25 14:34:03 +02:00
jb-alvarado
d5356803d0 simplify code 2022-10-25 10:52:02 +02:00
jb-alvarado
1373182c2a deserialize drawtext message with struct object and add single quotes around values 2022-10-25 09:31:27 +02:00
jb-alvarado
8b3a80f560 switch to pcm_bluray audio codec 2022-10-24 17:09:57 +02:00
jb-alvarado
45197c276d use mp2 on loudnorm_ingest 2022-10-24 16:43:08 +02:00
jb-alvarado
1ebdd178d2 don't validate output filters 2022-10-23 21:51:24 +02:00
jb-alvarado
b3c3c0ec79 remove correct index 2022-10-23 21:35:10 +02:00
jb-alvarado
9cb3a62069 rearrange custom filters
fix missing output mapping on multiple outputs
2022-10-23 21:00:13 +02:00
jb-alvarado
72a1cb9e5a get mapping by index 2022-10-22 22:52:15 +02:00
jb-alvarado
9a67aa1776 work on new output filter function 2022-10-21 15:31:24 +02:00
jb-alvarado
0af614e3ae add changelog, ignore errors about skipped MB, code commands 2022-10-19 09:03:49 +02:00
jb-alvarado
c939df891f validate config regex 2022-10-18 18:50:26 +02:00
jb-alvarado
4afba4028a
build output filters from scratch, fix #210 (#211)
* simplify  prepare_output_cmd, use filters struct for stream encoder

* add commands

* unify null output, cleanup stream

* simplify prepare_output_cmd

* remove debug message

* build output filters from scratch, fix #210

* no fontfile
2022-10-18 16:27:01 +02:00
jb-alvarado
23aedf3600
simplify prepare_output_cmd, use filters struct for stream encoder (#209) 2022-10-17 19:30:10 +02:00
jb-alvarado
84addbcb2a use named drawtext filter instead of index 2022-10-15 21:59:37 +02:00
jb-alvarado
69b6207165 allow loudnorm on ingest only 2022-10-15 21:26:10 +02:00
jb-alvarado
a93440e06b fix case when video has no audio, but separate audio is set. add test case for it 2022-10-14 14:40:26 +02:00
jb-alvarado
61f57e2f9e add ProcessMode enum 2022-10-13 21:01:13 +02:00
jb-alvarado
713233ff1a add OutputMode enum, more work on multi audio tracks, more tests 2022-10-13 17:34:14 +02:00
jb-alvarado
b7a3e356d1 move function prepare_output_cmd, add test video_audio_output 2022-10-12 17:57:34 +02:00
jb-alvarado
87c508be54 add tests 2022-10-12 15:28:49 +02:00
jb-alvarado
bbb0e1371b cleanup 2022-10-08 22:25:14 +02:00
jb-alvarado
480aeb0e91 use again only one filter chain 2022-10-06 18:05:36 +02:00
jb-alvarado
8fe7b87644 wait for validation process to close 2022-10-05 20:55:45 +02:00
jb-alvarado
c3b57622bb switch to i32 2022-10-05 09:22:52 +02:00
jb-alvarado
818c8741f3 simplify strings 2022-10-04 16:53:27 +02:00
jb-alvarado
b0d85e067c fix mapping 2022-10-03 22:23:31 +02:00
jb-alvarado
1d11d36ef9 add type and close function to filter struct 2022-10-03 22:14:18 +02:00
jb-alvarado
c85e5503b4 work on multi audio track support, #158 #198 2022-10-03 21:10:45 +02:00
jb-alvarado
dcc4616421 add at least anull filter 2022-10-02 13:28:45 +02:00
jb-alvarado
9d094d9838 only seek in when by values over 0.5, use only realtime video filter, fix #198 2022-10-01 23:16:02 +02:00
jb-alvarado
2ebb4c6822 set correct fps for logo - fix #198, ignore some harmless ffmpeg errors 2022-09-30 11:05:57 +02:00
jb-alvarado
69a3e59e35 convert text/m3u file to playlist, #195 2022-09-29 21:33:54 +02:00
jb-alvarado
82c108b4b8 update versions 2022-09-13 13:14:47 +02:00
jb-alvarado
7cd87896a4 fix unwrap error on None output_cmd 2022-09-13 13:03:44 +02:00
jb-alvarado
a62c1d07c7 stop only when error comes not from hls segment deletion 2022-09-07 17:45:05 +02:00
jb-alvarado
db538cae7f turn of drawtext filter with zmq in validation thread 2022-09-07 16:30:51 +02:00
jb-alvarado
9c5122696d validate file compression settings and filtering
- fix length from filler clip in playlist generator
- serialize values only when string is not empty
- compare also audio and custom filter on playlist existing check
2022-09-07 11:33:13 +02:00
jb-alvarado
fd8e4738ca work on better validation 2022-09-06 17:11:43 +02:00
jb-alvarado
176cd0a9ce support custom filter in playlist 2022-08-31 21:15:50 +02:00
jb-alvarado
05f87472d4 unify filter applying
- use  same filter function for all Ingest, HLS and local/remote clips
- fix preserve drawtext filter in HLS mode, when switching to and from ingest
- stop playout on some known unrecoverable ffmpeg errors
- error save fps calc with fallback
2022-08-31 16:29:42 +02:00
jb-alvarado
226d43aed3 ignore empty (~) custom_filter 2022-08-31 10:38:29 +02:00
jb-alvarado
6fae130b4e add doc for custom filter, catch fatal error: Numerical result * 2022-08-31 09:49:49 +02:00
jb-alvarado
3c712b00eb support custom filters, #183 2022-08-30 17:15:29 +02:00
jb-alvarado
f3bf833dc9 calculate fps from string, #183 2022-08-30 11:17:35 +02:00
jb-alvarado
a83f81bef2 support animated logo, #183 2022-08-29 22:24:09 +02:00
jb-alvarado
0a9441fd9b fix combination of folder mode and HLS output
- fix #180
- exclude files from hls output path
2022-08-26 11:29:02 +02:00
jb-alvarado
449268dfe0 fix playlist switch, when total_delta < threshold
- update packages
- cleanup code with new clippy
- add fake_time cmd arg for debugging
- add ignore_chapters only to file source
2022-08-15 14:27:41 +02:00
jb-alvarado
e8b626599e import env on non windows systems 2022-08-10 10:36:15 +02:00
jb-alvarado
5de3ce2fb1 flatten rpc text sender, use home dir (with fallback to temp) for status file, 2022-08-10 10:07:10 +02:00
jb-alvarado
fb12d98020 use two ports for zmq for HLS mode, fix filter chain from ingest filter, fix drawtext position from hls ingest server 2022-08-09 18:04:25 +02:00
jb-alvarado
c1af2fba03 update file-rotate and other packages 2022-08-08 11:21:24 +02:00
jb-alvarado
eb47c31135 prepare for version 0.14.0
- use chrono 0.4.20
- remove exit from kill_all function
- add exit statement to rpc error catcher
- typo in readme
- add infos about image and audio source
2022-08-07 18:00:20 +02:00
jb-alvarado
fc43a1dca8 support separate audio (#113), convert to string instead of String::from() 2022-07-31 22:03:15 +02:00
jb-alvarado
c41cb4396f use image extension 2022-07-30 23:04:32 +02:00
jb-alvarado
77b2feef95 close program, when rpc port is used already 2022-07-30 23:04:03 +02:00
jb-alvarado
79fe17cf65 support image source, usefull for #113 2022-07-29 16:03:53 +02:00
jb-alvarado
88254226f7 reorganize filler code, better ffprobe log, no stream_loop when duration is long enough 2022-07-29 12:56:55 +02:00
jb-alvarado
baf10cfdda default when category is net set, use filler_clip from config instead of a dummy clip 2022-07-29 12:28:34 +02:00
jb-alvarado
1166454403 fix playlist serializer, when source is null 2022-07-28 14:23:27 +02:00
jb-alvarado
32454e41d6 v0.13.0
- update to chrono 0.4.20.rc.1
- preserve text filter in HLS mode when clips changes
- cross compile ffpapi for macOS
2022-07-27 17:58:56 +02:00
jb-alvarado
76b3385636 no speed change when seek in clip 2022-07-26 11:18:09 +02:00
jb-alvarado
06fa5e6e95 add frontend, remove preview config 2022-07-24 19:23:52 +02:00
jb-alvarado
94816903c3 no rpc logging, add default config, better naming, code cleanup 2022-07-19 11:11:23 +02:00
jb-alvarado
5bbc7a75c4 cargo fmt --all -- 2022-07-08 13:00:50 +02:00
jb-alvarado
d4bb0a65f2 test only libs and codecs (filter output is not stable) 2022-07-08 12:47:45 +02:00
jb-alvarado
b0063b0821 prepare for next version 2022-07-08 10:22:31 +02:00
jb-alvarado
ecbfb9c5e3 pass errors in ffmpeg validation to main function 2022-07-08 10:21:42 +02:00
jb-alvarado
4429aeb1c6 better log info about write permission 2022-07-08 09:36:58 +02:00
jb-alvarado
c15166e1a5 tweak regex again 2022-07-07 22:32:01 +02:00
jb-alvarado
bc27fc1a63 update version 2022-07-07 17:20:30 +02:00
jb-alvarado
32dab88566 fix regex match on ffmpeg filter 2022-07-07 17:19:49 +02:00
jb-alvarado
bb4811d7bc get date for playlist generation from config 2022-07-06 17:01:53 +02:00
jb-alvarado
8ec2c3ebfe
Merge branch 'ffplayout:master' into master 2022-07-06 09:10:39 +02:00
pybt
00183cb5ad fix read stderr stuck on some machine 2022-07-06 11:18:37 +07:00
jb-alvarado
cb65d8084f prepare for version 0.4.0
- error type NoContent
- file list with duration info
- fix sort
- simplify upload
- file extension without dot
- add queries to the routes
2022-07-04 17:59:22 +02:00
jb-alvarado
78b819cc58 update packages 2022-07-02 23:01:51 +02:00
jb-alvarado
7352735f15 add more routes, channel id to presets, no full paths, change email to mail 2022-06-30 18:44:42 +02:00
jb-alvarado
df4bc00b9d remove param.contains check 2022-06-29 18:00:08 +02:00
jb-alvarado
7ebbd151c4 better support for HLS multiple resolutions 2022-06-29 17:45:31 +02:00
jb-alvarado
f1fc19547a simplify code 2022-06-27 10:55:07 +02:00
jb-alvarado
c90fc62a38 integrate option infinit for playlist 2022-06-26 23:23:14 +02:00
jb-alvarado
da1799e704 change error message 2022-06-25 23:12:38 +02:00
jb-alvarado
89226e179c set default, in case playlist don't includes the category 2022-06-25 23:12:20 +02:00
jb-alvarado
b7dfa135bd cleanup dependencies 2022-06-23 23:14:36 +02:00
jb-alvarado
07b1bd30ae refractor code 2022-06-21 23:10:38 +02:00