Commit Graph
100 Commits
Author SHA1 Message Date
itsmattkc 94b2cebeea ui: merged nodeview/timelineview scrolling code
Greatly improves code quality and maintainability
2021-05-10 11:15:37 +10:00
itsmattkc 1c983f6b8c nodeparamview: focus next best node when node is removed
Fixes #1616
2021-05-10 10:52:34 +10:00
itsmattkc 8383929476 track/audioplaybackcache: re-did binary search algorithms
Fixes #1617
Fixes #1615
2021-05-10 10:42:07 +10:00
itsmattkc febb5b0d25 config: startup option for autocache pause
Makes debugging easier
2021-05-10 10:40:17 +10:00
itsmattkc 15556c64ae encoder: write audio in segments
I'll be honest, this probably makes no noticeable difference at all. It should be faster and more efficient, but whether that translates into any tangible improvement is yet to be seen.
2021-05-10 00:44:08 +10:00
itsmattkc 27653f10dc frame: use correct linesize value for allocations
OOF NO WONDER MEMORY USAGE IS SO HIGH
2021-05-09 19:43:26 +10:00
itsmattkc 6d517a851c cmake: patch for openexr < 3.0 2021-05-09 18:20:48 +10:00
itsmattkc 964129bb08 viewer: further improvements to auto-cache logic 2021-05-09 18:15:56 +10:00
itsmattkc db237d3bd4 update for openexr 3.x 2021-05-09 17:08:06 +10:00
itsmattkc 029b826f90 slider: change ctrl and shift modifiers
Ctrl now does * 0.01 and shift does * 100.
2021-05-08 09:39:21 +10:00
itsmattkc 4b58d55d90 scope: ensure texture is updated from channel count too
Fixes #1610
2021-05-07 16:26:02 +10:00
itsmattkc f3c3b2eecf viewer: added default parameter
Minor code enhancement
2021-05-07 16:26:02 +10:00
itsmattkc 01f4cd4d16 viewer: update the display even if the frame hasn't changed
Fixes #1611
2021-05-07 16:26:02 +10:00
itsmattkc 6d14010de7 undef MessageBox 2021-05-05 20:37:53 +10:00
itsmattkc 673f298d9d actually commit new digit header and tests 2021-05-05 20:15:06 +10:00
itsmattkc 049e32eb40 core: queue project panel focus so it doesn't happen too early
Fixes #1608
2021-05-05 19:08:04 +10:00
itsmattkc 84847e0939 viewer: set display image to null when disconnecting viewer node 2021-05-05 19:07:34 +10:00
itsmattkc 4942970c02 export: fixed many export formats including still image and image sequence export
Still incomplete, but does a lot towards #1345
2021-05-05 19:03:03 +10:00
itsmattkc dedc189ebf sliders: make certain set functions slots 2021-05-05 18:58:51 +10:00
itsmattkc e219941147 viewer: don't use const ref after popping 2021-05-05 18:54:49 +10:00
itsmattkc ee90d89ef4 viewer: move set code lower and return 2021-05-05 12:53:42 +10:00
itsmattkc 7945a6b58a viewer: show last frame in queue even if queue cannot keep up
It's better than nothing
2021-05-05 12:49:29 +10:00
itsmattkc 367293e253 viewer: hardcode playback queue number
Doesn't make sense to base this on thread count because lower thread computers need this more than higher thread computers
2021-05-05 12:06:15 +10:00
itsmattkc 105655b3d9 nodeview: don't use other input's type for reconnecting nodes, just use traverser heuristic
Fixes #1607
2021-05-05 11:41:56 +10:00
itsmattkc fc63be565d cache: add more pixel format options for performance testing 2021-05-05 11:39:09 +10:00
itsmattkc bba23c1589 cache: don't create directories unless necessary 2021-05-05 11:38:27 +10:00
itsmattkc 32e11bb6a1 footage: clamp to last frame rather than length
Fixes #1604
2021-05-03 22:18:40 +10:00
itsmattkc eb0cbea108 improved interlacing 2021-05-03 22:08:05 +10:00
itsmattkc 5af00496c5 viewer: fixed crash on destruction when interlacing 2021-05-03 22:06:57 +10:00
itsmattkc 6d2eeb7409 viewer: upload texture in paint command
Fix potential crash a texture is set before the OpenGL context is initialized
2021-05-03 17:50:16 +10:00
itsmattkc abf1eff866 add ability to enter custom frame rates
We ain't gatekeeping frame rates
2021-05-03 17:49:47 +10:00
itsmattkc 7ca236d57f viewer: don't clear fps timer until time changes 2021-05-03 14:26:44 +10:00
itsmattkc 2484daf141 implemented full support for interlaced footage
Includes importing and exporting interlaced footage. Fixes #1340.
2021-05-03 13:56:54 +10:00
itsmattkc e2455fce2f renderer: fixed distorted video caused by exporting video with lower frame rate than sequence
Wow I thought this issue was 0.1 exclusive but the same bug was here in 0.2 I wonder if it's worth backporting it now that I know what the problem is.
2021-05-03 13:55:39 +10:00
itsmattkc 339447faca playbackcontrols: forced consistent button sizes 2021-05-03 13:54:37 +10:00
itsmattkc b2835b77df viewer: fixed crash caused by setting interlace mode before opengl instance was initialized 2021-05-03 13:54:13 +10:00
itsmattkc 20b3fe76a8 playbackcache: fixed crash if shift was beyond length 2021-05-03 13:53:39 +10:00
itsmattkc ee6b09f772 ffmpegdecoder: use avfilter system instead of raw swscale commands
Heh this was inevitable
2021-05-03 12:10:51 +10:00
itsmattkc 0b259d3a63 viewer: don't clear video queue on single frame retrieval
No real need for this now that we have `prioritize` built into the function
2021-05-01 10:16:33 +10:00
itsmattkc 8cc9c0e853 traverser: update for new loop mode 2021-04-30 11:31:00 +10:00
itsmattkc c765c96807 footage: fix bug with loop mode that prevented stills from showing 2021-04-30 11:24:17 +10:00
itsmattkc 9d2ddbf727 renderer/decoder: clean up decoders after some time 2021-04-30 11:13:57 +10:00
itsmattkc 6ca8dbb70a taskdialog/progressdialog: if guard on showEvent
Fixes #1599
2021-04-30 09:58:45 +10:00
itsmattkc b82e616124 previewautocache/viewer: improvements to cooperation between cache and viewer 2021-04-30 00:59:51 +10:00
itsmattkc 8a850dac9f viewer: smarter pre-queuing 2021-04-29 23:56:42 +10:00
itsmattkc f8d175c2ad previewautocacher: passthrough frames already being rendered 2021-04-29 23:40:53 +10:00
itsmattkc 36466d0f9b nodefactory: removed unnecessary debug line 2021-04-29 23:40:30 +10:00
itsmattkc 27ba4899ca viewer: various minor improvements 2021-04-29 22:30:52 +10:00
itsmattkc ec27c272e0 viewer: don't prioritize for the queue 2021-04-29 22:25:33 +10:00
itsmattkc 65d7b82090 footageviewer: set divider 2021-04-29 22:25:03 +10:00
itsmattkc 2910b8e292 ci: some fixes for patreon list 2021-04-29 21:05:54 +10:00
itsmattkc 3952706ae5 ci: create patreon list 2021-04-29 21:03:02 +10:00
itsmattkc af742e6e62 aboutdialog: support patreon list 2021-04-29 20:54:15 +10:00
itsmattkc 04a8a7aaa7 renderprocessor: use <= when choosing divider for footage
In some scenarios, will result in higher quality cache previews
2021-04-29 11:27:33 +10:00
itsmattkc df861fb33d viewer: if only video stream is still, don't use as rate in project explorer
Minor UI improvement
2021-04-29 11:26:11 +10:00
itsmattkc b66b1079fa project: set default nodes to undeletable
Project assumes these nodes are there so ensure they can't be deleted
2021-04-29 00:42:28 +10:00
itsmattkc 2a1cbc5a25 viewer: fixed crop matrix for export dialog 2021-04-29 00:31:19 +10:00
itsmattkc 502b5971f9 nodeview: only remove dragged edge if arrow was dragged 2021-04-29 00:21:53 +10:00
itsmattkc 1fb7486daa precachetask: fixed error 2021-04-28 23:13:26 +10:00
itsmattkc 2416891c76 encoder: minor improvements 2021-04-28 23:12:14 +10:00
itsmattkc 686c417e60 precachetask: minor improvements 2021-04-28 23:11:37 +10:00
itsmattkc 59952fdd94 crashhandler: convert git hash to utf-8 2021-04-28 18:28:29 +10:00
itsmattkc bd93115e6e viewer: don't queue frames after the end of the sequence 2021-04-28 18:20:37 +10:00
itsmattkc 7abe6127e6 viewer: don't add 0 frame rates to the FPS counter
Slight improvement to FPS count accuracy
2021-04-28 18:20:21 +10:00
itsmattkc aeb3a83293 cmake: compile git hash into separate object
Should improve incremental compile speeds
2021-04-28 18:19:26 +10:00
itsmattkc befb591b06 framemanager: added qmutex header
Some platforms need this it seems
2021-04-28 17:37:28 +10:00
itsmattkc 91895ddb2f Merge branch 'master' of https://github.com/olive-editor/olive 2021-04-28 17:32:21 +10:00
itsmattkc 51ccaedc78 render: implemented frame pool
Optimization
2021-04-28 17:31:25 +10:00
itsmattkc 3903f70259 render: implemented frame pool
Optimization
2021-04-28 16:17:11 +10:00
itsmattkc 2e96b57319 audiomonitor: fixed minor regression 2021-04-28 16:16:37 +10:00
itsmattkc a8185aa13b nodeview: ensure existing edges are removed when dragging somewhere else 2021-04-28 13:02:55 +10:00
itsmattkc a7257c75b9 cmake: moved qt5_add_translation to parent scope
Scope issues seem to cause problems where the main compile step can't find the translation step, so even though it's messier, this code is now in the parent scope.

