]> git.sesse.net Git - nageru/log
nageru
5 years agoIf using the mouse wheel to change pts, don't use it to scroll.
Steinar H. Gunderson [Sun, 21 Oct 2018 22:24:47 +0000 (00:24 +0200)]
If using the mouse wheel to change pts, don't use it to scroll.

5 years agoFix a race where refresh frames could be put into the muxer with out-of-order pts.
Steinar H. Gunderson [Sun, 21 Oct 2018 21:08:30 +0000 (23:08 +0200)]
Fix a race where refresh frames could be put into the muxer with out-of-order pts.

5 years agoFix some issues that happened if we tried to play while already playing.
Steinar H. Gunderson [Sun, 21 Oct 2018 20:56:41 +0000 (22:56 +0200)]
Fix some issues that happened if we tried to play while already playing.

5 years agoIf av_interleaved_write_frame() fails, leave a core file.
Steinar H. Gunderson [Sun, 21 Oct 2018 20:56:06 +0000 (22:56 +0200)]
If av_interleaved_write_frame() fails, leave a core file.

5 years agoFix a Clang error.
Steinar H. Gunderson [Sun, 21 Oct 2018 20:55:22 +0000 (22:55 +0200)]
Fix a Clang error.

5 years agoGive the main window a name.
Steinar H. Gunderson [Sun, 21 Oct 2018 18:39:12 +0000 (20:39 +0200)]
Give the main window a name.

5 years agoFix various fading bugs.
Steinar H. Gunderson [Sun, 21 Oct 2018 16:10:20 +0000 (18:10 +0200)]
Fix various fading bugs.

5 years agoStop leaking VA-API buffers.
Steinar H. Gunderson [Sun, 21 Oct 2018 13:33:12 +0000 (15:33 +0200)]
Stop leaking VA-API buffers.

5 years agoAnother Makefile hack.
Steinar H. Gunderson [Sun, 21 Oct 2018 13:01:40 +0000 (15:01 +0200)]
Another Makefile hack.

5 years agoFix some libjpeg leaks.
Steinar H. Gunderson [Sun, 21 Oct 2018 13:29:34 +0000 (15:29 +0200)]
Fix some libjpeg leaks.

5 years agoFix loading of existing frames with -d.
Steinar H. Gunderson [Sat, 20 Oct 2018 17:41:51 +0000 (19:41 +0200)]
Fix loading of existing frames with -d.

5 years agoCreate frames/ if it does not exist.
Steinar H. Gunderson [Fri, 19 Oct 2018 18:47:56 +0000 (20:47 +0200)]
Create frames/ if it does not exist.

5 years agoMake it possible to change the working directory.
Steinar H. Gunderson [Fri, 19 Oct 2018 18:43:28 +0000 (20:43 +0200)]
Make it possible to change the working directory.

5 years agoBe more lenient in the 4:2:2 detection.
Steinar H. Gunderson [Mon, 15 Oct 2018 20:03:17 +0000 (22:03 +0200)]
Be more lenient in the 4:2:2 detection.

5 years agoStop shipping Swiftshader in CEF (Debian no longer does).
Steinar H. Gunderson [Sun, 14 Oct 2018 22:07:21 +0000 (00:07 +0200)]
Stop shipping Swiftshader in CEF (Debian no longer does).

5 years agoShow how much would be queued before pressing play.
Steinar H. Gunderson [Sun, 14 Oct 2018 18:03:32 +0000 (20:03 +0200)]
Show how much would be queued before pressing play.

5 years agoExpose the queue status over HTTP.
Steinar H. Gunderson [Sun, 14 Oct 2018 17:53:39 +0000 (19:53 +0200)]
Expose the queue status over HTTP.

5 years agoSupport changing the interpolation quality.
Steinar H. Gunderson [Sun, 14 Oct 2018 14:51:48 +0000 (16:51 +0200)]
Support changing the interpolation quality.

