]> git.sesse.net Git - nageru/log
nageru
8 years agoUpdate README with the latest features.
Steinar H. Gunderson [Mon, 9 Nov 2015 22:53:20 +0000 (23:53 +0100)]
Update README with the latest features.

8 years agoMove the limiter after the compressor; since it is not the prettiest limiter out...
Steinar H. Gunderson [Mon, 9 Nov 2015 22:02:29 +0000 (23:02 +0100)]
Move the limiter after the compressor; since it is not the prettiest limiter out there, this seems to give better results. Again tuned by ear.

8 years agoTweak the limiter by ear; increase the headroom so it does not trigger as often ...
Steinar H. Gunderson [Mon, 9 Nov 2015 22:00:42 +0000 (23:00 +0100)]
Tweak the limiter by ear; increase the headroom so it does not trigger as often (we still have 10 dB to go on), and also increase the release time which makes it a lot less ugly. Tested on both music and conference audio.

8 years agoFetch default threshold displays from the mixer.
Steinar H. Gunderson [Mon, 9 Nov 2015 21:59:29 +0000 (22:59 +0100)]
Fetch default threshold displays from the mixer.

8 years agoAdd some GUI elements (hooked up) to help tuning the compressor.
Steinar H. Gunderson [Mon, 9 Nov 2015 21:05:54 +0000 (22:05 +0100)]
Add some GUI elements (hooked up) to help tuning the compressor.

8 years agoImplement oversampled peak detection.
Steinar H. Gunderson [Sun, 8 Nov 2015 23:08:02 +0000 (00:08 +0100)]
Implement oversampled peak detection.

8 years agoRename Resampler to ResamplingQueue, to avoid conflicts with zita-resampler.
Steinar H. Gunderson [Sun, 8 Nov 2015 22:46:19 +0000 (23:46 +0100)]
Rename Resampler to ResamplingQueue, to avoid conflicts with zita-resampler.

8 years agoTweak the limiter a bit.
Steinar H. Gunderson [Sun, 8 Nov 2015 22:34:03 +0000 (23:34 +0100)]
Tweak the limiter a bit.

8 years agoCorrect a dB comment.
Steinar H. Gunderson [Sun, 8 Nov 2015 22:32:25 +0000 (23:32 +0100)]
Correct a dB comment.

8 years agoHook up the reset meters button.
Steinar H. Gunderson [Sun, 8 Nov 2015 22:01:34 +0000 (23:01 +0100)]
Hook up the reset meters button.

8 years agoMove some lambdas in MainWindow out into real functions.
Steinar H. Gunderson [Sun, 8 Nov 2015 21:38:28 +0000 (22:38 +0100)]
Move some lambdas in MainWindow out into real functions.

8 years agoRemove some std::.
Steinar H. Gunderson [Sun, 8 Nov 2015 21:38:09 +0000 (22:38 +0100)]
Remove some std::.

8 years agoInclude the limiter and the main compressor. Still needs some tuning, though.
Steinar H. Gunderson [Sun, 8 Nov 2015 21:03:50 +0000 (22:03 +0100)]
Include the limiter and the main compressor. Still needs some tuning, though.

8 years agoHook up the lo-cut knob. A bit crude for now, though.
Steinar H. Gunderson [Sun, 8 Nov 2015 19:11:23 +0000 (20:11 +0100)]
Hook up the lo-cut knob. A bit crude for now, though.

8 years agoMake the level compressor much slower.
Steinar H. Gunderson [Sun, 8 Nov 2015 16:12:49 +0000 (17:12 +0100)]
Make the level compressor much slower.

8 years agoRemove a sort-of obsolete TODO.
Steinar H. Gunderson [Sun, 8 Nov 2015 16:08:43 +0000 (17:08 +0100)]
Remove a sort-of obsolete TODO.

8 years agoDo the UI changes always in the main thread.
Steinar H. Gunderson [Sun, 8 Nov 2015 16:01:51 +0000 (17:01 +0100)]
Do the UI changes always in the main thread.

8 years agoDisplay auto-gain-staging in the UI.
Steinar H. Gunderson [Sun, 8 Nov 2015 15:32:51 +0000 (16:32 +0100)]
Display auto-gain-staging in the UI.

8 years agoName the parameters in audio_level_callback_t.
Steinar H. Gunderson [Sun, 8 Nov 2015 15:23:50 +0000 (16:23 +0100)]
Name the parameters in audio_level_callback_t.

8 years agoUpdate bmusb.
Steinar H. Gunderson [Sun, 8 Nov 2015 01:24:25 +0000 (02:24 +0100)]
Update bmusb.

