Commit Graph

214 Commits

Author SHA1 Message Date
eisneinechse
3157d75747 Leave the values for qmin and qmax at their default values except
for mpeg2. Changing them for the other codecs resultet in exporting
with the wrong bitrate.
2020-07-02 16:54:32 -07:00
Jonathan Thomas
73d1689414 Merge pull request #525 from eisneinechse/develop
Improvements to handling of new codecs
2020-06-15 18:49:16 -05:00
eisneinechse
056a72fa17 Fix indentation (2) 2020-06-15 14:41:38 -07:00
eisneinechse
3dfcea1dd5 Fix indentation 2020-06-15 14:33:14 -07:00
eisneinechse
c037d5c01d Update src/FFmpegWriter.cpp
We might want to leave some kind of comment though. The encoders will (probably) get these options (soon).

Co-authored-by: Jonathan Thomas <jonathan@openshot.org>
2020-06-15 14:07:09 -07:00
eisneinechse
bf0e700ae7 Update src/FFmpegWriter.cpp
Co-authored-by: Jonathan Thomas <jonathan@openshot.org>
2020-06-15 14:05:43 -07:00
eisneinechse
2491d402df Update src/FFmpegWriter.cpp
I should take more care of the comments.

Co-authored-by: Jonathan Thomas <jonathan@openshot.org>
2020-06-15 14:04:49 -07:00
eisneinechse
91647e6d0b Update src/FFmpegWriter.cpp
Perfect. I forgot that comment.

Co-authored-by: Jonathan Thomas <jonathan@openshot.org>
2020-06-15 14:03:29 -07:00
eisneinechse
4e2c08db88 Update src/FFmpegWriter.cpp
Thanks for fixing that

Co-authored-by: Jonathan Thomas <jonathan@openshot.org>
2020-06-15 14:02:26 -07:00
Jonathan Thomas
7b94ac838b Removing bad suggestion. In theory, we could change this signature to take a const reference to a string, but for now, I'm reverting it. 2020-06-05 18:07:25 -05:00
Jonathan Thomas
51fe8549e6 Fix regression caused by Codacy tweaks 2020-06-05 17:53:21 -05:00
Jonathan Thomas
86b83abf5d Fixing undefined got_packet int 2020-06-05 15:41:23 -05:00
Jonathan Thomas
62d7fb5459 Changing some libopenshot code based on Codacy feedback. Small refactoring, scope limiing. 2020-06-04 18:52:19 -05:00
eisneinechse
f4b40a4e77 Improvements to handling of new codecs 2020-06-04 08:28:33 -07:00
Jonathan Thomas
2834e7731b Merge pull request #445 from eisneinechse/develop
Newer codecs (svt_av1, rav1e, svt_hevc)
2020-06-02 14:50:01 -05:00
eisneinechse
d9e6af5cda Refert last commit 2020-06-02 11:35:07 -07:00
Jonathan Thomas
7ed26cf022 Replace _Pragma with #pragma
Co-authored-by: Frank Dana <ferdnyc@gmail.com>
2020-06-02 13:30:05 -05:00
eisneinechse
93d12e7f14 Include data for fps in clip created by ffmpeg 4+ 2020-06-02 08:53:39 -07:00
Jonathan Thomas
e4dd72669f Fix FPS setting on FFmpeg 4, which currently is not setting a valid FPS. 2020-06-01 13:24:07 -05: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
SuslikV
c28a8bf4ed Fix float to int16_t conversion
Float values after mix or gain applied can exceed the (1.0; -1.0)
range. This caused distortion in audio instead of limiting values
at max.
2020-03-16 14:41:49 +02:00
eisneinechse
6476f930bb Simplify fix for RAWVIDEO handling for ffmpeg 4+ 2020-03-01 17:10:39 -08:00
eisneinechse
ddd52460e1 Fix handling of RAWIMAGE under ffmpeg 4 2020-03-01 16:59:06 -08: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
eisneinechse
e03cd87373 Initial svt-hevc (h.265) encoder support added 2020-02-17 10:56:00 -08:00