5 years agoSupport other streams than the default file.
Steinar H. Gunderson [Sun, 14 Oct 2018 14:16:45 +0000 (16:16 +0200)]
Support other streams than the default file.

5 years agoAssorted clang-format fixes (not complete).
Steinar H. Gunderson [Sun, 14 Oct 2018 13:38:11 +0000 (15:38 +0200)]
Assorted clang-format fixes (not complete).

5 years agoWhen choosing a camera in the clip list, highlight the appropriate input.
Steinar H. Gunderson [Sun, 14 Oct 2018 12:53:24 +0000 (14:53 +0200)]
When choosing a camera in the clip list, highlight the appropriate input.

5 years agoFix fades that are not between clips with the same start pts.
Steinar H. Gunderson [Fri, 12 Oct 2018 19:54:02 +0000 (21:54 +0200)]
Fix fades that are not between clips with the same start pts.

5 years agoFix a crash bug on preview.
Steinar H. Gunderson [Fri, 12 Oct 2018 16:50:05 +0000 (18:50 +0200)]
Fix a crash bug on preview.

5 years agoSend refresh frames every 100 ms or so, so that the client does not think we are...
Steinar H. Gunderson [Fri, 12 Oct 2018 16:41:05 +0000 (18:41 +0200)]
Send refresh frames every 100 ms or so, so that the client does not think we are gone.

5 years agoFix issues with displaying faded interpolating frames in the preview.
Steinar H. Gunderson [Thu, 11 Oct 2018 22:40:41 +0000 (00:40 +0200)]
Fix issues with displaying faded interpolating frames in the preview.

5 years agoFix a threading violation.
Steinar H. Gunderson [Thu, 11 Oct 2018 18:58:22 +0000 (20:58 +0200)]
Fix a threading violation.

5 years agoRemove some debugging code.
Steinar H. Gunderson [Thu, 11 Oct 2018 18:21:42 +0000 (20:21 +0200)]
Remove some debugging code.

5 years agoWhen fading, always interpolate the more visible half.
Steinar H. Gunderson [Thu, 11 Oct 2018 18:19:52 +0000 (20:19 +0200)]
When fading, always interpolate the more visible half.

5 years agoImplement fades.
Steinar H. Gunderson [Wed, 10 Oct 2018 22:43:20 +0000 (00:43 +0200)]
Implement fades.

5 years agoMove Y'CbCr conversion into a common utility class.
Steinar H. Gunderson [Wed, 10 Oct 2018 20:42:37 +0000 (22:42 +0200)]
Move Y'CbCr conversion into a common utility class.

5 years agoMove transitioning to the next clip away from the done callback.
Steinar H. Gunderson [Sun, 7 Oct 2018 15:57:18 +0000 (17:57 +0200)]
Move transitioning to the next clip away from the done callback.

This is a natural step on the way to fade support.

5 years agoFix some Clang warnings.
Steinar H. Gunderson [Fri, 5 Oct 2018 22:27:20 +0000 (00:27 +0200)]
Fix some Clang warnings.

5 years agoRemove an unused variable.
Steinar H. Gunderson [Fri, 5 Oct 2018 22:24:40 +0000 (00:24 +0200)]
Remove an unused variable.

5 years agoSmall cleanup in Player.
Steinar H. Gunderson [Fri, 5 Oct 2018 20:54:52 +0000 (22:54 +0200)]
Small cleanup in Player.

5 years agoAnother small refactoring, this time to snapping.
Steinar H. Gunderson [Fri, 5 Oct 2018 20:53:22 +0000 (22:53 +0200)]
Another small refactoring, this time to snapping.

5 years agoSmall refactoring in Player.
Steinar H. Gunderson [Fri, 5 Oct 2018 18:57:42 +0000 (20:57 +0200)]
Small refactoring in Player.

