]> git.sesse.net Git - nageru/log
nageru
6 years agoRelease Nageru 1.6.1. 1.6.1
Steinar H. Gunderson [Sat, 8 Jul 2017 23:45:59 +0000 (01:45 +0200)]
Release Nageru 1.6.1.

6 years agoInclude an example Grafana dashboard.
Steinar H. Gunderson [Sat, 8 Jul 2017 23:45:02 +0000 (01:45 +0200)]
Include an example Grafana dashboard.

6 years agoInstall kaeru on make install.
Steinar H. Gunderson [Sat, 8 Jul 2017 23:43:17 +0000 (01:43 +0200)]
Install kaeru on make install.

6 years agoBuild Kaeru by default.
Steinar H. Gunderson [Sat, 8 Jul 2017 22:46:58 +0000 (00:46 +0200)]
Build Kaeru by default.

6 years agoAdd support for transcoding the audio in Kaeru (on by default).
Steinar H. Gunderson [Sat, 8 Jul 2017 16:43:39 +0000 (18:43 +0200)]
Add support for transcoding the audio in Kaeru (on by default).

6 years agoAdd support to FFmpegCapture to decode the audio.
Steinar H. Gunderson [Sat, 8 Jul 2017 11:45:13 +0000 (13:45 +0200)]
Add support to FFmpegCapture to decode the audio.

6 years agoInitial check-in of Kaeru, a simple transcoder based on Nageru code.
Steinar H. Gunderson [Fri, 7 Jul 2017 16:02:04 +0000 (18:02 +0200)]
Initial check-in of Kaeru, a simple transcoder based on Nageru code.

6 years agoFix a problem where we could wait for a very long time for the first frame on FFmpeg...
Steinar H. Gunderson [Thu, 6 Jul 2017 22:25:48 +0000 (00:25 +0200)]
Fix a problem where we could wait for a very long time for the first frame on FFmpeg inputs.

6 years agoUn-name the main thread again, since it makes killall stop working.
Steinar H. Gunderson [Wed, 5 Jul 2017 18:04:37 +0000 (20:04 +0200)]
Un-name the main thread again, since it makes killall stop working.

6 years agoUpdated the Debian status.
Steinar H. Gunderson [Wed, 5 Jul 2017 07:50:41 +0000 (09:50 +0200)]
Updated the Debian status.

6 years agoUse the new Movit VAO functionality.
Steinar H. Gunderson [Tue, 4 Jul 2017 23:12:59 +0000 (01:12 +0200)]
Use the new Movit VAO functionality.

See the Movit changelog for full rationale, but basically it works
around a crash bug in NVIDIA's drivers.

6 years agoFix a typo/thinko in the five-frames-ahead logic.
Steinar H. Gunderson [Tue, 4 Jul 2017 20:37:36 +0000 (22:37 +0200)]
Fix a typo/thinko in the five-frames-ahead logic.

6 years agoOptimize away some glGetUniformLocation calls.
Steinar H. Gunderson [Sun, 2 Jul 2017 09:30:39 +0000 (11:30 +0200)]
Optimize away some glGetUniformLocation calls.

6 years agoHard-code CQP mode instead of keeping VBR at the top. Fixes a crash with i965-va...
Steinar H. Gunderson [Fri, 30 Jun 2017 21:58:39 +0000 (23:58 +0200)]
Hard-code CQP mode instead of keeping VBR at the top. Fixes a crash with i965-va-driver 1.8.x, which now supports VBR.

6 years agoMove audio encoding over to its own mutex, again reducing mutex contention.
Steinar H. Gunderson [Thu, 29 Jun 2017 21:47:34 +0000 (23:47 +0200)]
Move audio encoding over to its own mutex, again reducing mutex contention.

6 years agoDon't bother adding audio for silent cards.
Steinar H. Gunderson [Thu, 29 Jun 2017 21:10:00 +0000 (23:10 +0200)]
Don't bother adding audio for silent cards.

