Commit Graph

2612 Commits

Author SHA1 Message Date
Jonathan Thomas
60805beec3 Adding support for detecting video_length (i.e. # of video frames) from the metadata, instead of calculating from duration * fps. This is occasionally different by a small amount, and in my testing, the metadata is more accurate. 2022-09-02 01:09:00 -05:00
Jonathan Thomas
61b2221898 Merge pull request #844 from OpenShot/snapping-precision
Fixing transition end frame calculation
2022-08-27 19:47:25 -05:00
Jonathan Thomas
d0a3002808 Fixing transition end frame calculation 2022-08-27 16:59:14 -05:00
Jonathan Thomas
c23a9b1b54 Merge pull request #843 from OpenShot/improved-caption-background
Improving Caption Effect (centering, background color, line spacing...)
2022-08-24 17:12:47 -05:00
Jonathan Thomas
fd1043be5a Fixing many caption related issues:
- background color now sticks to the text
- background border now scales correctly (at different resolutions)
- background padding now scales correctly
- stroke size now scales correctly
- margins are now defaulted to 15% on left/right
- text caption area now centers between available left/right margins
- background color can now be faded in and out, animated
- new property: line_spacing, a % from 1.0 (100%) to affect how much space are between lines
- Use each font's default lineSpacing, instead of a fixed distance between lines. This property can be adjusted with the new line_spacing keyframe.
2022-08-23 23:21:38 -05:00
Jonathan Thomas
02bd896681 Merge pull request #837 from OpenShot/improved-pts-support
Improved PTS support (presentation time stamps)
2022-08-17 22:57:32 -05:00
Jonathan Thomas
0419f2c2a7 Fixing some whitespace issues 2022-08-17 22:14:36 -05:00
Jonathan Thomas
02c256cda5 Fixed FrameMapper::info::video_length after calling FrameMapper::ChangeMapping(). Added some unit tests to verify. 2022-08-03 16:14:00 -05:00
Jonathan Thomas
2f145234da Fixing more whitespace and wrapping issues. Also removed some audio pts debug code. 2022-07-27 16:54:59 -05:00
Jonathan Thomas
c5f166a472 Removing debug log lines and more whitespace issues 2022-07-27 16:44:01 -05:00
Jonathan Thomas
7c6e20d551 Removing test code from CMaketest 2022-07-27 16:37:04 -05:00
Jonathan Thomas
694d86a41b Cleanup of debug logs and other whitespace issues 2022-07-27 16:33:01 -05:00
Jonathan Thomas
5ee38518da Experimental: Adding some fsanitize flags, a new example exe, a mutex on FFmpegReader::Close, and some additional clean-up code on AddImage (when a previous image exists) 2022-07-27 15:33:40 -05:00
Jonathan Thomas
01d16fe04a Experimental: Adding more QImage clean-up logging, to track buffer addresses 2022-07-26 21:40:28 -05:00
Jonathan Thomas
2c193463ce Experimental: No QImage cleanup 2022-07-26 17:07:54 -05:00
Jonathan Thomas
0164bd28be Experimental: Change method of copying QImage from previous frames to use qimage.copy method. 2022-07-26 15:40:57 -05:00
Jonathan Thomas
f2852e8c34 Experimental: additional logging around AddImage() calls 2022-07-26 15:21:25 -05:00
Jonathan Thomas
89321d3bae Experimental: adding debug logging to Frame destructor and QImage cleanup. Also, preventing processing of empty samples 2022-07-26 15:09:57 -05:00
Jonathan Thomas
285059baad Experimental: adding debug symbols 2022-07-25 17:24:35 -05:00
Jonathan Thomas
297349033e Experimental FFmpegReader::Close changes, adding new drain decoder logic on Close 2022-07-25 16:27:31 -05:00
Jonathan Thomas
68f273d9d1 Experimental FFmpegReader::Close changes 2022-07-23 19:44:01 -05:00
Jonathan Thomas
3883d2d8aa Experimental FFmpegReader::Close changes 2022-07-23 18:47:42 -05:00
Jonathan Thomas
70bf0ade98 Refactoring FFmpegReader::Close, trying to prevent a crash on Windows 2022-07-22 18:00:28 -05:00
Jonathan Thomas
54971bac84 Removing some logic in FFmpegReader::Close which clears the video and audio stream - which can cause a crash if the decoder is still working on a packet. Reverting this code. 2022-07-22 17:04:52 -05:00
Jonathan Thomas
156fed2f49 Adding debugging to FFmpegReader::Close and removing a discard property that is probably unneeded 2022-07-22 16:50:02 -05:00