]> git.sesse.net Git - nageru/log
nageru
5 years agoMake image width/height consistently a vec2.
Steinar H. Gunderson [Wed, 4 Jul 2018 07:26:55 +0000 (09:26 +0200)]
Make image width/height consistently a vec2.

5 years agoImplement coarse-to-fine. Still too buggy.
Steinar H. Gunderson [Tue, 3 Jul 2018 23:00:57 +0000 (01:00 +0200)]
Implement coarse-to-fine. Still too buggy.

5 years agoSome refactoring in flow.cpp.
Steinar H. Gunderson [Tue, 3 Jul 2018 22:48:40 +0000 (00:48 +0200)]
Some refactoring in flow.cpp.

5 years agoVarious fixes to flow visualization. Still broken.
Steinar H. Gunderson [Tue, 3 Jul 2018 21:52:04 +0000 (23:52 +0200)]
Various fixes to flow visualization. Still broken.

5 years agoAdd the densification step, in theory now providing us with flow. But still too buggy...
Steinar H. Gunderson [Tue, 3 Jul 2018 21:32:39 +0000 (23:32 +0200)]
Add the densification step, in theory now providing us with flow. But still too buggy, of course.

5 years agoStart implementing motion search.
Steinar H. Gunderson [Mon, 2 Jul 2018 22:03:45 +0000 (00:03 +0200)]
Start implementing motion search.

5 years agoBe slightly more DSA.
Steinar H. Gunderson [Mon, 2 Jul 2018 07:34:35 +0000 (09:34 +0200)]
Be slightly more DSA.

5 years agoAdd some beginning flow computation code (currently only gradient calculation).
Steinar H. Gunderson [Sun, 1 Jul 2018 21:43:16 +0000 (23:43 +0200)]
Add some beginning flow computation code (currently only gradient calculation).

6 years agoFix a use of an uninitialized stack variable. Found by Clang 7.
Steinar H. Gunderson [Sat, 23 Jun 2018 10:54:34 +0000 (12:54 +0200)]
Fix a use of an uninitialized stack variable. Found by Clang 7.

6 years agoFix so that when editing a field, the previous value is readily available.
Steinar H. Gunderson [Wed, 20 Jun 2018 21:18:26 +0000 (23:18 +0200)]
Fix so that when editing a field, the previous value is readily available.

6 years agoMake it possible to change the camera angle in the playlist.
Steinar H. Gunderson [Tue, 19 Jun 2018 21:19:23 +0000 (23:19 +0200)]
Make it possible to change the camera angle in the playlist.

6 years agoWhen scrubbing in the playlist, show the right camera.
Steinar H. Gunderson [Tue, 19 Jun 2018 07:34:33 +0000 (09:34 +0200)]
When scrubbing in the playlist, show the right camera.

6 years agoAdd some playlist manipulation controls.
Steinar H. Gunderson [Mon, 18 Jun 2018 22:37:31 +0000 (00:37 +0200)]
Add some playlist manipulation controls.

6 years agoFix a crash.
Steinar H. Gunderson [Mon, 18 Jun 2018 19:38:54 +0000 (21:38 +0200)]
Fix a crash.

6 years agoMake it possible to switch camera angles for previews with the 1–4 keys.
Steinar H. Gunderson [Sun, 17 Jun 2018 22:41:06 +0000 (00:41 +0200)]
Make it possible to switch camera angles for previews with the 1–4 keys.

6 years agoMove some lambdas out into functions.
Steinar H. Gunderson [Sun, 17 Jun 2018 21:39:23 +0000 (23:39 +0200)]
Move some lambdas out into functions.

6 years agoImplement scrubbing for the playlist.
Steinar H. Gunderson [Sun, 17 Jun 2018 10:34:30 +0000 (12:34 +0200)]
Implement scrubbing for the playlist.

6 years agoMake it possible to edit the description in the play list.
Steinar H. Gunderson [Sun, 17 Jun 2018 10:09:37 +0000 (12:09 +0200)]
Make it possible to edit the description in the play list.

6 years agoAdd functionality for scrubbing in/out points in the clip list.
Steinar H. Gunderson [Sun, 17 Jun 2018 09:51:48 +0000 (11:51 +0200)]
Add functionality for scrubbing in/out points in the clip list.