8 years agoSome tweaks to the preview displays.
Steinar H. Gunderson [Sat, 7 Nov 2015 23:52:42 +0000 (00:52 +0100)]
Some tweaks to the preview displays.

8 years agoStart an audio strip, and rework some of the layout stuff, as it was getting painfull...
Steinar H. Gunderson [Sat, 7 Nov 2015 23:29:55 +0000 (00:29 +0100)]
Start an audio strip, and rework some of the layout stuff, as it was getting painfully broken.

8 years agoAdd a 150 Hz lo-cut filter in front of the compressor.
Steinar H. Gunderson [Sat, 7 Nov 2015 00:41:56 +0000 (01:41 +0100)]
Add a 150 Hz lo-cut filter in front of the compressor.

8 years agoFinally add defines for sample rate and fps (although they should really be non-compi...
Steinar H. Gunderson [Fri, 6 Nov 2015 23:54:18 +0000 (00:54 +0100)]
Finally add defines for sample rate and fps (although they should really be non-compiled in).

8 years agoRename compressor to level_compressor.
Steinar H. Gunderson [Fri, 6 Nov 2015 23:37:25 +0000 (00:37 +0100)]
Rename compressor to level_compressor.

8 years agoAdd a compressor (kindly relicensed by Rune Holm). Fixed for now, and only to get...
Steinar H. Gunderson [Fri, 6 Nov 2015 23:25:43 +0000 (00:25 +0100)]
Add a compressor (kindly relicensed by Rune Holm). Fixed for now, and only to get the overall levels right.

8 years agoSome small restructuring in the audio code.
Steinar H. Gunderson [Thu, 5 Nov 2015 23:49:18 +0000 (00:49 +0100)]
Some small restructuring in the audio code.

8 years agoRemove an unused member.
Steinar H. Gunderson [Thu, 5 Nov 2015 23:42:15 +0000 (00:42 +0100)]
Remove an unused member.

8 years agoSome the audio handling into its own function.
Steinar H. Gunderson [Thu, 5 Nov 2015 23:40:41 +0000 (00:40 +0100)]
Some the audio handling into its own function.

8 years agoSet pixel format on contexts we create; fixes issues with Qt 5.5.1.
Steinar H. Gunderson [Thu, 5 Nov 2015 22:18:43 +0000 (23:18 +0100)]
Set pixel format on contexts we create; fixes issues with Qt 5.5.1.

8 years agoAdd a static image input (fixed to 1280x720 for now, and uploaded rather inefficiently).
Steinar H. Gunderson [Wed, 4 Nov 2015 00:53:01 +0000 (01:53 +0100)]
Add a static image input (fixed to 1280x720 for now, and uploaded rather inefficiently).

8 years agoMore theme cleanups, especially around fades.
Steinar H. Gunderson [Wed, 4 Nov 2015 00:40:25 +0000 (01:40 +0100)]
More theme cleanups, especially around fades.

8 years agoClean up the theme.lua signal numbers a bit by making them symbolic.
Steinar H. Gunderson [Wed, 4 Nov 2015 00:13:21 +0000 (01:13 +0100)]
Clean up the theme.lua signal numbers a bit by making them symbolic.

8 years agoSome typo fixes.
Steinar H. Gunderson [Tue, 3 Nov 2015 00:48:55 +0000 (01:48 +0100)]
Some typo fixes.

8 years agoFix repeated WB clicks.
Steinar H. Gunderson [Tue, 3 Nov 2015 00:22:30 +0000 (01:22 +0100)]
Fix repeated WB clicks.

8 years agoHook up white balance into the theme.
Steinar H. Gunderson [Tue, 3 Nov 2015 00:10:44 +0000 (01:10 +0100)]
Hook up white balance into the theme.

8 years agoUse std::bind instead of the QSignalMapper, since evidently it can take a std::functi...
Steinar H. Gunderson [Mon, 2 Nov 2015 21:19:02 +0000 (22:19 +0100)]
Use std::bind instead of the QSignalMapper, since evidently it can take a std::function in Qt 5. Die, QSignalMapper, die.

8 years agoSwitch to typesafe signals and slots, even though the syntax with QSignalMapper is...
Steinar H. Gunderson [Mon, 2 Nov 2015 21:13:49 +0000 (22:13 +0100)]
Switch to typesafe signals and slots, even though the syntax with QSignalMapper is a bit icky.

8 years agoMake some labels and a white balance button per preview (the latter is not hooked...
Steinar H. Gunderson [Mon, 2 Nov 2015 20:58:58 +0000 (21:58 +0100)]
Make some labels and a white balance button per preview (the latter is not hooked up yet, though).

8 years agoGeneralize NUM_OUTPUTS a bit.
Steinar H. Gunderson [Mon, 2 Nov 2015 19:47:20 +0000 (20:47 +0100)]
Generalize NUM_OUTPUTS a bit.

8 years agoRemove some debugging.
Steinar H. Gunderson [Mon, 2 Nov 2015 00:44:14 +0000 (01:44 +0100)]
Remove some debugging.

8 years agoCreate the previews dynamically, in a number determined by the theme.
Steinar H. Gunderson [Mon, 2 Nov 2015 00:40:58 +0000 (01:40 +0100)]
Create the previews dynamically, in a number determined by the theme.

8 years agoReduce the warning storm a bit.
Steinar H. Gunderson [Sun, 1 Nov 2015 20:01:56 +0000 (21:01 +0100)]
Reduce the warning storm a bit.

8 years agoRe-run IWYU, again with lots of manual cleanup.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:55:51 +0000 (20:55 +0100)]
Re-run IWYU, again with lots of manual cleanup.

8 years agoUpdate to latest bmusb.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:35:41 +0000 (20:35 +0100)]
Update to latest bmusb.

