itsmattkc
5fe6faf15a
ffmpeg: slightly improve performance of yuv2rgb
2022-10-29 09:59:45 -07:00
itsmattkc
8657363037
update some deprecated qt api calls
2022-10-29 09:46:57 -07:00
itsmattkc
ce650085a3
text: use fontFamilies() instead of fontFamily()
2022-10-29 09:46:22 -07:00
itsmattkc
6b806ba3a0
cmake: only find OpenGLWidgets on qt6
2022-10-28 19:57:26 -07:00
itsmattkc
5c8b955b72
cmake: only match OpenGLWidgets on qt6
2022-10-28 19:52:05 -07:00
itsmattkc
d5f645730a
cmake: allow qt6 and qt5 matching
2022-10-28 19:46:48 -07:00
itsmattkc
4d80044d6d
upgrade to qt 6 compliance
2022-10-28 19:42:14 -07:00
itsmattkc
2a595cb4c7
Merge pull request #2077 from ThomasWilshaw/duration_estimation
...
ffmpegdecoder: Catch bad stream duration estimates
2022-10-26 20:02:01 -07:00
Thomas Wilshaw
ddeab29da3
ffmepgdecoder: simplify code and improve vairable name
2022-10-26 21:02:59 +01:00
Thomas Wilshaw
9bc10e8301
ffmpegdecoder: add comment
2022-10-25 17:39:45 +01:00
Thomas Wilshaw
d011229864
ffmpegdecoder: Catch bad stream duration estimates
...
For some formats, particularly mxf, FFmpeg calculates the duration
of the stream incorrectly. Here we try to catch that and force Olive
to use it's much slower, but correct fallback method.
2022-10-25 17:24:40 +01:00
itsmattkc
bdbfb56879
shift timelineview scroll code into base classes
...
Fixes #2060
2022-10-24 12:01:47 -07:00
itsmattkc
f81445527f
timebasedwidget: automatically connect scale and scrollbars
2022-10-24 11:18:42 -07:00
itsmattkc
fa6a75cda1
Merge branch 'master' of https://github.com/olive-editor/olive
2022-10-24 10:45:49 -07:00
itsmattkc
840fc0f212
timeline: when deleting all gaps, switch to a ripple delete
2022-10-24 10:45:48 -07:00
Thomas Wilshaw
f189df91e1
diptoblack: Stop the second half of the transition effecting the first
2022-10-24 18:29:42 +01:00
itsmattkc
876bc26a5c
decoder: track divider in cached frame
2022-10-24 10:13:17 -07:00
itsmattkc
3ae7f0ff7e
diptocolortransition: ensure base params are retranslated too
2022-10-24 10:05:49 -07:00
itsmattkc
f4011db5b4
diptocolortransition: ensure input name is set
2022-10-24 09:28:15 -07:00
itsmattkc
89677ce7e4
transition: push null texture if none exists
2022-10-24 09:19:44 -07:00
Thomas Wilshaw
3d90dc4ecd
diptoblack: fix support for arbitary color
2022-10-24 13:16:12 +01:00
Thomas Wilshaw
36a3c663b2
diptoblack: fix mix operations I missed
2022-10-24 12:45:24 +01:00
Thomas Wilshaw
02ac71fb8c
diptoblack: add curve controls to shader
2022-10-24 12:38:18 +01:00
Thomas Wilshaw
896ba1f6f0
diptoblack shader: Fix mix operation
...
The mix function in GLSL is slightly counter intuitively x(1-a)+y(a)
Here we re-arrange the inputs slightly to get the correct result.
2022-10-24 12:22:11 +01:00
itsmattkc
a3f4ebdb6d
node/ui: limit amount of selectable nodes for performance
2022-10-23 21:24:49 -07:00
itsmattkc
fc56058e8a
nodes: allow two texture inputs in opacity
2022-10-23 20:23:48 -07:00
itsmattkc
93f88042d1
math: use operation by default for name
2022-10-23 19:52:08 -07:00
itsmattkc
6ce80f4469
multicamnode: use combobox for current source instead of int
2022-10-23 12:31:42 -07:00
itsmattkc
5096278e60
nodes: use much smarter time transform function
...
Fixes #2042
2022-10-23 12:15:36 -07:00
itsmattkc
86a5a0fcfd
timeline: commit imported footage before connecting
...
Fixes #2065
2022-10-23 10:01:43 -07:00
itsmattkc
b71a976175
core: save recent projects list on change rather than on exit
2022-10-23 10:01:17 -07:00
itsmattkc
70b4292627
exportdialog: fix bug where files would always be imported after export
...
Fixes #2069
2022-10-23 09:36:38 -07:00
Thomas Wilshaw
c43d4b7a12
otioload: Improve error reporting
2022-10-21 17:48:47 +01:00
itsmattkc
ca8a257a9b
footagerelinkdialog: disable filename filter because it breaks on Windows
2022-10-16 13:55:31 -07:00
itsmattkc
9b0ba2a6c4
transition: show in param view
2022-10-16 09:43:02 -07:00
itsmattkc
f39a3b0ece
timeline: check for locked tracks on split at playhead
2022-10-14 02:28:25 -07:00
itsmattkc
7791dde954
ffmpegdecoder: use inline avtimebase rather than macro
2022-10-11 00:59:12 -07:00
itsmattkc
fb566f2d9e
ci: attempt to make dmg for macOS
2022-10-11 00:54:39 -07:00
itsmattkc
b76e9cbdbe
openglrenderer: revert back to glFlush
...
Just can't win with this one. I started with glFinish because it's technically the correct option, however it caused issues on a GPU, so I switched it out for glFlush. Then I started noticing other frame sync oddities that would be fixed by using glFinish, so I switched back. Now, not only is it causing GPU issues on one system, it seems to be causing GPU issues on others too. So now glFlush seems like the lesser of the two evils, and I'm just going to have to find a way around the aforementioned frame sync issues.
2022-10-11 00:31:12 -07:00
itsmattkc
e17a24021f
ffmpegdecoder: disable interlaced scaling
...
So for some reason enabling interlaced scaling causes memory corruption. Is it an FFmpeg bug or ours? I have no idea. But it only happens if interlaced scaling is enabled. If it isn't, either by forcing it off or deinterlacing it beforehand, it doesn't happen. Since scaling is only done for low quality preview, I opted to just disable it, but maybe I'll decide against it later.
2022-10-11 00:27:27 -07:00
itsmattkc
202342e24f
ffmpegdecoder: factor in AVFormatContext::start_time
2022-10-11 00:25:56 -07:00
itsmattkc
01874ba786
videoparams: add interlacing to == operator
2022-10-10 23:24:19 -07:00
itsmattkc
92bf60cc72
videoparams: prevent divided depth from becoming 0
2022-10-10 22:40:23 -07:00
itsmattkc
6f0e35bcd6
audioparams: move calculate_channel_count definition to source file
2022-10-10 22:39:17 -07:00
itsmattkc
4f6dd6aeb1
ffmpegdecoder: offset target timestamp by start timestamp
...
Fixes #2054
2022-10-10 18:54:45 -07:00
itsmattkc
bb63b6968c
decoder: use atomic int instead of mutex for access time
...
Prevents main thread from getting hung up if the decoder is doing something slow
2022-10-10 18:54:45 -07:00
Thomas Wilshaw
cae71f011d
Chromakey: Fix alpha channel bug
...
Fixes bug where elements that are smaller than the main texture were
croping layers below them when keyed.
2022-10-09 16:19:49 +01:00
elsandosgrande
fc64f9e8a4
[skip ci] .gitignore: Ignore compile_flags.txt
2022-10-08 15:36:09 +02:00
itsmattkc
1765b8ab17
footage: don't use a divider higher than the global
2022-10-07 21:10:45 -07:00
itsmattkc
5420ceaa6f
exportdialog: don't double-set data
2022-10-06 09:47:04 -07:00