Commit Graph

562 Commits

Author SHA1 Message Date
Frank Dana
adab668486 Merge branch 'develop' into ffmpeg-writer 2020-07-08 17:26:38 -04:00
Frank Dana
687a9cc894 Merge pull request #533 from musteresel/improve-dummyreader-doc
Add a note about the buffering behavior of Timeline to DummyReader
2020-07-08 17:20:55 -04:00
Frank Dana
001b2d8a71 MagickUtils: Add #pragma to silence IM6 warning 2020-06-18 05:47:40 -04:00
Daniel Jour
bec21b1c77 Add a note about the buffering behavior of Timeline to DummyReader
Using DummyReader with a custom cache with a Timeline can lead to
strange exceptions due to Timeline's buffering.  Therefore adding a
note to the DummyReader documentation about that.
2020-06-12 22:30:54 +02:00
Jonathan Thomas
8b12c1fa21 Replacing WriteFrame() method with custom constructor which can accept a CacheBase* pointer, for instances where a DummyReader needs some specific test Frame objects 2020-06-06 17:25:45 -05:00
Jonathan Thomas
7831cfe912 Adding some new functionality and documentation to DummyReader. Adding the ability to add test frames, with fake image and audio data. This will can be used in unittests, and will soon be used to verify some new audio improvements (coming soon). 2020-06-06 01:55:52 -05:00
Jonathan Thomas
10ed4baae3 Merge pull request #496 from OpenShot/emojis
Transform Improvements (Keyframe origin point)
2020-05-25 17:41:55 -05:00
FeRD (Frank Dana)
affd4b2488 Add some missing juce:: prefixing 2020-05-19 06:33:30 -04:00
Stefan Strogin
13290364e7 FFmpegUtilities: replace variable definition with statement expression
It is needed to avoid multiple definitions of AV_GET_CODEC_CONTEXT,
which is considered as an error with '-fno-common' which is default
since gcc-10.

Fixes: #511
2020-05-16 02:33:37 +03:00
Frank Dana
6336f30ee3 Various: Remove unused variables (#467)
Several data members and local variables were flagged by static
analysis tools as never being used anywhere in the code.
2020-04-22 02:02:55 -04:00
Frank Dana
f36bb334e2 Exceptions: Rename BaseException, for python (#497)
BaseException is a python standard library exception class, so it's
not a great idea to redefine that name in our bindings. Renamed
to ExceptionBase, which is more in keeping with our class naming
system anyway.
2020-04-22 02:01:01 -04:00
FeRD (Frank Dana)
f62f2bac6b Overrides for derived-class methods 2020-04-15 21:45:04 -04:00
FeRD (Frank Dana)
f354850984 Effects: Mark overridden methods accordingly 2020-04-15 21:44:17 -04:00
Jonathan Thomas
2bea436f3e Adding keyframable origin point (for shear and rotation) 2020-04-13 16:55:29 -05:00
FeRD (Frank Dana)
3680144511 FrameMapper: Eliminate is_open member variable
It was being used uninitialized because it's never actually set,
therefore it serves no purpose.
2020-03-22 12:35:31 -04:00
FeRD (Frank Dana)
527acfe77a FFmpegWriter: (a/v)_codec => (a/v)_codec_ctx
The audio_codec and video_codec vars have type AVCodecContext.
Renaming them to reflect that makes the code easier to follow.

A couple of places in FFmpegUtilities macros that also used
context variables named _codec got the same fix.
2020-03-22 12:29:36 -04:00
Jonathan Thomas
8b3167a99a Adding ability for a Clip to auto-detect and instantiate a Timeline Reader from the *.osp file type. Added new Timeline constructor, to auto load UTF-8 JSON file, and regex convert all paths to absolute. Fixed a dead lock issue when a Timeline loads another Timeline. 2020-03-09 16:49:06 -05:00
Jonathan Thomas
4f591c7b94 Merge pull request #396 from ferdnyc/json-parsing
Behind-the-scenes code tidying for Json data handling
2020-02-27 15:32:05 -06:00
Jonathan Thomas
4ddf775cdf Merge pull request #421 from ferdnyc/ffmpegwriter-opts
FFmpegWriter: Overload Set___Options() methods
2020-02-27 15:27:31 -06:00
Jonathan Thomas
6666702e80 Merge pull request #423 from ferdnyc/optimized-blur
Optimized, parallelized Blur effect
2020-02-27 15:19:25 -06:00
Frank Dana
fe8ea216f4 Merge pull request #437 from ferdnyc/hw-accel-ffmpeg34
Limit HW accel support to FFmpeg 3.4+
2020-02-14 12:11:09 -05:00
FeRD (Frank Dana)
895c2f0e24 FFmpegReader/Writer: Reformat example code
- Reduced crazy-long line lengths by moving trailing comments to
  previous line
- Added more openshot:: prefixing, which causes Doxygen to link to
  the referenced object's documentation. (It doesn't always pick
  up cross-class links, without the prefix.)
2020-02-14 12:07:02 -05:00
FeRD (Frank Dana)
7867cf01b8 Reorder arguments in setVideoOptions overload
- The new ordering (with the frame rate AFTER width and height) doesn't
  match the other signature, but it *is* consistent with the Timeline
  constructor, and it just feels more natural
- Added overloaded-function notes to doxygen strings in FFmpegWriter.h
- Also added a warning about the argument order mismatch above
2020-02-14 11:53:28 -05:00
albert-github
ba1155e44f Documentation error
Correcting small documentation error.
2020-02-10 15:35:58 +01:00
FeRD (Frank Dana)
e74d71f545 FFmpegReader/Writer: limit hwaccel to FFmpeg 3.4+
Add a new #define HAVE_HW_ACCEL, which is only set on FFmpeg 3.4+,
and use that to restrict the use of hw-accel features, leaving
IS_FFMPEG_3_2 to determine only whether code is compatible with
FFmpeg 3.2+.
2020-02-10 01:50:31 -05:00