8 years agoAdd some primitive emergency card mapping. Useful for testing.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:35:36 +0000 (20:35 +0100)]
Add some primitive emergency card mapping. Useful for testing.

8 years agoMake NUM_CARDS into a command-line flag.
Steinar H. Gunderson [Sun, 1 Nov 2015 19:28:53 +0000 (20:28 +0100)]
Make NUM_CARDS into a command-line flag.

8 years agoSpecify unspecified gamma instead of lying and saying we use Rec. 709. Again, for...
Steinar H. Gunderson [Sun, 1 Nov 2015 17:06:23 +0000 (18:06 +0100)]
Specify unspecified gamma instead of lying and saying we use Rec. 709. Again, for the benefit of icky players.

8 years agoSwitch to BT.601 Y'CbCr coefficients and back to limited range.
Steinar H. Gunderson [Sun, 1 Nov 2015 16:53:06 +0000 (17:53 +0100)]
Switch to BT.601 Y'CbCr coefficients and back to limited range.

Finally makes MPlayer screenshots have correct colors and luma
range all the way through.

8 years agoSwitch default gamma input curve to Rec. 709.
Steinar H. Gunderson [Sun, 1 Nov 2015 15:04:09 +0000 (16:04 +0100)]
Switch default gamma input curve to Rec. 709.

8 years agoMake output full-range, which seems to fix the issues with (at least) MPlayer/VLC...
Steinar H. Gunderson [Sun, 1 Nov 2015 14:53:11 +0000 (15:53 +0100)]
Make output full-range, which seems to fix the issues with (at least) MPlayer/VLC rendering the colors too muted. Somehow the flag seems to get ignored, or else I am not setting it properly.

8 years agoMove the audio conversion to a slightly more logical place, and also make it handle...
Steinar H. Gunderson [Sun, 1 Nov 2015 14:35:28 +0000 (15:35 +0100)]
Move the audio conversion to a slightly more logical place, and also make it handle no audio without crashing.

8 years agoFix a bunch of colorspace issues, after practical testing. There is still some left...
Steinar H. Gunderson [Sun, 1 Nov 2015 14:30:20 +0000 (15:30 +0100)]
Fix a bunch of colorspace issues, after practical testing. There is still some left in the output, though.

8 years agoAdd some notes on GPU performance.
Steinar H. Gunderson [Sun, 1 Nov 2015 12:45:45 +0000 (13:45 +0100)]
Add some notes on GPU performance.

8 years agoFix some Lua stack imbalances.
Steinar H. Gunderson [Sun, 1 Nov 2015 12:02:21 +0000 (13:02 +0100)]
Fix some Lua stack imbalances.

8 years agoMake Theme::register_class() private.
Steinar H. Gunderson [Sun, 1 Nov 2015 11:58:16 +0000 (12:58 +0100)]
Make Theme::register_class() private.

8 years agoAdd a README.
Steinar H. Gunderson [Sun, 1 Nov 2015 11:43:41 +0000 (12:43 +0100)]
Add a README.

8 years agoAdd a simple .gitignore.
Steinar H. Gunderson [Sun, 1 Nov 2015 01:23:13 +0000 (02:23 +0100)]
Add a simple .gitignore.

8 years agoUse the new texture bounce override instead of relying on a patched Movit.
Steinar H. Gunderson [Sun, 1 Nov 2015 01:21:39 +0000 (02:21 +0100)]
Use the new texture bounce override instead of relying on a patched Movit.