6 years agoOnly report disk space anew every second. Saves 20% CPU or so on the UI thread (!).
Steinar H. Gunderson [Thu, 29 Jun 2017 20:53:24 +0000 (22:53 +0200)]
Only report disk space anew every second. Saves 20% CPU or so on the UI thread (!).

6 years agoFix a thread race on the jitter history, potentially leading to crashes.
Steinar H. Gunderson [Thu, 29 Jun 2017 20:21:48 +0000 (22:21 +0200)]
Fix a thread race on the jitter history, potentially leading to crashes.

6 years agoAdd a summary for the amount of margin we have in reaching the output clock (ie....
Steinar H. Gunderson [Thu, 29 Jun 2017 19:34:44 +0000 (21:34 +0200)]
Add a summary for the amount of margin we have in reaching the output clock (ie., whether we are early or late).

6 years agoWrite video to disk on a background thread; reduces mutex contention a fair bit when...
Steinar H. Gunderson [Thu, 29 Jun 2017 19:20:03 +0000 (21:20 +0200)]
Write video to disk on a background thread; reduces mutex contention a fair bit when recording to slow disks.

6 years agoFix a small memory leak.
Steinar H. Gunderson [Thu, 29 Jun 2017 19:15:29 +0000 (21:15 +0200)]
Fix a small memory leak.

6 years agoDo some hotfixes to reduce mutex contention (but this needs a rework).
Steinar H. Gunderson [Wed, 28 Jun 2017 22:57:01 +0000 (00:57 +0200)]
Do some hotfixes to reduce mutex contention (but this needs a rework).

6 years agoYield instead of busy-waiting on fences for NVIDIA cards.
Steinar H. Gunderson [Wed, 28 Jun 2017 19:34:58 +0000 (21:34 +0200)]
Yield instead of busy-waiting on fences for NVIDIA cards.

6 years agoGive the UI thread a name.
Steinar H. Gunderson [Wed, 28 Jun 2017 18:39:16 +0000 (20:39 +0200)]
Give the UI thread a name.

6 years agoFix a use-after-free when using video inputs. Found by GCC's -fsanitize=address.
Steinar H. Gunderson [Wed, 28 Jun 2017 17:50:32 +0000 (19:50 +0200)]
Fix a use-after-free when using video inputs. Found by GCC's -fsanitize=address.

6 years agoRework the queue drop algorithm again.
Steinar H. Gunderson [Sun, 25 Jun 2017 14:41:47 +0000 (16:41 +0200)]
Rework the queue drop algorithm again.

The old one worked fine for most cases, but when two cards drift
very slowly out of sync (and one of them is the master), it's inadequate;
we should simply drop one frame at the right moment and be done with it.
Of course, knowing what the right moment is can be tricky, due to jitter,
which we now explicitly model.

Also include a separate program that tests various properties of different
possible policies (used to determine which one to use), based on replaying
real event logs.

6 years agoSet realtime priority for the DeckLink thread if possible, to reduce jitter.
Steinar H. Gunderson [Sat, 24 Jun 2017 19:48:32 +0000 (21:48 +0200)]
Set realtime priority for the DeckLink thread if possible, to reduce jitter.

6 years agoRemove old card metrics when reinitializing cards.
Steinar H. Gunderson [Sat, 24 Jun 2017 17:42:02 +0000 (19:42 +0200)]
Remove old card metrics when reinitializing cards.

6 years agoFix a lock that was held too long in an edge case.
Steinar H. Gunderson [Thu, 22 Jun 2017 23:20:49 +0000 (01:20 +0200)]
Fix a lock that was held too long in an edge case.

6 years agoFix another Prometheus NaN problem.
Steinar H. Gunderson [Wed, 21 Jun 2017 19:50:37 +0000 (21:50 +0200)]
Fix another Prometheus NaN problem.

6 years agoAdd a metric for number of received frames per input, so that one can measure _actual...
Steinar H. Gunderson [Sat, 17 Jun 2017 16:51:01 +0000 (18:51 +0200)]
Add a metric for number of received frames per input, so that one can measure _actual_ fps.

6 years agoFix a metric name.
Steinar H. Gunderson [Sat, 17 Jun 2017 14:06:11 +0000 (16:06 +0200)]
Fix a metric name.

6 years agoAdd a summary for aggregated b-frame or not, since they are in general unaggregatable.
Steinar H. Gunderson [Sat, 17 Jun 2017 14:04:18 +0000 (16:04 +0200)]
Add a summary for aggregated b-frame or not, since they are in general unaggregatable.

6 years agoCorrect the scale of the memory metrics.
Steinar H. Gunderson [Sat, 17 Jun 2017 13:23:25 +0000 (15:23 +0200)]
Correct the scale of the memory metrics.

6 years agoFix compilation with Clang.
Steinar H. Gunderson [Sat, 17 Jun 2017 12:53:27 +0000 (14:53 +0200)]
Fix compilation with Clang.

6 years agoSwitch to summaries instead of histograms for latency; they were not getting precise...
Steinar H. Gunderson [Sat, 17 Jun 2017 12:40:42 +0000 (14:40 +0200)]
Switch to summaries instead of histograms for latency; they were not getting precise enough unless we had huge amounts of buckets.

6 years agoFix a pessimizing move (Clang warning).
Steinar H. Gunderson [Sat, 17 Jun 2017 12:03:30 +0000 (14:03 +0200)]
Fix a pessimizing move (Clang warning).

6 years agoSilence a Clang warning.
Steinar H. Gunderson [Sat, 17 Jun 2017 11:56:51 +0000 (13:56 +0200)]
Silence a Clang warning.

6 years agoFix a Clang error.
Steinar H. Gunderson [Sat, 17 Jun 2017 11:56:43 +0000 (13:56 +0200)]
Fix a Clang error.

6 years agoConsistently use call_once to initialize static metrics.
Steinar H. Gunderson [Sat, 17 Jun 2017 12:00:45 +0000 (14:00 +0200)]
Consistently use call_once to initialize static metrics.

6 years agoFix a crash with --record-x264-video when getting metrics.
Steinar H. Gunderson [Sat, 17 Jun 2017 11:58:07 +0000 (13:58 +0200)]
Fix a crash with --record-x264-video when getting metrics.

6 years agoFix compilation error.
Steinar H. Gunderson [Sat, 17 Jun 2017 11:45:00 +0000 (13:45 +0200)]
Fix compilation error.

6 years agoUpdate the queue length metric after trimming, not before.
Steinar H. Gunderson [Thu, 15 Jun 2017 17:33:01 +0000 (19:33 +0200)]
Update the queue length metric after trimming, not before.

6 years agoUnbreak the min/max latency stdout display; it did not ignore non-timestamps properly.
Steinar H. Gunderson [Thu, 15 Jun 2017 16:28:24 +0000 (18:28 +0200)]
Unbreak the min/max latency stdout display; it did not ignore non-timestamps properly.

6 years agoMake separate latencies per card, instead of just min and max.
Steinar H. Gunderson [Thu, 15 Jun 2017 16:22:04 +0000 (18:22 +0200)]
Make separate latencies per card, instead of just min and max.

6 years agoFix a problem where Prometheus cannot handle negative NaNs.
Steinar H. Gunderson [Thu, 15 Jun 2017 15:21:56 +0000 (17:21 +0200)]
Fix a problem where Prometheus cannot handle negative NaNs.

6 years agoTighten up the Movit #include paths a bit; fixes compilation error in some cases.
Steinar H. Gunderson [Thu, 15 Jun 2017 07:44:26 +0000 (09:44 +0200)]
Tighten up the Movit #include paths a bit; fixes compilation error in some cases.

6 years agoAdd support for bus audio level metrics, which includes support for removing metrics.
Steinar H. Gunderson [Tue, 13 Jun 2017 21:53:19 +0000 (23:53 +0200)]
Add support for bus audio level metrics, which includes support for removing metrics.

6 years agoPre-serialize only the labels for metrics; the ordering constraints did not really...
Steinar H. Gunderson [Tue, 13 Jun 2017 21:30:37 +0000 (23:30 +0200)]
Pre-serialize only the labels for metrics; the ordering constraints did not really feel too safe.

6 years agoStore the metrics sorted.
Steinar H. Gunderson [Mon, 12 Jun 2017 22:47:45 +0000 (00:47 +0200)]
Store the metrics sorted.

This makes it easier to remove them later (since you can index by
name), which we're going to need.

6 years agoExpose a metric for the free disk space (already possible via the normal node exporte...
Steinar H. Gunderson [Mon, 12 Jun 2017 21:37:18 +0000 (23:37 +0200)]
Expose a metric for the free disk space (already possible via the normal node exporter, but with this one, you don't need to hunt for the right filesystem).

6 years agoExpose a metric for Nageru being stalled on the Quick Sync encoder.
Steinar H. Gunderson [Mon, 12 Jun 2017 20:33:29 +0000 (22:33 +0200)]
Expose a metric for Nageru being stalled on the Quick Sync encoder.

6 years agoExpose when we started the current output file.
Steinar H. Gunderson [Mon, 12 Jun 2017 19:56:49 +0000 (21:56 +0200)]
Expose when we started the current output file.

6 years agoStart times should be gauges, not counters.
Steinar H. Gunderson [Mon, 12 Jun 2017 19:55:19 +0000 (21:55 +0200)]
Start times should be gauges, not counters.

6 years agoFix a problem where not all Quick Sync metrics would get initialized.
Steinar H. Gunderson [Mon, 12 Jun 2017 19:53:18 +0000 (21:53 +0200)]
Fix a problem where not all Quick Sync metrics would get initialized.

6 years agoExpose the start time point instead of the uptime, as per Prometheus recommendations.
Steinar H. Gunderson [Mon, 12 Jun 2017 19:52:09 +0000 (21:52 +0200)]
Expose the start time point instead of the uptime, as per Prometheus recommendations.

6 years agoAdded some mux metrics.
Steinar H. Gunderson [Mon, 12 Jun 2017 18:06:00 +0000 (20:06 +0200)]
Added some mux metrics.

6 years agoFix a crash on getting metrics after switching file.
Steinar H. Gunderson [Mon, 12 Jun 2017 18:04:36 +0000 (20:04 +0200)]
Fix a crash on getting metrics after switching file.

6 years agoAdd some DeckLink output metrics, and also fix a potential crash.
Steinar H. Gunderson [Sun, 11 Jun 2017 20:59:26 +0000 (22:59 +0200)]
Add some DeckLink output metrics, and also fix a potential crash.

6 years agoAdd exported metrics for all the latency measurements.
Steinar H. Gunderson [Sun, 11 Jun 2017 18:07:00 +0000 (20:07 +0200)]
Add exported metrics for all the latency measurements.

6 years agoMake the histograms more flexible.
Steinar H. Gunderson [Sun, 11 Jun 2017 17:43:02 +0000 (19:43 +0200)]
Make the histograms more flexible.

6 years agoAdd a histogram of output crf values from x264.
Steinar H. Gunderson [Sun, 11 Jun 2017 14:35:46 +0000 (16:35 +0200)]
Add a histogram of output crf values from x264.

6 years agoAdd some base x264 metrics.
Steinar H. Gunderson [Sun, 11 Jun 2017 13:55:20 +0000 (15:55 +0200)]
Add some base x264 metrics.

6 years agoExport some metrics from x264 speed control.
Steinar H. Gunderson [Sun, 11 Jun 2017 13:36:39 +0000 (15:36 +0200)]
Export some metrics from x264 speed control.

6 years agoFix that metrics are being called nageru_nageru_*.
Steinar H. Gunderson [Fri, 9 Jun 2017 19:35:15 +0000 (21:35 +0200)]
Fix that metrics are being called nageru_nageru_*.

6 years agoAdd some memory metrics.
Steinar H. Gunderson [Fri, 9 Jun 2017 19:19:47 +0000 (21:19 +0200)]
Add some memory metrics.

6 years agoRework metrics serialization.
Steinar H. Gunderson [Fri, 9 Jun 2017 19:09:07 +0000 (21:09 +0200)]
Rework metrics serialization.

6 years agoStreamline the metrics member function names a bit.
Steinar H. Gunderson [Fri, 9 Jun 2017 18:46:32 +0000 (20:46 +0200)]
Streamline the metrics member function names a bit.

6 years agoPrint out int metrics in full precision, not as doubles.
Steinar H. Gunderson [Fri, 9 Jun 2017 18:19:27 +0000 (20:19 +0200)]
Print out int metrics in full precision, not as doubles.

6 years agoAdd some input metrics.
Steinar H. Gunderson [Fri, 9 Jun 2017 18:18:33 +0000 (20:18 +0200)]
Add some input metrics.

6 years agoMark the appropriate metrics as gauges.
Steinar H. Gunderson [Fri, 9 Jun 2017 17:35:13 +0000 (19:35 +0200)]
Mark the appropriate metrics as gauges.

6 years agoRename some mixer metrics.
Steinar H. Gunderson [Fri, 9 Jun 2017 17:26:58 +0000 (19:26 +0200)]
Rename some mixer metrics.

6 years agoAdd an exported metrics for number of connected clients.
Steinar H. Gunderson [Thu, 8 Jun 2017 23:00:21 +0000 (01:00 +0200)]
Add an exported metrics for number of connected clients.

6 years agoFix a leak when getting metrics.
Steinar H. Gunderson [Thu, 8 Jun 2017 23:00:09 +0000 (01:00 +0200)]
Fix a leak when getting metrics.

6 years agoAdd some exported metrics for the EBU R128 measurements.
Steinar H. Gunderson [Thu, 8 Jun 2017 22:32:08 +0000 (00:32 +0200)]
Add some exported metrics for the EBU R128 measurements.

6 years agoPrefix all metrics with nageru_ automatically.
Steinar H. Gunderson [Thu, 8 Jun 2017 22:31:11 +0000 (00:31 +0200)]
Prefix all metrics with nageru_ automatically.

6 years agoProperly initialize metrics.
Steinar H. Gunderson [Thu, 8 Jun 2017 22:28:38 +0000 (00:28 +0200)]
Properly initialize metrics.

6 years agoAdd the first beginnings of Prometheus metrics.
Steinar H. Gunderson [Thu, 8 Jun 2017 22:15:19 +0000 (00:15 +0200)]
Add the first beginnings of Prometheus metrics.

6 years agoFix an issue where video frames would not be properly shown, most commonly in previews.
Steinar H. Gunderson [Sun, 4 Jun 2017 20:54:47 +0000 (22:54 +0200)]
Fix an issue where video frames would not be properly shown, most commonly in previews.

6 years agoRelease Nageru 1.6.0. 1.6.0
Steinar H. Gunderson [Mon, 29 May 2017 17:58:13 +0000 (19:58 +0200)]
Release Nageru 1.6.0.

6 years agoFix some more issues in rate change.
Steinar H. Gunderson [Sun, 28 May 2017 16:35:06 +0000 (18:35 +0200)]
Fix some more issues in rate change.

6 years agoFix a problem where change_rate() would hang until the next frame arrived.
Steinar H. Gunderson [Sun, 28 May 2017 15:38:26 +0000 (17:38 +0200)]
Fix a problem where change_rate() would hang until the next frame arrived.

6 years agoMore refactoring in FFmpegCapture.
Steinar H. Gunderson [Sun, 28 May 2017 14:43:27 +0000 (16:43 +0200)]
More refactoring in FFmpegCapture.

6 years agoIn FFmpegCapture, frame decoding into its own function.
Steinar H. Gunderson [Sun, 28 May 2017 14:15:17 +0000 (16:15 +0200)]
In FFmpegCapture, frame decoding into its own function.

6 years agoRedo the FFmpeg RAII helpers to not store function pointers.
Steinar H. Gunderson [Sun, 28 May 2017 14:12:04 +0000 (16:12 +0200)]
Redo the FFmpeg RAII helpers to not store function pointers.

6 years agoIn FFmpegCapture, refactor command queue processing into its own function.
Steinar H. Gunderson [Sun, 28 May 2017 13:52:53 +0000 (15:52 +0200)]
In FFmpegCapture, refactor command queue processing into its own function.

6 years agoFix an outdated comment.
Steinar H. Gunderson [Sun, 28 May 2017 13:50:23 +0000 (15:50 +0200)]
Fix an outdated comment.

6 years agoExpose choosing video pixel format to Lua.
Steinar H. Gunderson [Sun, 21 May 2017 11:30:22 +0000 (13:30 +0200)]
Expose choosing video pixel format to Lua.

6 years agoFix a crash with interlaced DeckLink inputs.
Steinar H. Gunderson [Tue, 23 May 2017 19:53:31 +0000 (21:53 +0200)]
Fix a crash with interlaced DeckLink inputs.

6 years agoNitpick: Add a little const.
Steinar H. Gunderson [Tue, 23 May 2017 19:53:22 +0000 (21:53 +0200)]
Nitpick: Add a little const.

6 years agoBe slightly clearer about what happens when we try to enable output with no matching...
Steinar H. Gunderson [Tue, 23 May 2017 19:17:20 +0000 (21:17 +0200)]
Be slightly clearer about what happens when we try to enable output with no matching modes. Still not really handled well.

6 years agoAdd support for decoding video as Y'CbCr. Not activated yet.
Steinar H. Gunderson [Sun, 21 May 2017 10:36:10 +0000 (12:36 +0200)]
Add support for decoding video as Y'CbCr. Not activated yet.

6 years agoRemove some redundant bmusb::.
Steinar H. Gunderson [Sun, 21 May 2017 10:21:32 +0000 (12:21 +0200)]
Remove some redundant bmusb::.

6 years agoTiny comment pickiness.
Steinar H. Gunderson [Sun, 21 May 2017 09:55:56 +0000 (11:55 +0200)]
Tiny comment pickiness.

6 years agoRemove an obsolete comment, now that we have proper latency control.
Steinar H. Gunderson [Sat, 20 May 2017 10:33:32 +0000 (12:33 +0200)]
Remove an obsolete comment, now that we have proper latency control.

6 years agoCorrect some comments.
Steinar H. Gunderson [Sat, 20 May 2017 10:33:13 +0000 (12:33 +0200)]
Correct some comments.

6 years agoReduce a little console spam.
Steinar H. Gunderson [Fri, 19 May 2017 20:26:53 +0000 (22:26 +0200)]
Reduce a little console spam.

6 years agoRemoved a label that probably isn't going to be used right now.
Steinar H. Gunderson [Wed, 17 May 2017 09:19:04 +0000 (11:19 +0200)]
Removed a label that probably isn't going to be used right now.

6 years agoMake it possible to set input Y'CbCr interpretation on the command line.
Steinar H. Gunderson [Mon, 15 May 2017 21:33:24 +0000 (23:33 +0200)]
Make it possible to set input Y'CbCr interpretation on the command line.

6 years agoSupport automatically grabbing frames at regular intervals in the analyzer.
Steinar H. Gunderson [Sun, 14 May 2017 10:43:26 +0000 (12:43 +0200)]
Support automatically grabbing frames at regular intervals in the analyzer.