6 years agoFix yet more Y'CbCr crashes.
Steinar H. Gunderson [Sat, 16 Jun 2018 19:53:20 +0000 (21:53 +0200)]
Fix yet more Y'CbCr crashes.

6 years agoFix crashes with 4:2:2 JPEGs.
Steinar H. Gunderson [Sat, 16 Jun 2018 19:37:17 +0000 (21:37 +0200)]
Fix crashes with 4:2:2 JPEGs.

6 years agoSupport editing descriptions.
Steinar H. Gunderson [Sat, 16 Jun 2018 19:09:03 +0000 (21:09 +0200)]
Support editing descriptions.

6 years agoSplit ClipList and PlayList.
Steinar H. Gunderson [Sat, 16 Jun 2018 18:38:17 +0000 (20:38 +0200)]
Split ClipList and PlayList.

6 years agoFix some crashes.
Steinar H. Gunderson [Sat, 16 Jun 2018 09:25:03 +0000 (11:25 +0200)]
Fix some crashes.

6 years agoSupport JPEGs that are not 4:2:2.
Steinar H. Gunderson [Sat, 16 Jun 2018 08:54:17 +0000 (10:54 +0200)]
Support JPEGs that are not 4:2:2.

6 years agoConvert Y'CbCr using Movit instead of in software with Qt. Saves a fair amount of...
Steinar H. Gunderson [Sat, 16 Jun 2018 08:36:12 +0000 (10:36 +0200)]
Convert Y'CbCr using Movit instead of in software with Qt. Saves a fair amount of CPU.

6 years agoWrite some drop counters to stderr.
Steinar H. Gunderson [Fri, 15 Jun 2018 20:54:26 +0000 (22:54 +0200)]
Write some drop counters to stderr.

6 years agoFix a bug where we would try to decode a nonexistent frame if the pts_in point was...
Steinar H. Gunderson [Fri, 15 Jun 2018 20:49:51 +0000 (22:49 +0200)]
Fix a bug where we would try to decode a nonexistent frame if the pts_in point was not exactly right.

6 years agoMake the grid display a bit better formatted.
Steinar H. Gunderson [Thu, 14 Jun 2018 21:56:11 +0000 (23:56 +0200)]
Make the grid display a bit better formatted.

6 years agoMake it possible to start a new clip before the previous one has ended.
Steinar H. Gunderson [Thu, 14 Jun 2018 20:53:50 +0000 (22:53 +0200)]
Make it possible to start a new clip before the previous one has ended.

6 years agoMake the JPEG decoding run asynchronously, in a separate thread with a bit of queue...
Steinar H. Gunderson [Thu, 14 Jun 2018 17:08:01 +0000 (19:08 +0200)]
Make the JPEG decoding run asynchronously, in a separate thread with a bit of queue contorl. Fixes a lot of UI smoothness when a lot is going on.

6 years agoHook up the fourth camera display.
Steinar H. Gunderson [Wed, 13 Jun 2018 22:46:18 +0000 (00:46 +0200)]
Hook up the fourth camera display.

6 years agoMake it possible to play an entire playlist of clips.
Steinar H. Gunderson [Wed, 13 Jun 2018 21:37:32 +0000 (23:37 +0200)]
Make it possible to play an entire playlist of clips.

6 years agoAllow playing from the playlist.
Steinar H. Gunderson [Wed, 13 Jun 2018 17:44:45 +0000 (19:44 +0200)]
Allow playing from the playlist.

6 years agoSome refactoring of the player code, and begin working on the playlist.
Steinar H. Gunderson [Tue, 12 Jun 2018 22:24:32 +0000 (00:24 +0200)]
Some refactoring of the player code, and begin working on the playlist.

6 years agoSupport playing back arbitrary camera angles.
Steinar H. Gunderson [Mon, 11 Jun 2018 21:03:31 +0000 (23:03 +0200)]
Support playing back arbitrary camera angles.

6 years agoMake an enum for the view columns.
Steinar H. Gunderson [Mon, 11 Jun 2018 20:47:49 +0000 (22:47 +0200)]
Make an enum for the view columns.