5 years agoHook up the exit menu.
Steinar H. Gunderson [Mon, 1 Oct 2018 22:53:28 +0000 (00:53 +0200)]
Hook up the exit menu.

5 years agoAdd a disk space estimator. Code largely borrowed from Nageru.
Steinar H. Gunderson [Mon, 1 Oct 2018 22:50:28 +0000 (00:50 +0200)]
Add a disk space estimator. Code largely borrowed from Nageru.

5 years agoMake for somewhat cleaner shutdown.
Steinar H. Gunderson [Mon, 1 Oct 2018 20:02:25 +0000 (22:02 +0200)]
Make for somewhat cleaner shutdown.

5 years agoSerialize state to disk between runs, using SQLite.
Steinar H. Gunderson [Sun, 30 Sep 2018 21:40:46 +0000 (23:40 +0200)]
Serialize state to disk between runs, using SQLite.

5 years agoStart of persistence work: Keep existing frames that are at frames/ at startup.
Steinar H. Gunderson [Sun, 30 Sep 2018 14:45:41 +0000 (16:45 +0200)]
Start of persistence work: Keep existing frames that are at frames/ at startup.

5 years agoMake it possible to scrub pts_in on a clip even if pts_out is not set.
Steinar H. Gunderson [Sat, 29 Sep 2018 20:52:20 +0000 (22:52 +0200)]
Make it possible to scrub pts_in on a clip even if pts_out is not set.

5 years agoMake it impossible to queue unfinished clips.
Steinar H. Gunderson [Sat, 29 Sep 2018 20:46:35 +0000 (22:46 +0200)]
Make it impossible to queue unfinished clips.

5 years agoDecode 4:2:2 JPEGs via VA-API if available.
Steinar H. Gunderson [Sat, 29 Sep 2018 14:37:14 +0000 (16:37 +0200)]
Decode 4:2:2 JPEGs via VA-API if available.

5 years agoDon't set QGradient stops after 1.0.
Steinar H. Gunderson [Thu, 27 Sep 2018 19:03:36 +0000 (21:03 +0200)]
Don't set QGradient stops after 1.0.

5 years agoDrop frames if the player runs too far behind.
Steinar H. Gunderson [Thu, 27 Sep 2018 19:02:56 +0000 (21:02 +0200)]
Drop frames if the player runs too far behind.

5 years agoMark play progress with background color in the play list.
Steinar H. Gunderson [Wed, 26 Sep 2018 23:09:09 +0000 (01:09 +0200)]
Mark play progress with background color in the play list.

5 years agoPut the video displays on the right side, making them generally larger.
Steinar H. Gunderson [Wed, 26 Sep 2018 20:03:40 +0000 (22:03 +0200)]
Put the video displays on the right side, making them generally larger.

5 years agoGive names to some layouts.
Steinar H. Gunderson [Wed, 26 Sep 2018 17:42:03 +0000 (19:42 +0200)]
Give names to some layouts.

5 years agoFix some instances of unneeded dataChanged() signals, making it impossible to edit...
Steinar H. Gunderson [Wed, 26 Sep 2018 17:01:23 +0000 (19:01 +0200)]
Fix some instances of unneeded dataChanged() signals, making it impossible to edit camera angles when playing.

5 years agoIf doing preview or queue with the in or out column marked, reuse the current one.
Steinar H. Gunderson [Tue, 25 Sep 2018 22:02:51 +0000 (00:02 +0200)]
If doing preview or queue with the in or out column marked, reuse the current one.

5 years agoFix JPEGFrameView behavior with Qt DPI scaling.
Steinar H. Gunderson [Tue, 25 Sep 2018 20:57:31 +0000 (22:57 +0200)]
Fix JPEGFrameView behavior with Qt DPI scaling.

5 years agoUpgrade Qt Creator.
Steinar H. Gunderson [Sat, 22 Sep 2018 19:04:55 +0000 (21:04 +0200)]
Upgrade Qt Creator.