Fixes #1595
2021-04-28 12:57:33 +10:00
itsmattkc a7d7515ba7 nodeview: allow dragging edges from their arrows
Fixes #1594
2021-04-27 18:48:40 +10:00
itsmattkc cd1d75c6fb removed unnecessary debug lines 2021-04-27 10:08:13 +10:00
itsmattkc 52076b19fc timeline: added more signalling when tracklists change
Fixes #1591
2021-04-27 10:08:04 +10:00
itsmattkc a0200f2286 timeline: tidied up pointer code 2021-04-27 01:24:48 +10:00
itsmattkc cdea531d95 viewer: fix timer issues
Should address various viewer playback lag issues.
2021-04-27 01:22:58 +10:00
itsmattkc 41b2ce10f6 statusbar: add timeout on welcome message 2021-04-27 01:20:01 +10:00
itsmattkc fdbb8e59a9 core: add function for clearing the status bar message 2021-04-27 01:19:48 +10:00
itsmattkc ff838d23d5 renderprocessor: removed unnecessary line 2021-04-27 00:56:41 +10:00
itsmattkc a3e0c51094 openglrenderer: disable array warning message
It's quite likely the renderer will never support arrays, and that's okay!
2021-04-27 00:55:57 +10:00
itsmattkc 4ab4380057 audiomonitor: update parameters immediately when panels are focused 2021-04-27 00:54:46 +10:00
itsmattkc f2f5ab8739 audiovisualwaveform: keep track of length
Useful to determine how long the visual waveform is.
2021-04-27 00:49:04 +10:00
itsmattkc 81cc665ff2 core: add status bar timeout 2021-04-27 00:48:37 +10:00
itsmattkc 542e5f4f7b nodes: actually use array value rather than hardcoding to true
Wow.
2021-04-26 21:59:17 +10:00
itsmattkc 660e68b56a fixed transition bugs
Fixes #1522
2021-04-26 21:45:04 +10:00
itsmattkc f4e1856d30 clip: use super macro
Minor code improvement.
2021-04-26 21:45:04 +10:00
itsmattkc 87678ff438 ci: run unit tests verbosely 2021-04-26 20:32:48 +10:00
itsmattkc e2a590da26 timeline: remove transitions when removing clips
Fixes #1224
2021-04-26 20:29:21 +10:00
itsmattkc 67f48bc37c nodeview: use additional heuristics to get a node's output type 2021-04-25 09:37:18 +10:00
itsmattkc 573597bec3 track: use binary search for blocks
Minor optimization for longer sequences.
2021-04-24 18:21:33 +10:00
itsmattkc fcb344bd4e render: improved threading stability 2021-04-24 18:21:33 +10:00
itsmattkc b07e132dbb framehashcache: allow access to frames being saved
Minor optimization and crash fix. If a frame is currently being
saved, it's still technically available in memory and can be
returned faster than loading from EXR. This also prevents
OpenEXR from trying to load a frame that we're midway through
saving.
2021-04-24 18:21:33 +10:00
itsmattkc cd9ae8abde cmake: match opencolorio 2.1 2021-04-24 17:47:14 +10:00
itsmattkc 1fca3e1767 render: properly defined "out of bounds time" behavior with footage
If a user extends a clip beyond the footage's length, they can
choose whether they want a black frame, the last frame continued,
or for the footage to loop infinitely (same for extending earlier
than the start of footage).
2021-04-23 14:49:21 +10:00
itsmattkc 7f93ed7fc0 rational: fixed NaN
Also added tests to ensure rational NaN behavior is tested.
2021-04-23 14:48:22 +10:00
itsmattkc ed542f0842 nodeview: prevent infinite loops
Fixes #1531
2021-04-23 11:52:40 +10:00
itsmattkc 4864656cf5 nodeview: ensure connecting item is in front 2021-04-23 11:52:29 +10:00
itsmattkc 528999bbbc tests: added more to merge rgb test 2021-04-23 11:43:31 +10:00
itsmattkc 445d276cd0 nodes: further optimized merge node to passthrough RGB blend textures 2021-04-23 11:01:08 +10:00