6 years agoAdd some very basic playback.
Steinar H. Gunderson [Mon, 11 Jun 2018 18:32:07 +0000 (20:32 +0200)]
Add some very basic playback.

6 years agoFix a missing #include.
Steinar H. Gunderson [Mon, 11 Jun 2018 07:30:30 +0000 (09:30 +0200)]
Fix a missing #include.

6 years agoHook up some more clip modifications.
Steinar H. Gunderson [Sun, 10 Jun 2018 22:18:25 +0000 (00:18 +0200)]
Hook up some more clip modifications.

6 years agoStart working on a clip list.
Steinar H. Gunderson [Sun, 10 Jun 2018 10:24:20 +0000 (12:24 +0200)]
Start working on a clip list.

6 years agoAdd a script for grabbing some example multiangle data off of YouTube.
Steinar H. Gunderson [Sat, 9 Jun 2018 09:40:16 +0000 (11:40 +0200)]
Add a script for grabbing some example multiangle data off of YouTube.

6 years agoMake the layout responsive.
Steinar H. Gunderson [Wed, 6 Jun 2018 21:03:45 +0000 (23:03 +0200)]
Make the layout responsive.

6 years agoMake the JPEG frames update on demand.
Steinar H. Gunderson [Wed, 6 Jun 2018 20:53:13 +0000 (22:53 +0200)]
Make the JPEG frames update on demand.

6 years agoActually start showing JPEGs on the screen.
Steinar H. Gunderson [Tue, 5 Jun 2018 22:01:50 +0000 (00:01 +0200)]
Actually start showing JPEGs on the screen.

6 years agoThrow up some widgets.
Steinar H. Gunderson [Tue, 5 Jun 2018 20:53:28 +0000 (22:53 +0200)]
Throw up some widgets.

6 years agoInitial checkin.
Steinar H. Gunderson [Mon, 4 Jun 2018 20:48:16 +0000 (22:48 +0200)]
Initial checkin.

6 years agoMove memcpy_interleaved into its own file.
Steinar H. Gunderson [Sun, 3 Jun 2018 10:51:36 +0000 (12:51 +0200)]
Move memcpy_interleaved into its own file.

6 years agoKaeru is not experimental anymore.
Steinar H. Gunderson [Sat, 2 Jun 2018 19:20:49 +0000 (21:20 +0200)]
Kaeru is not experimental anymore.

6 years agoAdd a mode to run in full screen.
Steinar H. Gunderson [Sat, 2 Jun 2018 08:07:19 +0000 (10:07 +0200)]
Add a mode to run in full screen.

I wondered if it should be full screen, full-screen or fullscreen,
but VLC uses the option --fullscreen, and it's good to be consistent
with that.

Adapted from a patch by Yoann Dubreuil.

6 years agoDefault to SDI inputs instead of HDMI.
Steinar H. Gunderson [Sat, 2 Jun 2018 07:57:32 +0000 (09:57 +0200)]
Default to SDI inputs instead of HDMI.

This is generally a more useful default; if you have a card that takes
in both, you're more likely to use SDI than HDMI. Add an option
--default-hdmi-input to revert to the old behavior.

Adapted from a patch by Yoann Dubreuil.

6 years agoRedo x264 speed control presets without B-frame settings.
Steinar H. Gunderson [Wed, 23 May 2018 17:31:47 +0000 (19:31 +0200)]
Redo x264 speed control presets without B-frame settings.

Seemingly, these can not be changed runtime, which kills our strategy
entirely for the lowest presets. Thus, these (unfortunately!) have to go;
they had no actual effect.

One _can_ set B-frame bias to -90, which gives much of the same effect,
but this is only picked up during reconfig if we have --sync-lookahead 0,
which seems to be much slower, so that won't really help either.

