Ingo Oppermann
7831992936
Add parsing for track specific avstream progress data
2024-09-05 13:33:01 +02:00
Ingo Oppermann
b9baa17b0c
Fix writing string to prelude tail
2024-07-26 11:47:40 +02:00
Ingo Oppermann
70a49f8bdb
Process []byte instread of string in parser
2024-07-26 11:31:47 +02:00
Ingo Oppermann
7e90bb87ce
Allow to import report history for a process
2024-07-10 16:46:49 +02:00
Ingo Oppermann
03da97217b
Use faster JSON and gzip packages
2024-04-24 15:42:11 +02:00
Ingo Oppermann
b851249b98
Adjust process state if parser doesn't indicate that the process is producing output
2024-04-15 16:43:34 +02:00
Ingo Oppermann
18bf51d334
Rename Initialized to Started
2024-04-15 14:46:05 +02:00
Ingo Oppermann
a6375da911
Add initialized field in progress data
2024-04-12 15:18:47 +02:00
Ingo Oppermann
a416beea08
Add stream mapping to process state, adjust addresses and indexes for HLS outputs
2023-09-26 14:52:54 +02:00
Ingo Oppermann
ab7c9e448b
Add parser for ffmpeg and HLS stream mapping
2023-09-26 11:40:48 +02:00
Ingo Oppermann
da557271cb
Fix missing mutex for log history
2023-05-02 19:13:16 +02:00
Ingo Oppermann
b723f4e5fd
Propagate number of logical CPUs in resource usage
2023-04-27 10:58:41 +02:00
Ingo Oppermann
74f582e4b4
Remove debug output
2023-04-25 16:25:21 +02:00
Ingo Oppermann
3a1825cf61
Expose resource usage in report history
2023-04-25 15:55:32 +02:00
Ingo Oppermann
c1bbb4065c
Merge branch 'dev' into vod
2023-04-24 12:16:52 +02:00
Ingo Oppermann
6ddd58a124
Preserve process log history when updating a process
2023-04-24 11:59:09 +02:00
Ingo Oppermann
78686c81f4
Fix keeping matches in the report history
2023-04-17 15:03:25 +02:00
Ingo Oppermann
507b4f4b9a
Merge branch 'dev' into vod
2023-04-11 08:29:39 +02:00
Ingo Oppermann
7e9e6fce8d
Add number of keyframes and extradata size to process progress data
2023-04-04 20:44:57 +02:00
Ingo Oppermann
0a3117bbd0
Add log_patterns to process config
...
log_patterns allow to filter the FFmpeg log messages based on regular
expressions. Each entry of log_patterns is interpreted as regular
expression and matched against every non-progress log line emitted from
FFmpeg. All matching lines are returned in the matches array of the
report.
2023-03-27 15:50:25 +02:00
Ingo Oppermann
99c571d623
Add event filter support
2023-03-23 14:50:59 +01:00
Ingo Oppermann
b21aba5f9d
Remove /process/:id/report/:at endpoint, extend /process/:id/report endpoint
2023-03-22 12:31:41 +01:00
Ingo Oppermann
4ce8a0eaa3
Add config value for how many minimal process report should be kept in the history
...
A minimal history is a history entry without log and prelude.
The corresponding config entry is ffmpeg.log.max_minimal_history. This value is
added on top of the ffmpeg.log.max_history value. I.e. the latest max_history
entries contain the log and prelude, and the remaining entries don't have the
log and prelude. In total there are max_minimal_history+max_history history
entries.
If you want no history, set both values to 0.
If you want only full history, set max_minimal_history to 0.
If you want only minimal history, set max_history to 0.
2023-03-16 12:25:06 +01:00
Ingo Oppermann
206c81d7e8
Emit stale progress only if all outputs of a process are stale
2023-03-14 15:13:57 +01:00
Ingo Oppermann
1d298038dd
Add date of when a process exited in report history
2023-03-14 15:10:06 +01:00
Ingo Oppermann
eb3f396793
Remove debug printf, add tests
2023-03-02 21:04:37 +01:00
Ingo Oppermann
97869759a1
Add tests
2023-03-02 14:49:41 +01:00
Ingo Oppermann
0dedcddece
Add process report API
2023-03-02 11:15:57 +01:00
Ingo Oppermann
cceb39192a
Fix receiving proper current command args, simplifying retrieval of last log line
2023-03-01 20:13:49 +01:00
Ingo Oppermann
86b3c053f1
Add exit state and last progress data to process report history
2023-03-01 15:28:28 +01:00
Ingo Oppermann
3da25c0d91
Fix stale detection with progress patch
2022-10-13 12:20:26 +02:00
Ingo Oppermann
fcbabc2b23
Fix data race
2022-07-22 08:34:04 +02:00
Ingo Oppermann
24f89aeb1b
Unify FFmpeg prelude parser, add pid awareness
...
The progress and probe parser had both their own prelude parsing implementation
in case the json variant is not available. Now there's a new package for this
implementation that both use.
If a program has an ID (in case of srt+mpegts) then this was no recognized by the
parser and these inputs/outputs were not detected.
2022-07-19 12:25:00 +02:00
Jan Stabenow
eb1cc37456
Add GoSRT & improvements (repo-merge)
...
Commits (Ingo Oppermann):
- Add experimental SRT connection stats and logs
- Hide /config/reload endpoint in reade-only mode
- Add SRT server
- Create v16 in go.mod
- Fix data races, tests, lint, and update dependencies
- Add trailing slash for routed directories (datarhei/restreamer#340 )
- Allow relative URLs in content in static routes
Co-Authored-By: Ingo Oppermann <57445+ioppermann@users.noreply.github.com >
2022-06-23 22:13:58 +02:00
Jan Stabenow
9c0b535199
Add v16.7.2
2022-05-13 19:26:45 +02:00