]> git.sesse.net Git - nageru/log
nageru
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.

6 years agoMake it possible for the user to select Rec. 601/709 for each input from the UI.
Steinar H. Gunderson [Sat, 13 May 2017 17:22:44 +0000 (19:22 +0200)]
Make it possible for the user to select Rec. 601/709 for each input from the UI.

6 years agoUpgrade bmusb.
Steinar H. Gunderson [Fri, 12 May 2017 20:13:44 +0000 (22:13 +0200)]
Upgrade bmusb.

6 years agoFix the channel names in the analyzer.
Steinar H. Gunderson [Sat, 13 May 2017 09:03:16 +0000 (11:03 +0200)]
Fix the channel names in the analyzer.

6 years agoFix the context menus in the analyzer.
Steinar H. Gunderson [Sat, 13 May 2017 08:56:36 +0000 (10:56 +0200)]
Fix the context menus in the analyzer.

6 years agoImplement the coordinate display in the analyzer.
Steinar H. Gunderson [Sat, 13 May 2017 08:50:28 +0000 (10:50 +0200)]
Implement the coordinate display in the analyzer.

6 years agoMake the analyzer UI responsive.
Steinar H. Gunderson [Thu, 11 May 2017 21:46:40 +0000 (23:46 +0200)]
Make the analyzer UI responsive.

6 years agoFix issues with shutdown happening without a context.
Steinar H. Gunderson [Wed, 10 May 2017 19:32:38 +0000 (21:32 +0200)]
Fix issues with shutdown happening without a context.

Should also be cleaner with not having to delete and recreate
the Analyzer all the time.

6 years agoFix crashes on exit.
Steinar H. Gunderson [Wed, 10 May 2017 18:14:59 +0000 (20:14 +0200)]
Fix crashes on exit.

6 years agoGive the analyzer window a close button and such.
Steinar H. Gunderson [Wed, 10 May 2017 17:54:06 +0000 (19:54 +0200)]
Give the analyzer window a close button and such.

6 years agoFix the initial histogram display.
Steinar H. Gunderson [Wed, 10 May 2017 17:39:52 +0000 (19:39 +0200)]
Fix the initial histogram display.

6 years agoImplement the RGB histograms in the frame analyzer.
Steinar H. Gunderson [Wed, 10 May 2017 17:36:04 +0000 (19:36 +0200)]
Implement the RGB histograms in the frame analyzer.

Requires QCustomPlot.

6 years agoMake the sublabel under the grabbed frame a bit more dynamic.
Steinar H. Gunderson [Tue, 9 May 2017 20:07:30 +0000 (22:07 +0200)]
Make the sublabel under the grabbed frame a bit more dynamic.

6 years agoUpgrade to a version of bmusb with fixed FakeCapture colors.
Steinar H. Gunderson [Tue, 9 May 2017 07:37:39 +0000 (09:37 +0200)]
Upgrade to a version of bmusb with fixed FakeCapture colors.

Found using the new analyzer, actually :-)

6 years agoMake it possible to hover over the grabbed image to get out RGB values.
Steinar H. Gunderson [Tue, 9 May 2017 07:37:26 +0000 (09:37 +0200)]
Make it possible to hover over the grabbed image to get out RGB values.

6 years agoAdd a display of the grabbed frame to the analyzer window.
Steinar H. Gunderson [Mon, 8 May 2017 22:20:31 +0000 (00:20 +0200)]
Add a display of the grabbed frame to the analyzer window.

6 years agoAdd a preview display to the frame analyzer window.
Steinar H. Gunderson [Mon, 8 May 2017 21:58:02 +0000 (23:58 +0200)]
Add a preview display to the frame analyzer window.

6 years agoStart working on a frame analyzer.
Steinar H. Gunderson [Mon, 8 May 2017 17:55:30 +0000 (19:55 +0200)]
Start working on a frame analyzer.

The idea is that this will be able to show a histogram and a
color picker. So far, we have some logic to grab a frame,
and that's it.

7 years agoExpose the video input signals to the theme, so that they can ask for connection...
Steinar H. Gunderson [Sat, 29 Apr 2017 21:21:30 +0000 (23:21 +0200)]
Expose the video input signals to the theme, so that they can ask for connection status etc.

7 years agoWhen we get an FFmpeg error, send a blank frame to tell the theme about the disconnec...
Steinar H. Gunderson [Sat, 29 Apr 2017 21:01:32 +0000 (23:01 +0200)]
When we get an FFmpeg error, send a blank frame to tell the theme about the disconnection.

7 years agoSupport other audio sample rates than 48000 Hz from bmusb.
Steinar H. Gunderson [Fri, 28 Apr 2017 23:45:51 +0000 (01:45 +0200)]
Support other audio sample rates than 48000 Hz from bmusb.

7 years agoGive the x264 thread a name.
Steinar H. Gunderson [Sun, 23 Apr 2017 18:38:56 +0000 (20:38 +0200)]
Give the x264 thread a name.

7 years agoFix an assertion failure when moving an input from non-interlacing to interlaced.
Steinar H. Gunderson [Sat, 22 Apr 2017 18:12:34 +0000 (20:12 +0200)]
Fix an assertion failure when moving an input from non-interlacing to interlaced.

