Commit Graph

402 Commits

Author SHA1 Message Date
Jonathan Thomas
140fbaddff Added new AudioDeviceInfo struct, and populate a vector of them on QtPlayer initialization. This allows a user to overwrite the preferred audio device by using the setting PLAYBACK_AUDIO_DEVICE_NAME. 2019-04-23 16:45:02 -05:00
Jonathan Thomas
79335277cb Removing old commented out code 2019-04-21 14:37:06 -05:00
eisneinechse
65d9134722 Remove DECODE varaible.
Turn out that a buggy graphic driver was the problem.
2019-04-21 12:18:44 -07:00
eisneinechse
825e38ac9d Removing old way to select hardware support
Removing the decode setting makes hardware supported decode break.
There must be some hidden dependency on that variable somewhere
which might also be responsible for the problems with nVidia on
Linux. TODO Remove the dependency
2019-04-21 10:04:24 -07:00
Jonathan Thomas
b3f5406db3 More code reformatting on FFmpegWriter.h/.cpp 2019-04-18 14:04:37 -05:00
Jonathan Thomas
893b91b528 Adding doc/HW-ACCEL.md document, code reformatting, some variable renaming 2019-04-18 01:07:57 -05:00
eisneinechse
5648261e4f Merge branch 'develop' into hardware-support 2019-04-05 07:50:07 -07:00
Jonathan Thomas
9dbb063ded Persist any error returned by JUCE during initialise() method, such as sample rate issues on Windows (when playback and recording sample rates do not match, which breaks WASAPI) 2019-04-04 00:55:47 -05:00
Jonathan Thomas
6e2600dcd4 Moving JuceHeader.h below other includes, to be sure it is always included after system libraries (for Mac Point build failure) 2019-03-30 14:23:50 -05:00
Jonathan Thomas
13ab8b48bd Moving JuceHeader.h in ZmqLogger.h, to come after system libraries (to prevent error on Mac related to Point declaration) 2019-03-30 01:47:49 -05:00
FeRD (Frank Dana)
7e7f5c341a Use new Juce header file location 2019-03-29 08:11:19 -04:00
eisneinechse
1ffe7fedd7 Merge branch 'develop' into hardware-support 2019-03-21 08:41:35 -07:00
Jonathan Thomas
abe44ade73 Bumping version to 0.2.3 (SO 17) 2019-03-15 13:14:52 -05:00
eisneinechse
9cde60059c Merge branch 'develop' into hardware-support 2019-03-07 10:46:54 -08:00
Jonathan Thomas
8f385c112a Improved Keyframe Performance (#197)
* Refactor of Coorindate and Keyframe optimized for performance (much faster than previously). Also refactored FrameMapper to not use a Keyframe, and to only process frame mapping when needed... speeding up Json loading of project files.

* Fixing FrameMapper linear calculation to match existing Keyframe calculation

* Fixing Keyframe to pass original unit tests, and correctly calculate the Keyframe repeat fractions and deltas.

* Small refactor of time mapped logic in Clip.cpp
2019-03-06 15:35:03 -06:00
eisneinechse
2e635e3d87 Formating and Cleanup
Fix forgotten break in switch
2019-01-31 09:42:26 -08:00
eisneinechse
596ae0efac More changes to move to Settings, still needs work 2019-01-30 20:44:36 -08:00
eisneinechse
2ca84217bc First changes to use Settings instead of GetEnv 2019-01-30 09:58:54 -08:00
eisneinechse
29b5fcac60 Merge branch 'develop' into hardware-support 2019-01-25 13:07:26 -08:00
Jonathan Thomas
7b6eb9c21b Integration of resvg SVG library (optional during build) (#185)
* Integration of libresvg SVG library (optional during build)

* Major refactor of max_width and max_height for preview optimization

* Fixed many bugs related to preview resizing, with regards to cached frames

* Updating gitlab CI to find RESVGDIR correctly for windows, and adding svgz support

* Updating cmake findresvg module to search for windows locations first, to prevent an issue on our windows builders and updating some CMake output.

* Removing folder path from resvg header, since it could be installed in different named folders. This is an attempt to fix Windows include issues.

* Making call to AV_FREE_FRAME conditional for non windows systems (because it crashes on Windows for seemingly no reason). Needs more investigation.
2019-01-19 02:18:52 -06:00
eisneinechse
662ed77263 Merge branch 'develop' into hardware-support 2019-01-18 16:42:46 -08:00
Jonathan Thomas
64a53283c9 Adding condition before calling av_frame_free (in AV_FREE_FRAME macro) (#184) 2019-01-15 14:58:01 -06:00
Jonathan Thomas
13bd272ead Adding new settings class to be used for changing realtime settings used by libopenshot, such as scaling mode for preview vs final render, or hardware decode, etc... 2019-01-09 16:50:40 -06:00
eisneinechse
e7f2494040 First changes to make hardware accelerated DECODE work with decoders
other than vaapi. Encode is already working for nvenc; nvidia driver
396 has to be installed for nvenc to work. On nVidia card turn
accelerated decode off in Preferences->Performance for now
2018-11-26 09:36:21 -08:00
eisneinechse
533c59ae97 Merge branch 'develop' into hardware-support 2018-09-26 09:44:59 -07:00