Commit Graph

179 Commits

Author SHA1 Message Date
Jonathan Thomas
64d93404de Merge pull request #398 from ckirmse/fix_buffer_read
correctly calculate remaining_frame_samples
2020-01-02 14:29:51 -06:00
Jonathan Thomas
b8d3514ef6 Merge pull request #391 from ckirmse/fix_audio_crash
fix incorrect buffer size being passed to avcodec_fill_audio_frame
2020-01-02 14:28:35 -06:00
Chris Kirmse
d60678af0d correctly calculate remaining_frame_samples
- sometimes the output from the SWR_CONVERT is not the exact amount we asked for
- without this fix, the old code would sometimes read past the end of a buffer
- valgrind complained about the old code
- read https://stackoverflow.com/questions/39587839/libswresample-swr-convert-not-producing-enough-samples
2019-12-27 09:54:57 -08:00
Chris Kirmse
4806f2ff75 fix incorrect buffer size being passed to avcodec_fill_audio_frame
- most of the time the fixed number being sent in was large enough,
  but not always
- also added logging if avcodec_fill_audio_frame fails
2019-12-18 18:27:04 -08:00
FeRD (Frank Dana)
2c71ae49fc FFmpegWriter: Fixes for building with libav
- libav defines AV_CODEC_ID_HEVC but not AV_CODEC_ID_H265
- AVCodecContext->framerate was actually added in FFmpeg 2.2
  which corresponds to libavcodec 56.26
2019-12-11 05:42:41 -05:00
chad3814
27bfbbc24a FFmpegWriter: match option 'rc_buffer_size' (#377) 2019-11-29 19:07:09 -05:00
Jonathan Thomas
099c8cbb6d Fixing missing impementation of high quality scale mode in FFmpegWriter 2019-11-17 16:36:31 -06:00
Jonathan Thomas
d6a4cb1dec Moving back to SWS_BICUBIC for high quality mode (during export mostly). This provides a sharper image when enlarging images than SWS_LANCZOS, and only has a slight performance disadvantage. 2019-11-17 16:34:50 -06:00
FeRD (Frank Dana)
60f6ad652a FFmpegWriter.cpp: add std:: prefixes
New code added uses of `std::min`, `std::max`, `std::stoi`, and `std::pow`
2019-10-29 16:31:36 -04:00
Frank Dana
969e8320e6 Merge branch 'develop' into std-prefixes 2019-10-29 16:06:55 -04:00
K3A
29b7b321ba Merge branch 'develop' into develop 2019-10-23 14:17:01 +02:00
Frank Dana
8bde07682c Merge branch 'develop' into std-prefixes 2019-10-22 21:00:27 -04:00
FeRD (Frank Dana)
918122632c FFmpegWriter: Source formatting 2019-09-13 08:24:15 -04:00
Mario Hros
f981e38664 support for HEVC HW VAAPI encoding 2019-09-04 21:40:56 +02:00
FeRD (Frank Dana)
05a53784cb Merge branch 'develop' into std-prefixes 2019-08-17 16:07:24 -04:00
Frank Dana
e95d18476c Merge pull request #293 from ferdnyc/zmq-cleanup
Remove "dummy" args from ZmqLogger stragglers
2019-08-06 22:39:13 -04:00
FeRD (Frank Dana)
5fb9755353 Fix truncated output filenames in FFmpegWriter 2019-08-06 11:59:55 -04:00
FeRD (Frank Dana)
352fd6629a Remaining std:: prefixes 2019-08-04 23:51:02 -04:00
FeRD (Frank Dana)
f88fd7a47a FFmpegWriter: std:: prefixes 2019-08-04 23:10:59 -04:00
FeRD (Frank Dana)
c77f009038 Remove "dummy" args from ZmqLogger stragglers
I somehow missed a few calls, in #266.
2019-08-04 16:06:54 -04:00
FeRD (Frank Dana)
f29a6bcb27 Trim unnecessary args off logging calls 2019-07-03 14:14:02 -04:00
Jonathan Thomas
16bb22c238 Merge pull request #247 from SuslikV/patch-5
Add 2 new multiplexing presets for mp4, mov files
2019-06-21 15:25:55 -05:00
FeRD (Frank Dana)
9261f46772 More copyright, missed a few older ones 2019-06-11 06:51:37 -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