Commit Graph

976 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
9261f46772 More copyright, missed a few older ones 2019-06-11 06:51:37 -04:00
FeRD (Frank Dana)
f170fdd009 Update copyright range to current year 2019-06-11 06:48:32 -04:00
SuslikV
be7db11480 Add streamable file format options for mp4, mov
Add 2 new multiplexing presets for mp4, mov files:
mp4_faststart
mp4_fragmented

The Preset usage from openshot-qt export.py as follows (example):
w.SetOption(openshot.VIDEO_STREAM, "muxing_preset", "mp4_faststart")

YouTube suggest to use streamable file formats to process the uploading
videos faster (by starting its processing when upload not yet complete)
MP4, MOV files export requires additional dictionary keys to be set in
this case.
2019-06-11 10:49:45 +03:00
FeRD (Frank Dana)
0327c2ab5c Remove license block from documentation comment 2019-06-09 08:31:04 -04:00
Jonathan Thomas
722d672f58 Update Frame.cpp 2019-06-08 12:52:35 -05:00
Jonathan Thomas
438b2c333e Update Frame.cpp 2019-06-08 12:21:56 -05:00
Jonathan Thomas
2be5e5e168 Fixing crash on certain hardware accelerator modes (specifically decoder 2, device 0) 2019-06-04 13:42:46 -05:00
Jonathan Thomas
13e74b147a Adding new CheckPixel method to validate a specific pixel color 2019-05-31 19:02:28 -05:00
Chris Kirmse
25e51d815e free cache in FrameMapper::Close()
- this hugely reduces the memory used by rendering a timeline
  with a lot of clips
- could be related to issue #239
2019-05-30 09:44:39 -07:00
Chad Walker
fab70dde1e plug another small leak 2019-05-15 10:27:48 -05:00
Jonathan Thomas
4a3985e209 Updating comment 2019-05-14 00:20:32 -05:00
Jonathan Thomas
9ffd6a6f75 Fixing crash when destructing Timeline/Clips/FrameMapper 2019-05-13 23:55:03 -05:00
Jonathan Thomas
968e472c73 Tweak how Timeline manages the cache object (sometimes itself, and sometimes by the user if they call SetCache) 2019-05-13 17:11:40 -05:00
Jonathan Thomas
bd21d1a751 Fixing crash on Timeline::Close due to deleted FrameMappers 2019-05-13 16:18:15 -05:00
Siarhei Parfianiuk
cbc276e489 Merge branch 'develop' into develop 2019-05-11 12:30:19 +02:00
Chris Kirmse
8ea0af59c6 fix allocations to be done the same for ffmpeg < 3.2
- fixes freeing an invalid pointer on old ffmpeg
- now all tests pass
2019-05-10 11:39:26 -07:00
Chris Kirmse
d5a29500a5 change freeing of frame_mappers allocated in Timeline
- each class is now responsible to free whatever it allocates
- all tests passed on my machine with ffmpeg 3.2
- Clip is now more careful about freeing a reader if it allocated it as well
2019-05-09 10:51:40 -07:00
Chris Kirmse
833fcb8e8e fix a number of memory leaks
- some were with libav functions
- same were due to non-virtual destructors
2019-05-08 15:02:33 -07:00
Jonathan Thomas
d23197c9b6 Updating hwaccel table to use emojis (instead of words) take 3 2019-05-08 14:00:55 -05:00
eisneinechse
c55d8551c1 Simplification
Further simplify the else branches.
Thanks to SuslikV for pointing this out.
2019-05-05 18:18:14 -07:00
eisneinechse
bfa8a83864 The default return value is present
Remove else so that the default return value is used if no other return was used."else if" in line 334 had no else and therefore in some cases no return value was present.
2019-05-03 13:13:45 -07:00
FeRD (Frank Dana)
626a2f73f5 Python: Assume /usr/local prefix on Debian
If we're using the fallback path detection method on Debian, we
shouldn't compute the install path relative to `${CMAKE_INSTALL_PREFIX}`
since it _isn't_. So, we assume it's relative to `/usr/local` instead.
2019-05-02 20:46:34 -04:00
Jonathan Thomas
eab0bbbe18 Revert "Update Python install path detection" 2019-05-02 14:19:14 -05:00
Jonathan Thomas
5225deb156 Merge pull request #222 from ferdnyc/debian-pybuild
Update Python install path detection
2019-05-02 14:03:02 -05:00
Jonathan Thomas
68d6d6315b Merge branch 'develop' into debian-pybuild 2019-05-02 13:28:10 -05:00