8 years agoRemove a debug printf.
Steinar H. Gunderson [Sun, 1 Nov 2015 01:17:25 +0000 (02:17 +0100)]
Remove a debug printf.

8 years agoUpdate the VU/LRA meters from the GUI thread; fixes an issue where they lock up.
Steinar H. Gunderson [Sun, 1 Nov 2015 00:24:42 +0000 (01:24 +0100)]
Update the VU/LRA meters from the GUI thread; fixes an issue where they lock up.

8 years agoReplace libebur128 with the R128 code from ebumeter.
Steinar H. Gunderson [Sat, 31 Oct 2015 23:57:13 +0000 (00:57 +0100)]
Replace libebur128 with the R128 code from ebumeter.

__Much faster (something like 10x even ignoring the fact that libebur128
gets slower and slower the more data you add), and gives us the true
loudness range. We lose the oversampled peak detection for now, though.

8 years agoAdd some more check_error() calls, for debugging Mesa fence issues.
Steinar H. Gunderson [Sat, 31 Oct 2015 20:37:50 +0000 (21:37 +0100)]
Add some more check_error() calls, for debugging Mesa fence issues.

8 years agoUse true peak, not sample peak (EBU R128 compliance).
Steinar H. Gunderson [Sat, 31 Oct 2015 12:07:12 +0000 (13:07 +0100)]
Use true peak, not sample peak (EBU R128 compliance).

8 years agoRework the LRA and VU meters into something much more like LRA and VU meters.
Steinar H. Gunderson [Sat, 31 Oct 2015 12:01:14 +0000 (13:01 +0100)]
Rework the LRA and VU meters into something much more like LRA and VU meters.

8 years agoSome refactoring of common VU functions.
Steinar H. Gunderson [Sat, 31 Oct 2015 11:38:51 +0000 (12:38 +0100)]
Some refactoring of common VU functions.

8 years agoFix meter display before we have any audio.
Steinar H. Gunderson [Sat, 31 Oct 2015 11:08:27 +0000 (12:08 +0100)]
Fix meter display before we have any audio.

8 years agoAdd the beginnings of a loudness range meter.
Steinar H. Gunderson [Sat, 31 Oct 2015 01:41:10 +0000 (02:41 +0100)]
Add the beginnings of a loudness range meter.

8 years agoRemove some now obsolete variables.
Steinar H. Gunderson [Thu, 29 Oct 2015 23:45:07 +0000 (00:45 +0100)]
Remove some now obsolete variables.

8 years agoAdd missing audio level callback code.
Steinar H. Gunderson [Thu, 29 Oct 2015 21:34:29 +0000 (22:34 +0100)]
Add missing audio level callback code.

8 years agoSet the peak meter to red when peaking.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:56:33 +0000 (21:56 +0100)]
Set the peak meter to red when peaking.

8 years agoMove the audio level logic into MainWindow, where it has a much better home than...
Steinar H. Gunderson [Thu, 29 Oct 2015 20:44:39 +0000 (21:44 +0100)]
Move the audio level logic into MainWindow, where it has a much better home than GLWidget.

8 years agoSet the right window title.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:38:56 +0000 (21:38 +0100)]
Set the right window title.

8 years agoRemove obsolete class Window.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:36:35 +0000 (21:36 +0100)]
Remove obsolete class Window.

8 years agoVarious VU meter layout tweaks.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:26:38 +0000 (21:26 +0100)]
Various VU meter layout tweaks.

8 years agoAdd a peak display.
Steinar H. Gunderson [Thu, 29 Oct 2015 20:02:39 +0000 (21:02 +0100)]
Add a peak display.

8 years agoShow the +/-1 dB target range.
Steinar H. Gunderson [Thu, 29 Oct 2015 19:50:22 +0000 (20:50 +0100)]
Show the +/-1 dB target range.

8 years agoFix VU meter range.
Steinar H. Gunderson [Thu, 29 Oct 2015 19:36:53 +0000 (20:36 +0100)]
Fix VU meter range.

8 years agoAdd the beginnings of a very simple VU meter, based on libebur128.
Steinar H. Gunderson [Wed, 28 Oct 2015 23:48:08 +0000 (00:48 +0100)]
Add the beginnings of a very simple VU meter, based on libebur128.

8 years agoVarious tweaks to the UI layout.
Steinar H. Gunderson [Tue, 27 Oct 2015 18:18:01 +0000 (19:18 +0100)]
Various tweaks to the UI layout.

8 years agoVarious tweaks/fixes for the 16:9 forcing.
Steinar H. Gunderson [Mon, 26 Oct 2015 00:29:15 +0000 (01:29 +0100)]
Various tweaks/fixes for the 16:9 forcing.