5 years agoShow time remaining when playing clips live.
Steinar H. Gunderson [Sat, 22 Sep 2018 19:04:50 +0000 (21:04 +0200)]
Show time remaining when playing clips live.

5 years agoSupport the delete key to remove elements from the playlist.
Steinar H. Gunderson [Sat, 22 Sep 2018 10:27:08 +0000 (12:27 +0200)]
Support the delete key to remove elements from the playlist.

5 years agoAdd some 1-4 overlays on the previews.
Steinar H. Gunderson [Fri, 21 Sep 2018 20:29:04 +0000 (22:29 +0200)]
Add some 1-4 overlays on the previews.

5 years agoShow interpolated frames in the live window.
Steinar H. Gunderson [Thu, 20 Sep 2018 22:48:13 +0000 (00:48 +0200)]
Show interpolated frames in the live window.

5 years agoSmall refactoring in JPEGFrameView.
Steinar H. Gunderson [Thu, 20 Sep 2018 21:33:30 +0000 (23:33 +0200)]
Small refactoring in JPEGFrameView.

5 years agoMake it possible to switch camera angles by clicking on the preview displays.
Steinar H. Gunderson [Wed, 19 Sep 2018 23:00:10 +0000 (01:00 +0200)]
Make it possible to switch camera angles by clicking on the preview displays.

5 years agoName some threads.
Steinar H. Gunderson [Sun, 16 Sep 2018 16:42:06 +0000 (18:42 +0200)]
Name some threads.

5 years agoSubsample chroma on the GPU instead of the CPU.
Steinar H. Gunderson [Sun, 16 Sep 2018 16:23:05 +0000 (18:23 +0200)]
Subsample chroma on the GPU instead of the CPU.

Faster, and also gets the subsampling right. The shaders come from Nageru,
but the support code is heavily tweaked to be more like flow.h.

5 years agoChange from operating point 3 to 2 (more laptop-friendly debugging).
Steinar H. Gunderson [Sun, 16 Sep 2018 15:36:36 +0000 (17:36 +0200)]
Change from operating point 3 to 2 (more laptop-friendly debugging).

5 years agoDo deinterleaving on the GPU (subsampling still remains).
Steinar H. Gunderson [Sun, 16 Sep 2018 15:35:45 +0000 (17:35 +0200)]
Do deinterleaving on the GPU (subsampling still remains).

5 years agoDo the interpolation in Y'CbCr instead of RGBA; saves some conversions back and forth...
Steinar H. Gunderson [Sun, 16 Sep 2018 13:35:29 +0000 (15:35 +0200)]
Do the interpolation in Y'CbCr instead of RGBA; saves some conversions back and forth. Subsampling is stil done on the CPU (to be fixed).

5 years agoFix so that make clean removes all objects.
Steinar H. Gunderson [Sun, 16 Sep 2018 13:34:31 +0000 (15:34 +0200)]
Fix so that make clean removes all objects.

5 years agoGive the VideoStream thread a name.
Steinar H. Gunderson [Sun, 16 Sep 2018 11:18:46 +0000 (13:18 +0200)]
Give the VideoStream thread a name.

5 years agoMake VideoStream capable of using the shared JPEG cache, saving lots of CPU.
Steinar H. Gunderson [Sat, 15 Sep 2018 20:19:12 +0000 (22:19 +0200)]
Make VideoStream capable of using the shared JPEG cache, saving lots of CPU.

5 years agoRelease flow textures when we are done with them.
Steinar H. Gunderson [Wed, 12 Sep 2018 22:48:01 +0000 (00:48 +0200)]
Release flow textures when we are done with them.

5 years agoMake the output actually follow the input in an interpolated fashion.
Steinar H. Gunderson [Tue, 11 Sep 2018 21:56:13 +0000 (23:56 +0200)]
Make the output actually follow the input in an interpolated fashion.