7 years agoAdd an option to record to another directory than the current one.
Steinar H. Gunderson [Sat, 22 Apr 2017 10:52:22 +0000 (12:52 +0200)]
Add an option to record to another directory than the current one.

7 years agoInitialize FFmpeg networking correctly.
Steinar H. Gunderson [Fri, 21 Apr 2017 22:57:28 +0000 (00:57 +0200)]
Initialize FFmpeg networking correctly.

7 years agoFix an issue where RGBA videos would flicker.
Steinar H. Gunderson [Fri, 21 Apr 2017 22:55:17 +0000 (00:55 +0200)]
Fix an issue where RGBA videos would flicker.

The issue would be that the preview chains and the live chain would often
have different sRGB texture needs, and they'd run at the same time and thus
have a race condition. Solve this by using a sampler object instead, which
overrides the texture state.

7 years agoChange from RGBA to BGRA; slightly more Intel GPU-friendly, and Caspar uses that...
Steinar H. Gunderson [Fri, 21 Apr 2017 18:19:00 +0000 (20:19 +0200)]
Change from RGBA to BGRA; slightly more Intel GPU-friendly, and Caspar uses that format.

7 years agoDon't crash on invalid frame rates from FFmpeg.
Steinar H. Gunderson [Thu, 20 Apr 2017 22:16:28 +0000 (00:16 +0200)]
Don't crash on invalid frame rates from FFmpeg.

7 years agoMove some common FFmpeg utilities out into a shared file, instead of having them...
Steinar H. Gunderson [Fri, 14 Apr 2017 23:52:05 +0000 (01:52 +0200)]
Move some common FFmpeg utilities out into a shared file, instead of having them in ImageInput.

7 years agoSupport changing video files underway, just like images.
Steinar H. Gunderson [Fri, 14 Apr 2017 17:27:07 +0000 (19:27 +0200)]
Support changing video files underway, just like images.

7 years agoFactor out rewinding code in its own member function.
Steinar H. Gunderson [Fri, 14 Apr 2017 16:12:27 +0000 (18:12 +0200)]
Factor out rewinding code in its own member function.

7 years agoMake some more sleeps interruptable.
Steinar H. Gunderson [Fri, 14 Apr 2017 15:03:02 +0000 (17:03 +0200)]
Make some more sleeps interruptable.

The pattern has now been encapsulated into a class of its own.

7 years agoRemove a now obsolete comment.
Steinar H. Gunderson [Fri, 14 Apr 2017 10:20:31 +0000 (12:20 +0200)]
Remove a now obsolete comment.

7 years agoAdd support for changing the playback rate.
Steinar H. Gunderson [Fri, 14 Apr 2017 10:19:23 +0000 (12:19 +0200)]
Add support for changing the playback rate.

7 years agoAdd a Lua function to rewind the video.
Steinar H. Gunderson [Thu, 13 Apr 2017 23:04:32 +0000 (01:04 +0200)]
Add a Lua function to rewind the video.

7 years agoAdd support for FFmpeg inputs.
Steinar H. Gunderson [Wed, 12 Apr 2017 17:06:48 +0000 (19:06 +0200)]
Add support for FFmpeg inputs.

This has a variety of uses; most notably to play video, but it can
also be used to feed a CasparCG feed into Nageru. For this reason,
it uses RGBA as a format (for now), not Y'CbCr. There are some
limitations, but hopefully we can figure them out eventually.

7 years agoMake search_for_file() understand URLs.
Steinar H. Gunderson [Wed, 12 Apr 2017 17:04:46 +0000 (19:04 +0200)]
Make search_for_file() understand URLs.

7 years agoReplace the is_fake_capture parameter with a more descriptive and flexible enum.
Steinar H. Gunderson [Tue, 11 Apr 2017 21:36:19 +0000 (23:36 +0200)]
Replace the is_fake_capture parameter with a more descriptive and flexible enum.

7 years agoMake sure our uploaded RGBA textures can deal with being asked for linear gamma.
Steinar H. Gunderson [Tue, 11 Apr 2017 19:53:00 +0000 (21:53 +0200)]
Make sure our uploaded RGBA textures can deal with being asked for linear gamma.

They still are not used for anything, though.

7 years agoMove NonBouncingYCbCrInput into its own header file.
Steinar H. Gunderson [Tue, 11 Apr 2017 19:40:46 +0000 (21:40 +0200)]
Move NonBouncingYCbCrInput into its own header file.

7 years agoAdd support for RGBA frame types.
Steinar H. Gunderson [Sat, 8 Apr 2017 22:52:33 +0000 (00:52 +0200)]
Add support for RGBA frame types.

Nothing produces such frames yet, but now, we would be capable of
receiving them.

7 years agoGive frames a pixel format.
Steinar H. Gunderson [Sat, 8 Apr 2017 20:52:18 +0000 (22:52 +0200)]
Give frames a pixel format.

This is preliminary work towards supporting frames with alpha.
It generally reduces the dependency on the global --10-bit-input
flag a bit, which is also a good thing.

7 years agoMake search_for_file() understand absolute paths.
Steinar H. Gunderson [Wed, 12 Apr 2017 16:58:28 +0000 (18:58 +0200)]
Make search_for_file() understand absolute paths.