Frank Dana
adab668486
Merge branch 'develop' into ffmpeg-writer
2020-07-08 17:26:38 -04:00
eisneinechse
6114be5e0f
Fixed typo
2020-07-07 10:20:48 -07:00
eisneinechse
9ef8f8478e
Formating
2020-07-07 10:14:02 -07:00
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
FeRD (Frank Dana)
999887687c
FFmpegWriter: Free any old context before clobbering
...
valgrind caught that AVFORMAT_NEW_STREAM() could be leaking pointers
when calling avcodec_alloc_context3(), if there's an existing context
already assigned. So we check and free it first, if necessary.
2020-03-22 12:29:36 -04:00
FeRD (Frank Dana)
f9a91a5a92
FFmpegWriter: Replace AVRational casts with av_make_q()
...
Some compilers balk at the compound initializers in the cast form
2020-03-22 12:29:36 -04:00