5 years agoRead timebase from the input video.
Steinar H. Gunderson [Mon, 10 Sep 2018 21:57:00 +0000 (23:57 +0200)]
Read timebase from the input video.

5 years agoFix some flickering due to YCbCr interpretation.
Steinar H. Gunderson [Sun, 9 Sep 2018 22:45:51 +0000 (00:45 +0200)]
Fix some flickering due to YCbCr interpretation.

5 years agoEncode JPEGs from the interpolated frames.
Steinar H. Gunderson [Sun, 9 Sep 2018 22:39:28 +0000 (00:39 +0200)]
Encode JPEGs from the interpolated frames.

5 years agoStart hacking in support for interpolated frames in the main application.
Steinar H. Gunderson [Sun, 9 Sep 2018 19:21:39 +0000 (21:21 +0200)]
Start hacking in support for interpolated frames in the main application.

5 years agoFix an issue where interpolation would not work, since something (Qt?) turned off...
Steinar H. Gunderson [Sun, 9 Sep 2018 18:29:14 +0000 (20:29 +0200)]
Fix an issue where interpolation would not work, since something (Qt?) turned off depth writing.

5 years agoEditorial changes.
Steinar H. Gunderson [Fri, 24 Aug 2018 07:33:44 +0000 (09:33 +0200)]
Editorial changes.

5 years agoSplit out the flow code from the example driver.
Steinar H. Gunderson [Thu, 23 Aug 2018 23:00:38 +0000 (01:00 +0200)]
Split out the flow code from the example driver.

5 years agoMake disabling variational refinement somewhat more efficient.
Steinar H. Gunderson [Thu, 23 Aug 2018 22:30:10 +0000 (00:30 +0200)]
Make disabling variational refinement somewhat more efficient.

OP2 minus variational refinement is now sub-millisecond for
1024x436 forward flow on my Haswell laptop. (Full OP2 forward+backward
with interpolation is easily realtime.)

5 years agoParametrize patch size and number of iterations.
Steinar H. Gunderson [Thu, 23 Aug 2018 22:21:48 +0000 (00:21 +0200)]
Parametrize patch size and number of iterations.

5 years agoStart parametrizing the operating points for DIS.
Steinar H. Gunderson [Thu, 23 Aug 2018 22:12:50 +0000 (00:12 +0200)]
Start parametrizing the operating points for DIS.

5 years agoMove flow classes into a header file; first step on the way to making it accessible.
Steinar H. Gunderson [Mon, 20 Aug 2018 22:34:58 +0000 (00:34 +0200)]
Move flow classes into a header file; first step on the way to making it accessible.

5 years agoMove stream generation into a new class VideoStream, which will also soon deal with...
Steinar H. Gunderson [Mon, 20 Aug 2018 21:43:29 +0000 (23:43 +0200)]
Move stream generation into a new class VideoStream, which will also soon deal with the GPU.

5 years agoActually send the MJPEG frames on to the HTTP stream.
Steinar H. Gunderson [Sat, 18 Aug 2018 22:03:11 +0000 (00:03 +0200)]
Actually send the MJPEG frames on to the HTTP stream.

5 years agoFix another deprecation warning.
Steinar H. Gunderson [Sat, 1 Sep 2018 19:50:20 +0000 (21:50 +0200)]
Fix another deprecation warning.

5 years agoFix an uninitialized option set.
Steinar H. Gunderson [Sat, 1 Sep 2018 19:45:05 +0000 (21:45 +0200)]
Fix an uninitialized option set.

5 years agoFix a deprecation warning.
Steinar H. Gunderson [Sat, 1 Sep 2018 19:44:54 +0000 (21:44 +0200)]
Fix a deprecation warning.

5 years agoUnbreak --record-x264-video.
Steinar H. Gunderson [Sat, 1 Sep 2018 19:36:26 +0000 (21:36 +0200)]
Unbreak --record-x264-video.

