Commit Graph

188 Commits

Author SHA1 Message Date
eisneinechse
e03cd87373 Initial svt-hevc (h.265) encoder support added 2020-02-17 10:56:00 -08:00
eisneinechse
6711c9c788 Minor improvements 2020-02-16 19:16:45 -08:00
eisneinechse
f63c1e0a65 Newer codecs 2020-02-16 10:00:18 -08: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
Jonathan Thomas
4e91a2acf3 Merge pull request #387 from ferdnyc/switch-enums
Ensure switch statements on enums cover all values
2020-01-02 14:38:08 -06:00
Jonathan Thomas
8c91db610e Merge pull request #389 from ferdnyc/sign-compare
Don't compare differently-signed types
2020-01-02 14:37:09 -06:00
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
FeRD (Frank Dana)
cbf1f17059 Merge branch 'develop' into sign-compare 2019-12-25 16:35:04 -05: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)
e502f97d8a Don't compare differently-signed types 2019-12-15 14:22:59 -05:00
FeRD (Frank Dana)
bd4d2bfdc4 Cover all values in switch(enum_type) 2019-12-15 12:40:32 -05: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