8 years agoBetter handling of the aspect ratio stuff. Still some weirdness, though.
Steinar H. Gunderson [Mon, 26 Oct 2015 00:17:19 +0000 (01:17 +0100)]
Better handling of the aspect ratio stuff. Still some weirdness, though.

8 years agoAdd a minimum size to all the buttons, so they jump less around when widths are changed.
Steinar H. Gunderson [Sun, 25 Oct 2015 22:45:48 +0000 (23:45 +0100)]
Add a minimum size to all the buttons, so they jump less around when widths are changed.

8 years agoAdd some keyboard shortcuts for selecting preview.
Steinar H. Gunderson [Sun, 25 Oct 2015 22:14:11 +0000 (23:14 +0100)]
Add some keyboard shortcuts for selecting preview.

8 years agoUpdate bmusb submodule.
Steinar H. Gunderson [Sun, 25 Oct 2015 19:25:35 +0000 (20:25 +0100)]
Update bmusb submodule.

8 years agoUnify muxing between the local file and networking.
Steinar H. Gunderson [Sun, 25 Oct 2015 19:25:07 +0000 (20:25 +0100)]
Unify muxing between the local file and networking.

8 years agoRemove a debug output.
Steinar H. Gunderson [Sun, 25 Oct 2015 18:59:47 +0000 (19:59 +0100)]
Remove a debug output.

8 years agoRemove a debug output.
Steinar H. Gunderson [Sun, 25 Oct 2015 17:54:22 +0000 (18:54 +0100)]
Remove a debug output.

8 years agoBetter multi-card support; index them by number instead of just type.
Steinar H. Gunderson [Sun, 25 Oct 2015 11:37:34 +0000 (12:37 +0100)]
Better multi-card support; index them by number instead of just type.

8 years agoAdd a HTTP server for stream output.
Steinar H. Gunderson [Sat, 24 Oct 2015 23:15:09 +0000 (01:15 +0200)]
Add a HTTP server for stream output.

8 years agoAdd an EXTRAHEIGHT define instead of hardcoding 30.
Steinar H. Gunderson [Sun, 18 Oct 2015 13:48:30 +0000 (15:48 +0200)]
Add an EXTRAHEIGHT define instead of hardcoding 30.

8 years agoUse WIDTH and HEIGHT a few places instead of hard-coded 1280 and 720.
Steinar H. Gunderson [Sun, 18 Oct 2015 13:47:03 +0000 (15:47 +0200)]
Use WIDTH and HEIGHT a few places instead of hard-coded 1280 and 720.

8 years agoRework dts selection.
Steinar H. Gunderson [Wed, 14 Oct 2015 21:47:00 +0000 (23:47 +0200)]
Rework dts selection.

Instead of trying to copy earlier pts into dts, we derive some dts
from the frame type (syncing it with pts at opportune moments),
which should fix the dts > pts issues when dropping frames.

8 years agoRework entire pts handling.
Steinar H. Gunderson [Tue, 13 Oct 2015 23:26:44 +0000 (01:26 +0200)]
Rework entire pts handling.

Now handles dropped video frames (with audio) correctly (by just
increasing pts and letting everything else stay the same), and also
inserts silence whenever needed. There are some new issues with
dts going above pts when this happens, but overall, this is
infinitely better than what we had.

8 years agoMake the resampler zero out samples on underrun instead of just leaving junk.
Steinar H. Gunderson [Tue, 13 Oct 2015 22:54:36 +0000 (00:54 +0200)]
Make the resampler zero out samples on underrun instead of just leaving junk.

8 years agoEase logging a tiny bit.
Steinar H. Gunderson [Tue, 13 Oct 2015 22:51:10 +0000 (00:51 +0200)]
Ease logging a tiny bit.

8 years agoRemove some unneeded std::.
Steinar H. Gunderson [Mon, 12 Oct 2015 23:48:23 +0000 (01:48 +0200)]
Remove some unneeded std::.

8 years agoFix issues with the queue locking up when there is no signal.
Steinar H. Gunderson [Mon, 12 Oct 2015 22:11:21 +0000 (00:11 +0200)]
Fix issues with the queue locking up when there is no signal.

8 years agoBe less verbose on overflow.
Steinar H. Gunderson [Mon, 12 Oct 2015 20:10:48 +0000 (22:10 +0200)]
Be less verbose on overflow.

8 years agoYet more Makefile tweaks.
Steinar H. Gunderson [Mon, 12 Oct 2015 19:54:16 +0000 (21:54 +0200)]
Yet more Makefile tweaks.