Commit Graph
6982 Commits
Author SHA1 Message Date
Thomas Wilshaw 7f4b676318 Move OTIO macro to define.h
Move the OTIO macro to define.h to avoid having to add it to all
required files.

Also add some cleanup.
2020-11-12 13:44:50 +00:00
itsmattkc 8776bb9c4a finished upgrade to ocio v2 2020-11-12 15:36:29 +11:00
itsmattkc 2d2d6d2a2b Merge branch 'master' of https://github.com/olive-editor/olive 2020-11-12 09:38:54 +11:00
itsmattkc 04e27e8e7f otio: use item rather than first of array 2020-11-12 09:38:49 +11:00
Thomas Wilshaw a1d967efe6 OTIO: Use macro OTIO for opentimelineio::v1_0
Exapnd the use of the OTIO macro and add the version number macro.
2020-11-11 22:13:14 +00:00
Thomas Wilshaw cea436b703 saveoitio: Add fix for to_json_file
The function to_json_file can delete it's SerializableObject if it
doesn't have a Retainer associated with it. This fix adds said
Retainer. Retainers clean them selves up when possibly_delete is
called on their associated object.
2020-11-11 21:57:45 +00:00
Thomas Wilshaw 2172cf784c Rational: conversion to opentime take framerate
Add a frame rate option to the conversion to opentime rationals as
otio generaly expects rationals to be in the form value/framerate.

Also add a check to make sure the rational is not in the form 0/0
as this can cause errors with OTIO.
2020-11-11 21:53:44 +00:00
itsmattkc ddbca1ba51 Merge branch 'master' of https://github.com/olive-editor/olive into render-singleton 2020-11-12 00:57:12 +11:00
itsmattkc 3c1ac3eeba upgraded to ocio v2 2020-11-11 21:53:24 +11:00
itsmattkc 0429e70fe0 merged all drawing functions into a single shader processing function 2020-11-10 15:50:13 +11:00
itsmattkc 1d61f89920 large scale renderer rework
- Abstracts all OpenGL functionality including UI objects
- Cleans up several rendering codepaths
- Improves threading functionality
- Removes old code and problematic functions
2020-11-10 11:24:51 +11:00
itsmattkc 52b98f3fa3 lightened SampleFormat struct 2020-11-10 11:24:20 +11:00
itsmattkc 94c0914e50 codec system rework
Codecs are now much cleaner and thread safe by design.
2020-11-10 11:23:25 +11:00
itsmattkc c69b63dcd3 Merge pull request #1291 from olive-editor/remove-old-ci
Remove old Travis and AppVeyor CI, update .gitignore
2020-11-09 15:38:08 +11:00
itsmattkc ab031dea60 Merge pull request #1312 from pgilfernandez/icon_new
[UI] update "New" icon with a right bottom triangle
2020-11-09 15:25:49 +11:00
Thomas Wilshaw 3f0768a1cc Add support for transitions when loading OTIO files
OTIO transitions are now added to the timeline as cross dissolves with
the appropriate in/out points,