6 years agoFix the LIBAVFORMAT_VERSION_INT test for skip_trailer (updated to the actual 3.3...
Steinar H. Gunderson [Tue, 22 May 2018 21:47:23 +0000 (23:47 +0200)]
Fix the LIBAVFORMAT_VERSION_INT test for skip_trailer (updated to the actual 3.3 version number).

6 years agoFix non-transcoded audio in Kaeru in streams where the audio does not have index 1.
Steinar H. Gunderson [Tue, 22 May 2018 21:36:31 +0000 (23:36 +0200)]
Fix non-transcoded audio in Kaeru in streams where the audio does not have index 1.

6 years agoRelease Nageru 1.7.3. 1.7.3
Steinar H. Gunderson [Tue, 22 May 2018 18:59:22 +0000 (20:59 +0200)]
Release Nageru 1.7.3.

6 years agoMake VA-API be less noisy when probing cards.
Steinar H. Gunderson [Sun, 20 May 2018 10:45:14 +0000 (12:45 +0200)]
Make VA-API be less noisy when probing cards.

6 years agoImprove the “dropped N frames before this” warning.
Steinar H. Gunderson [Sun, 13 May 2018 15:57:47 +0000 (17:57 +0200)]
Improve the “dropped N frames before this” warning.

6 years agoIn FFmpegCapture, fix downmixing of surround signals to stereo.
Steinar H. Gunderson [Sat, 12 May 2018 23:34:24 +0000 (01:34 +0200)]
In FFmpegCapture, fix downmixing of surround signals to stereo.

6 years agoRemove unused should_quit member.
Steinar H. Gunderson [Sun, 29 Apr 2018 10:10:05 +0000 (12:10 +0200)]
Remove unused should_quit member.

6 years agoMake for faster shutdown of DeckLink cards.
Steinar H. Gunderson [Sun, 29 Apr 2018 10:09:34 +0000 (12:09 +0200)]
Make for faster shutdown of DeckLink cards.

6 years agoForce --http-coarse-timebase on.
Steinar H. Gunderson [Wed, 9 May 2018 22:23:58 +0000 (00:23 +0200)]
Force --http-coarse-timebase on.

This isn't really something the user should have to think about;
it's hard to see a situation where having this off would give
a real advantage.

6 years agoFix an issue where 1080i inputs would be autodetected as Rec. 601.
Steinar H. Gunderson [Sat, 5 May 2018 17:25:57 +0000 (19:25 +0200)]
Fix an issue where 1080i inputs would be autodetected as Rec. 601.

6 years agoMake some more space for the new audio control.
Steinar H. Gunderson [Tue, 1 May 2018 08:50:13 +0000 (10:50 +0200)]
Make some more space for the new audio control.

6 years agoIf the channel is mono anyway (same source for left and right), don't bother applying...
Steinar H. Gunderson [Tue, 1 May 2018 08:36:14 +0000 (10:36 +0200)]
If the channel is mono anyway (same source for left and right), don't bother applying stereo width, and don't enable it in the UI.

6 years agoAdd support for stereo width on the audio bus.
Steinar H. Gunderson [Mon, 30 Apr 2018 23:11:23 +0000 (01:11 +0200)]
Add support for stereo width on the audio bus.

6 years agoDocument where to get CEF Debian packages.
Steinar H. Gunderson [Sun, 29 Apr 2018 11:18:36 +0000 (13:18 +0200)]
Document where to get CEF Debian packages.

6 years agoUpdate the bmusb copy.
Steinar H. Gunderson [Sun, 29 Apr 2018 11:18:12 +0000 (13:18 +0200)]
Update the bmusb copy.

6 years agoRemove the reference to en-US.pak.info, which newer CEF no longer carries.
Steinar H. Gunderson [Sat, 28 Apr 2018 20:47:47 +0000 (22:47 +0200)]
Remove the reference to en-US.pak.info, which newer CEF no longer carries.

6 years agoRelease Nageru 1.7.2. 1.7.2
Steinar H. Gunderson [Sat, 28 Apr 2018 14:55:38 +0000 (16:55 +0200)]
Release Nageru 1.7.2.

6 years agoAdd a GPU memory eviction counter to the Grafana dashboard.
Steinar H. Gunderson [Sat, 28 Apr 2018 14:53:20 +0000 (16:53 +0200)]
Add a GPU memory eviction counter to the Grafana dashboard.

6 years agoAdd the GPU memory metrics to the Grafana dashboard.
Steinar H. Gunderson [Sat, 28 Apr 2018 14:51:07 +0000 (16:51 +0200)]
Add the GPU memory metrics to the Grafana dashboard.

6 years agoUpgrade the Grafana dashboard to 5.1.0.
Steinar H. Gunderson [Sat, 28 Apr 2018 14:47:31 +0000 (16:47 +0200)]
Upgrade the Grafana dashboard to 5.1.0.

In particular, this allows us to fix the x264 speed control heat map.

6 years agoFix the names for the GPU memory metrics.
Steinar H. Gunderson [Sat, 28 Apr 2018 14:48:48 +0000 (16:48 +0200)]
Fix the names for the GPU memory metrics.

6 years agoExpose metrics about used GPU memory (and also print to stdout), for GPUs that expose...
Steinar H. Gunderson [Sat, 28 Apr 2018 14:19:16 +0000 (16:19 +0200)]
Expose metrics about used GPU memory (and also print to stdout), for GPUs that expose such information.

6 years agoTry to autodetect a suitable DRM node for VA-API if needed.
Steinar H. Gunderson [Sat, 28 Apr 2018 13:04:15 +0000 (15:04 +0200)]
Try to autodetect a suitable DRM node for VA-API if needed.

This should help user-friendliness for initial setup a fair bit.
It also removes the dependency on libpci-dev, since outputting all
the candidate nodes probably isn't so useful anymore.

6 years agoRemove some stray debugging code in the theme.
Steinar H. Gunderson [Sat, 28 Apr 2018 12:45:49 +0000 (14:45 +0200)]
Remove some stray debugging code in the theme.

6 years agoLoosen up an assert that would sometimes trigger when resetting FFmpeg sources.
Steinar H. Gunderson [Fri, 27 Apr 2018 20:26:25 +0000 (22:26 +0200)]
Loosen up an assert that would sometimes trigger when resetting FFmpeg sources.

6 years agoMake channel labels ignore their horizontal size policy.
Steinar H. Gunderson [Fri, 27 Apr 2018 18:49:18 +0000 (20:49 +0200)]
Make channel labels ignore their horizontal size policy.

This fixes an issue where the aspect ratio of the videos would be
all messed up due to the labels dictating the size. This could even
keep the window from being maximized if there were too many long
labels.

The best here would probably be some sort of marquee, but this is
an OK fix for now.

6 years agoFix a crash when there are zero audio buses in multichannel mode.
Steinar H. Gunderson [Fri, 27 Apr 2018 16:03:57 +0000 (18:03 +0200)]
Fix a crash when there are zero audio buses in multichannel mode.

6 years agoFix a crash if somebody is trying to get metrics (or perhaps also tally) while we...
Steinar H. Gunderson [Thu, 26 Apr 2018 20:43:43 +0000 (22:43 +0200)]
Fix a crash if somebody is trying to get metrics (or perhaps also tally) while we are shutting down.

6 years agoWhen grabbing the white balance, grab a single pixel instead of the entire framebuffer.
Steinar H. Gunderson [Thu, 26 Apr 2018 20:31:27 +0000 (22:31 +0200)]
When grabbing the white balance, grab a single pixel instead of the entire framebuffer.

6 years agoMake the white balance picker more robust.
Steinar H. Gunderson [Thu, 26 Apr 2018 20:20:12 +0000 (22:20 +0200)]
Make the white balance picker more robust.

Earlier the change to neutral white balance could go out of sync
with when we wanted to sample, so we could come too early or too
late and get an already-corrected value.

This is also helped by the previous theme fixes for storing the
neutral_colors array as an upvalue in prepare_chain().

6 years agoIn the example Lua scripts, package up the state in the prepare function.
Steinar H. Gunderson [Thu, 26 Apr 2018 17:31:25 +0000 (19:31 +0200)]
In the example Lua scripts, package up the state in the prepare function.

Fixes issues where there are changes between get_chain() and callback
of the prepare (especially relevant with the planned upcoming changes
to white balance picking).

6 years agoMake the included Lua themes use strict-compliant.
Steinar H. Gunderson [Thu, 26 Apr 2018 17:11:30 +0000 (19:11 +0200)]
Make the included Lua themes use strict-compliant.

6 years agoMake the FFmpegCapture disconnected frames proper black.
Steinar H. Gunderson [Tue, 24 Apr 2018 20:47:35 +0000 (22:47 +0200)]
Make the FFmpegCapture disconnected frames proper black.

Less disturbing, more consistent between BGRA and Y'CbCr, and the
all-zero Y'CbCr frame causes out-of-gamut (negative) RGB values that
ended up confusing white balance adjustment a lot.

6 years agoIf the user inadvertedly calls connect_signal() on an FFmpeg or CEF card, print out...
Steinar H. Gunderson [Tue, 24 Apr 2018 19:21:29 +0000 (21:21 +0200)]
If the user inadvertedly calls connect_signal() on an FFmpeg or CEF card, print out a friendly warning instead of crashing with an assertion failure.

6 years agoAdd the busy/dead bus labels more consistently.
Steinar H. Gunderson [Tue, 24 Apr 2018 18:26:20 +0000 (20:26 +0200)]
Add the busy/dead bus labels more consistently.

6 years agoFix an issue where an ALSA card that was dead on boot could not be plugged in.
Steinar H. Gunderson [Tue, 24 Apr 2018 18:19:23 +0000 (20:19 +0200)]
Fix an issue where an ALSA card that was dead on boot could not be plugged in.

6 years agoIn measure-x264.pl, allow single-digit SSIM levels.
Steinar H. Gunderson [Mon, 23 Apr 2018 21:08:09 +0000 (23:08 +0200)]
In measure-x264.pl, allow single-digit SSIM levels.

6 years agoUnbreak the context menu for non-FFmpeg channels.
Steinar H. Gunderson [Mon, 23 Apr 2018 19:37:03 +0000 (21:37 +0200)]
Unbreak the context menu for non-FFmpeg channels.

6 years agoAllow changing FFmpeg URL from the context menu.
Steinar H. Gunderson [Mon, 23 Apr 2018 18:09:04 +0000 (20:09 +0200)]
Allow changing FFmpeg URL from the context menu.

6 years agoMake the right-click menu legal on signals connected to FFmpeg cards.
Steinar H. Gunderson [Sun, 22 Apr 2018 21:00:52 +0000 (23:00 +0200)]
Make the right-click menu legal on signals connected to FFmpeg cards.

6 years agoSimple audio inputs are on cards, not signals.
Steinar H. Gunderson [Sun, 22 Apr 2018 20:47:33 +0000 (22:47 +0200)]
Simple audio inputs are on cards, not signals.

6 years agoAdd support for using FFmpeg video sources as audio.
Steinar H. Gunderson [Sun, 22 Apr 2018 13:23:35 +0000 (15:23 +0200)]
Add support for using FFmpeg video sources as audio.

6 years agoUnbreak benchmark_audio_mixer.
Steinar H. Gunderson [Sun, 22 Apr 2018 13:22:00 +0000 (15:22 +0200)]
Unbreak benchmark_audio_mixer.

6 years agoMake FFmpegCapture reset the origin if it falls too far behind.
Steinar H. Gunderson [Sun, 22 Apr 2018 10:47:32 +0000 (12:47 +0200)]
Make FFmpegCapture reset the origin if it falls too far behind.

6 years agoCorrect FFmpeg capture audio timestamps for non-locked audio.
Steinar H. Gunderson [Fri, 20 Apr 2018 07:28:54 +0000 (09:28 +0200)]
Correct FFmpeg capture audio timestamps for non-locked audio.

Reduces jitter by a _lot_ when playing regular video files.

6 years agoCorrect FFmpeg audio PTS.
Steinar H. Gunderson [Wed, 18 Apr 2018 22:59:47 +0000 (00:59 +0200)]
Correct FFmpeg audio PTS.

The PTS should come from received (decoded) samples, not what we send
into the codec -- if there's codec delay, the difference could be
significant.

6 years agoDeliver more precise timestamps from FFmpegCapture.
Steinar H. Gunderson [Wed, 18 Apr 2018 22:43:54 +0000 (00:43 +0200)]
Deliver more precise timestamps from FFmpegCapture.

6 years agoReset audio resampler when FFmpeg inputs restart due to errors.
Steinar H. Gunderson [Wed, 18 Apr 2018 21:13:45 +0000 (23:13 +0200)]
Reset audio resampler when FFmpeg inputs restart due to errors.

Not relevant for Kaeru, but will be relevant when Nageru gets FFmpeg
audio inputs soon.