The autodetection of VA-API devices introduced in 1.7.2 would run (and halt
Nageru) even if --record-x264-video was given, ironically recommending
--record-x264-video as a workaround. Fix by disabling it if we don't need
VA-API.

Bug reported by Peter De Schrijver.

5 years agoRelease Nageru 1.7.4. 1.7.4
Steinar H. Gunderson [Fri, 31 Aug 2018 20:14:54 +0000 (22:14 +0200)]
Release Nageru 1.7.4.

5 years agoSupport x264 >= 153.
Steinar H. Gunderson [Fri, 31 Aug 2018 20:13:45 +0000 (22:13 +0200)]
Support x264 >= 153.

Newer versions of x264 support multiple bit depths in one library,
so we don't need to load dynamically anymore. (On the other hand,
there's a new parameter we need to set.) Keep the old code around
for the time being, though, since we'd like to keep supporting
stretch for now.

5 years agoImport a bunch of http/mux code from Nageru.
Steinar H. Gunderson [Sat, 18 Aug 2018 19:48:39 +0000 (21:48 +0200)]
Import a bunch of http/mux code from Nageru.

5 years agoav_register_all() is deprecated, so do not call it anymore (no replacement needed).
Steinar H. Gunderson [Sat, 18 Aug 2018 17:55:47 +0000 (19:55 +0200)]
av_register_all() is deprecated, so do not call it anymore (no replacement needed).

5 years agoUnbreak Kaeru.
Steinar H. Gunderson [Fri, 10 Aug 2018 15:47:32 +0000 (17:47 +0200)]
Unbreak Kaeru.

5 years agoAdd support for lift/gamma/gain in the theme.
Steinar H. Gunderson [Fri, 10 Aug 2018 15:46:39 +0000 (17:46 +0200)]
Add support for lift/gamma/gain in the theme.

Patch by Alexandre Thomazo, taken from the Breizhcamp repository.

5 years agoSupport rendering forward and backward flow in parallel.
Steinar H. Gunderson [Tue, 7 Aug 2018 22:02:41 +0000 (00:02 +0200)]
Support rendering forward and backward flow in parallel.

~15% faster flow computation on GTX 950; the lower resolutions are so
inherently low-parallel, so we get backward flow on those levels
essentially for free. Should be even more important on larger GPUs.

5 years ago16-bit depth should be plenty.
Steinar H. Gunderson [Wed, 8 Aug 2018 19:08:04 +0000 (21:08 +0200)]
16-bit depth should be plenty.

5 years agoUse a renderbuffer instead of a depth texture; potentially faster.
Steinar H. Gunderson [Wed, 8 Aug 2018 18:13:58 +0000 (20:13 +0200)]
Use a renderbuffer instead of a depth texture; potentially faster.

5 years agoRename “Total” to something more descriptive.
Steinar H. Gunderson [Tue, 7 Aug 2018 16:59:56 +0000 (18:59 +0200)]
Rename “Total” to something more descriptive.

5 years agoFix a warning in motion_search.frag.
Steinar H. Gunderson [Tue, 7 Aug 2018 16:11:48 +0000 (18:11 +0200)]
Fix a warning in motion_search.frag.

5 years agoFix patch placement. Again.
Steinar H. Gunderson [Mon, 6 Aug 2018 18:47:34 +0000 (20:47 +0200)]
Fix patch placement. Again.

5 years agoAdd a warmup option to get somewhat more consistent timings.
Steinar H. Gunderson [Sat, 4 Aug 2018 20:37:41 +0000 (22:37 +0200)]
Add a warmup option to get somewhat more consistent timings.

5 years agoFix a bug where the first black pass of SOR would read junk data.
Steinar H. Gunderson [Sat, 4 Aug 2018 20:35:43 +0000 (22:35 +0200)]
Fix a bug where the first black pass of SOR would read junk data.