Also added a safety check when dealing with media references.
2020-11-08 12:23:37 +00:00
itsmattkc 6ecdb02fd0 okay maybe not 2020-11-08 00:47:59 +11:00
itsmattkc 83cefbd7c7 uhh yeah this might be fubar 2020-11-07 22:44:27 +11:00
Pablo Gil 7b05e1b59e [UI] update "new" icon with a right bottom triangle because the button really opens a menu 2020-11-07 12:31:31 +01:00
itsmattkc 13dd31d5be began rewrite of renderer inner workings 2020-11-06 20:18:10 +11:00
Simran Spiller c4fb90bad4 Remove extra line in issue template 2020-11-05 10:31:23 +01:00
Simran Spiller 6d3357d13b Add more comments to issue templates 2020-11-05 10:30:05 +01:00
Simran cc77775692 Update CONTRIBUTING.md 2020-11-05 10:18:53 +01:00
Simran de48eba713 Make dialog for saving a project actually a save dialog
AcceptMode defaults to QFileDialog::AcceptOpen
2020-11-02 12:10:20 +01:00
itsmattkc 60eb71cb4c derive threadpool from cancelableobject 2020-10-30 22:48:25 +11:00
Simran 82347ccda6 Limit build*/ and docs/ to top level, ignore out/ at top level 2020-10-29 17:24:34 +01:00
Simran Spiller 8c1f7d6d94 Cleanup and add a few more gitignores 2020-10-29 11:16:03 +01:00
Simran Spiller 493babab59 Update Qt gitignores 2020-10-29 11:15:35 +01:00
Simran Spiller ee8961eeae Remove old AppVayor CI (Windows) 2020-10-29 10:54:26 +01:00
Simran Spiller 0b3dd128e1 Remove old Travis CI (Linux, macOS) 2020-10-29 10:54:16 +01:00
itsmattkc 26e351d363 moved frame cache saving to our custom thread pool so we can control the priority 2020-10-29 03:12:04 +11:00
itsmattkc 84a1ec0ca3 began graphics backend enum 2020-10-29 02:59:18 +11:00
itsmattkc a3a57181a6 re-copy list when waiting since it may have changed 2020-10-29 02:59:10 +11:00
itsmattkc 34cb7c96de further enclosed C locale setting 2020-10-29 02:20:59 +11:00
itsmattkc 00fef29cac fixed issues where hashes wouldn't set correctly 2020-10-29 02:18:58 +11:00
itsmattkc 07dc7104c5 made timerangelist a encapsulation rather than a derivation
Locks off functionality that really shouldn't be used.
2020-10-29 02:18:41 +11:00
itsmattkc 59241f9023 generate OCIO extraction directory BEFORE setting C locale for OCIO 2020-10-29 01:39:22 +11:00
itsmattkc 10d2ea823c ci: try new dependencies 2020-10-29 01:39:03 +11:00
itsmattkc b65c0f4056 Merge branch 'master' of https://github.com/olive-editor/olive 2020-10-29 01:36:42 +11:00
itsmattkc b582843d27 moved things around and started rewriting render backend 2020-10-29 01:36:26 +11:00
Simran 2959f1eb11 Update 50-build_issue.md
There is a separate label for continuous integration now, but we don't have a separate issue template for that. It's unlikely that someone wants to report CI issue anyway.
2020-10-28 09:10:16 +01:00
itsmattkc 94321c0a86 align frames to 32 bytes instead of 16 2020-10-28 15:50:56 +11:00
itsmattkc 43873e79e9 clear decoders when viewer is disconnected 2020-10-28 15:50:20 +11:00
itsmattkc 5343ec4b86 use default playback cache if there's no project 2020-10-28 15:49:53 +11:00
Simran 9d029c4ae4 Docker: Add more & update libraries for FFmpeg (#1279)
* Fix error: x265 not found using pkg-config

Need to checkout tag or fetch tags, see https://bitbucket.org/multicoreware/x265_git/issues/572/pc-file-is-not-generated

* Add libs ogg, vorbis, theora, webp, xvid, openjpeg, png to ffmpeg

* ffmpeg x265 uses libnuma (but optional)

ci-common image not updated yet, pkg-config error resolved by checking out a tag. Installing libnuma was a suggested fix here: https://stackoverflow.com/questions/51918409/compiling-ffmpeg-x265-not-found-using-pkg-config

* Add Docker Images readme
2020-10-27 18:21:54 +01:00
itsmattkc 379a799ad9 Merge branch 'master' of https://github.com/olive-editor/olive 2020-10-27 12:37:21 +11:00
itsmattkc 1e6208517f decoder: fixed regression in image handling in OIIO decoder
Fixes #1277
2020-10-27 12:36:55 +11:00
Simran 472913610a Docker: Add ci-otio image (#1278)
This includes both, the Python and C++ version. We basically just need the headers and libopentime(line).so

* Add label for VFXPLATFORM_VERSION
* org.opencontainers.image.licenses defaults to GPL-2.0-only?!
2020-10-27 01:15:22 +01:00
itsmattkc 5f5d6e82ab audioplaybackcache: fixed bug in one of the shift operations 2020-10-24 14:18:59 +11:00
itsmattkc 921608e1df audioplaybackcache: fixed various audio issues
Fixes #1276
2020-10-24 13:59:12 +11:00