Commit Graph
3353 Commits
Author SHA1 Message Date
Thomas Wilshaw 6464bdfd68 Add an OCIO Grading Transform Node 2022-03-13 23:00:00 +00:00
ThomasWilshaw 5b565e5fa5 Merge branch 'master' into ocio_node 2022-03-08 16:39:14 +00:00
Thomas Wilshaw 5c2f6a8e86 Mostly complete the display transform node 2022-03-08 16:32:14 +00:00
Thomas Wilshaw 979095d2e0 Get OCIO node groundwork working 2022-03-08 14:40:03 +00:00
Blendy f75e91cf4d Fixed typo in Spanish translation (#1870)
Avtivado -> Activado
2022-03-05 19:18:23 +01:00
itsmattkc 3e12fb1f96 cornerpin: fix bug with hack 2022-03-04 15:50:55 -08:00
itsmattkc 63c807b902 implement glsl hack for corner pin 2022-03-04 15:46:08 -08:00
itsmattkc 780342881e cornerpin: add version to frag shader too
This fixes shader compilation issue on some platforms/drivers
2022-03-02 19:45:47 -08:00
ThomasWilshawanditsmattkc f5b4729a19 Corner pin (#1851)
* Start adding a corner pin node

* Start gizmo support

* Correctly setup QVector2d inputs

* Missing breaks were causing incorect data to be set

* Add ability to override vertex coords

* Get perspective pin working

* Cleanup

* Add none perspective corner pin

* Small optimisation

* Improve comments, clean up and fix bug in job optimisation

* [skip ci] cornerpin: Improve description

* Move GL extension from shader to standard preamble.

* Use #version 130 for mobile GPU compatibility

* Cache half resolution

* Use built in NodeInputDragger::GetStartValue

* Pass cnst references to avoid deep copies

Co-authored-by: itsmattkc <itsmattkc@gmail.com>
2022-03-02 19:38:12 -08:00
Tércio Martins 027f789a62 Fix the error "‘AV_CH_LAYOUT_STEREO’ was not declared in this scope" during build
The build of Olive under Arch Linux (package "olive-git") crashes in the file "app/dialog/sequence/sequencedialogpresettab.cpp".

GCC tries to look for the directive "AV_CH_LAYOUT_STEREO", but cannot find it, because the source code has no reference to the header "render/audioparams.h".

The following link contains more details about the error: https://aur.archlinux.org/packages/olive-git#comment-852760
2022-02-26 16:07:02 -03:00
Simran Spiller 536f518ba2 Change file mode of Chinese translations to not be executable [skip ci] 2022-02-18 00:02:21 +01:00
itsmattkc 03f0ec9f64 ffmpeg: updated for 5.0 2022-02-17 14:53:12 -08:00
Quackdoc 7d52dc19e3 Add support for x264 and x265 presets (#1856)
* Add support for x264 and x265 presets

just adds presets for x264 and x265. seems to work fine for me.

* UI tweaks

Make the presets easier to understand, add tooltip explaining preset's effects

* Do things properly, minor typo fix
2022-02-03 17:44:08 -08:00
Quackdocanditsmattkc 249006c685 Cineform support (#1853)
* Cineform Support

Add default cineform support

* Revert "Cineform Support"

This reverts commit f810358b7997ea2d996a3dbbae21252c9f37e7e9.

* Cineform Support

Add default cineform support

* Do not expose DNxHD yet

* ExportDialog: Add CineformSection

Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
2022-02-02 09:58:13 -08:00
itsmattkc cf1e8c9a95 fixed bug preventing negative timecodes being parsed correctly 2022-02-01 19:55:30 -08:00
itsmattkc f9112c05fd Implemented time offset node 2022-02-01 19:55:09 -08:00
itsmattkc 5cf076082c ExportDialog: improved codec stack UI 2022-02-01 16:46:30 -08:00
itsmattkc 217973e069 Slider: add label substitution for certain values
Allows "Threads" option in advanced export setting to show "Auto" when set to 0
2022-02-01 15:36:26 -08:00
itsmattkc 60aa76794a actually fix msvc compile issue 2022-02-01 14:30:50 -08:00
itsmattkc f61031db2d fix msvc compile issue 2022-02-01 14:10:40 -08:00
itsmattkc 019b3cfe29 implemented maintaining audio pitch and reversing 2022-02-01 13:39:43 -08:00
Thomas Wilshaw 4d5ca96b68 cleanup 2022-02-01 20:45:59 +00:00
Thomas Wilshaw ac070dbc1a Actually init GL renderer 2022-02-01 18:44:08 +00:00
Thomas Wilshaw ff2eac55a5 First attempt at adding OCIO to nodes 2022-02-01 16:12:08 +00:00
itsmattkc adc30216a2 further revised icon system
- Move QRC generation to CMake so they can be generated automatically rather than with generate-style.sh
- Removed QRC generation from generate-style.sh
- Added extra "disabled icon" generation in generate-style.sh
- Added disabled icon loading to main code
2022-01-28 16:39:55 -08:00
itsmattkc c9c82fae0b Merge branch 'master' of https://github.com/olive-editor/olive 2022-01-28 16:33:44 -08:00
Pablo Gil 4243f4921e Icons big cleanup (#1728)
* full icon review, simplification and standarization:
- all icons share the same template (with grid and guides)
- simplified svg code
- changed names for better organization:
	- italic > text-italic
	- justify-center > align-justify-left
	- underline > text-underline
- updated previous design with Olive icons guideline
- created new icon for text-bold in case it is needed
- updated design for align-center, right and left to follow Olive icons guideline
- created new icons for alignements in case they are needed:
	- align-justify-all
	- align-justify-center
	- align-justify-left
	- align-justify-right
- updated .qrc files
- updated all .png files

* added missing "mini-map" icon

* fixed SVGs docnames and default export-filenames

* more cleanup and standarization to recently updated icons:
- align-justify-all
- align-justify-center
- align-justify-left
- align-justify-right
- text-bold
- text-italic
- text-underline

* changed some unused colors to #212121 in case the files are edited in the future, now they are set to the correct color
2022-01-28 15:36:38 -08:00
itsmattkc cce379ad22 handle cache properly in ripple delete 2022-01-28 13:49:49 -08:00
probonopd 04ae3acbda Set $APPDIR (#1788) 2022-01-26 11:37:27 -08:00
Alfred Wingate a484644dd6 Fix jack client naming and improve use of pa_jack (#1847)
* Switch around Pa_Initialize and PaJack_SetClientName so that the jack
  client is named "Olive" on the first initialization and not on
  subsequent initializations when refreshing devices.
* Make use of pa_jack.h dependant on availability of the header and not
  on the usage of the linux platform.

Signed-off-by: Alfred Wingate <parona@protonmail.com>
2022-01-26 08:15:32 -08:00
ThomasWilshawanditsmattkc 953adf856b Add Flip/Flop node (#1850)
* Add Flip/Flop node

* Rename node Flip

* Missed files

Co-authored-by: itsmattkc <34096995+itsmattkc@users.noreply.github.com>
2022-01-25 15:14:54 -08:00
ThomasWilshaw 314167be40 Noise node (#1848)
* Add a noise generator node

* Cleanup

* Correctly name CMakeLists.txt

* Typo
2022-01-25 15:13:32 -08:00
itsmattkc 6152e8545a extraneous semicolon 2022-01-24 23:50:04 -08:00
itsmattkc 3f7381f7cb PolygonGenerator: Finished main implementation
It's been 84 years, but the polygon generator not only works, but now has bezier support. The UI could still use some work, but this was the hardest part. I guess complex masking should be possible now, if perhaps slightly cumbersome until the UI is smoothed out.
2022-01-24 22:17:19 -08:00
itsmattkc 1e7d5a1751 include brush setting in gizmo handle draw function 2022-01-24 14:51:12 -08:00
itsmattkc 7436c1e213 timeline: perform transition removal before calculating clips 2022-01-24 12:19:55 -08:00
itsmattkc 437f74c6b4 Fix GCC 11 compile issue
Jesus Christ...
2022-01-24 11:38:06 -08:00
itsmattkc 9b19f7eab6 NodeParamViewItemBase: Set widget in constructor
Fixes #1829
2022-01-24 09:58:04 -08:00
itsmattkc 8c481b4bd8 implemented delete all empty tracks command
Fixes #1843
2022-01-24 09:53:30 -08:00
itsmattkc 124d66a281 remove track and exclusive dependencies from sequence 2022-01-24 09:53:16 -08:00
itsmattkc 7fa8c6f33a timeline: rewrite ripple delete
Fixes #1841
2022-01-23 23:54:38 -08:00
itsmattkc eafa2ca3be implemented basic track delete function 2022-01-23 14:51:43 -08:00
itsmattkc 21b8bbe292 undocommand: get project before redo 2022-01-23 14:51:16 -08:00
itsmattkc b1ae7d5eda node: fixed catastrophic array bug
Jesus Christ how did this not get caught sooner
2022-01-23 14:51:04 -08:00
itsmattkc 8f8d43f634 move xmlnodedata to serializers
Since this differs between serializers too, move the class into each with changes as appropriate
2022-01-22 21:09:36 -08:00
itsmattkc 83fad2a438 use constants for polygon node 2022-01-22 20:24:06 -08:00
itsmattkc 08ffc63922 paramview: disable timing for now 2022-01-22 20:22:15 -08:00
itsmattkc 8f440569f8 paramview: update keyframe positions on show 2022-01-22 20:22:02 -08:00
itsmattkc 6aa493bd67 reworked param view passthroughs for groups 2022-01-22 18:17:51 -08:00
itsmattkc aae0c4963b add pixel aspect ratio to nodeglobals
Turns our pixel aspect ratio is broken in various places. Will have to fix this at some point.
2022-01-22 17:31:14 -08:00