Commit Graph
230 Commits
Author SHA1 Message Date
itsmattkc 964129bb08 viewer: further improvements to auto-cache logic 2021-05-09 18:15:56 +10:00
itsmattkc f3c3b2eecf viewer: added default parameter
Minor code enhancement
2021-05-07 16:26:02 +10:00
itsmattkc 84847e0939 viewer: set display image to null when disconnecting viewer node 2021-05-05 19:07:34 +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 7ca236d57f viewer: don't clear fps timer until time changes 2021-05-03 14:26:44 +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 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 27ba4899ca viewer: various minor improvements 2021-04-29 22:30:52 +10:00
itsmattkc 2a1cbc5a25 viewer: fixed crop matrix for export dialog 2021-04-29 00:31:19 +10:00
itsmattkc bd93115e6e viewer: don't queue frames after the end of the sequence 2021-04-28 18:20:37 +10:00
itsmattkc 51ccaedc78 render: implemented frame pool
Optimization
2021-04-28 17:31:25 +10:00
itsmattkc cdea531d95 viewer: fix timer issues
Should address various viewer playback lag issues.
2021-04-27 01:22:58 +10:00
itsmattkc fcb344bd4e render: improved threading stability 2021-04-24 18:21:33 +10:00
itsmattkc 50644b8e10 viewer: implemented path to show empty frame
Mild UI improvement.
2021-04-22 11:50:24 +10:00
itsmattkc 77d4b18a60 updated copyright year for 2021 [skip ci] 2021-04-17 18:56:50 +10:00
itsmattkc 22b2d08baf rational: implement NaN mode
Also clarify code where 0 is used as a rational.
2021-04-17 15:04:03 +10:00
Thomas Wilshaw 8142df7a04 viewer: Don't hide the widget before deleting 2021-04-16 20:15:10 +01:00
Thomas Wilshaw 600c9bbe6b viewer: Safely delete full screen widget
Hide the full screen widget and then use deleteLater() rather than
delete.

Fixes #1571
2021-04-14 17:38:45 +01:00
itsmattkc 3ffb2fde1c audiomonitor: use mipmapped waveform
Since we have these now, may as well use them. This should
improve general playback performance since the audio monitor
will be able to iterate far fewer
2021-04-14 15:25:38 +10:00
itsmattkc 87e315c493 viewer: stop restart timer on pause
Fixes #1569
2021-04-14 13:45:35 +10:00
itsmattkc e0a94ca776 viewer: don't assume still if no texture connected 2021-04-14 11:53:23 +10:00
itsmattkc 429442c0ea viewer: restart audio if validated during playback
Fixes #1566
2021-04-14 11:20:02 +10:00
itsmattkc 09009e01fc viewer: reimplement still support in a more robust way 2021-04-13 15:47:04 +10:00
itsmattkc 46e00c0099 viewer: store video/audio length outside of cache 2021-04-13 15:39:45 +10:00
itsmattkc f9c145b4d4 viewer: default to black background
Fixes theme background no null frame in full screen.
2021-04-13 15:37:22 +10:00
itsmattkc e141b486ae viewer: fixed issues with audio-only nodes in the viewer 2021-04-13 12:17:38 +10:00
itsmattkc 831bac70c5 viewer: don't trigger context menu if no node is connected 2021-04-08 23:33:55 +10:00
itsmattkc 4021a7166d viewer: keep track of which screens have full screen viewers on them
Fixes #1307
2021-04-08 22:37:38 +10:00
itsmattkc cb75e37e77 moved several files around
Mostly moved classes that became node derivatives into the node/ folder.
2021-04-08 12:15:59 +10:00
itsmattkc ea29ffef96 minor refactoring and signalling panel subtitle by node change
Fixes issue where Footage Viewer subtitle wouldn't update when
dropping footage in.
2021-04-08 10:42:13 +10:00
itsmattkc bb32048c65 use frame rate and timebase less interchangeably 2021-04-07 13:08:25 +10:00
itsmattkc 898ea25e89 finished merge of viewer and footage 2021-04-06 13:08:56 +10:00
itsmattkc 4066fcba90 began merging footage and viewer 2021-04-05 16:41:37 +10:00
itsmattkc 6e7c8088b7 viewer: ensure instances are actually removed from list 2021-04-05 15:04:48 +10:00
itsmattkc 9be014c0b6 refactored so sequence is again a derivative of viewer 2021-04-05 14:41:59 +10:00
itsmattkc a30d031a9c improved FPS counter
Shows real frame update time rather than refresh time
2021-03-15 11:34:09 +11:00
itsmattkc 60e828efa8 viewer: minor profiling
Allows users to show FPS counter and skipped frames count.
2021-03-10 13:40:17 +11:00
itsmattkc 05cb3b86b8 viewer: fix double queue 2021-02-21 18:19:36 +11:00
itsmattkc d7c5ac4b44 implement entire project in nodes
Project items are now represented directly in nodes opening up more versatility and possibilities. This is the first iteration of this and will be buggy. Need to test thoroughly.
2021-02-15 21:31:57 +11:00
itsmattkc 81c1922911 use strings to connect nodes
This makes the node system somewhat more high-level with the intent of making
working with them far more flexible and stable. By making the architecture more
abstracted, it becomes far less rigid which should allow us to do even more
with it and make it much less crash prone.
2021-02-09 15:48:37 +11:00
itsmattkc 181235f6ce began new infrastructure
Yep, this is another one of my "famous" sweeping rewrites. Expect things to break.

Goals for this are:
- Greatly simplify node connections (particularly with arrays) so the code requires less maintenance/is more stable
- Redesign node structure to address issues where UI would stall for lengthy periods of time
- Less reliance on shared ptrs/greater reliance on QObject system for inheritance/memory management
- General code cleanup and improvements
2021-01-05 11:20:38 +11:00
itsmattkc b604a7271d viewer: fix regression where multiple viewers could play at once 2020-12-30 10:38:34 +11:00
itsmattkc 90edc4f933 timebasedwidget: added infrastructure of passing scroll wheel signals to the scrollbar 2020-11-29 10:08:37 +11:00
itsmattkc 75d4cd899b use hardcoded namespace
The macro defined namespaces confused the hell out of lupdate and more or less broke translations permanently. Looks like the only way we can do it is to have a hardcoded namespace, which goes against my instinct, but honestly how likely is it that we'll change the namespace anyway (I guess forks might want to do it, but that's their problem ;) )
2020-11-17 20:24:42 +11:00
itsmattkc d241090a9f finally updated the copyright year 2020-11-17 20:13:22 +11:00
itsmattkc 0d0766e4fb improved render channel count system 2020-11-15 22:16:40 +11:00