Commit Graph

976 Commits

Author SHA1 Message Date
FeRD (Frank Dana)
9b9e4a7008 CMakeLists: Also detect cppzmq
We don't _just_ use the ZeroMQ library, we also use the cppzmq bindings.
Previously we weren't detecting for those at all. This adds a check for
its configs, and adds its target to the openshot target linking (even
though it's a header-only library).
2019-09-15 09:21:01 -04:00
FeRD (Frank Dana)
ee618a0c5c Example.cpp: Finish indentation cleanup 2019-09-13 11:22:30 -04:00
FeRD (Frank Dana)
918122632c FFmpegWriter: Source formatting 2019-09-13 08:24:15 -04:00
FeRD (Frank Dana)
7fc214d803 openshot-example: Path fixes
Instead of the hardcoded `/home/jonathan/...` input path, load the input file from TEST_MEDIA_PATH, defined as in `tests/CMakeLists.txt`
2019-09-13 07:48:57 -04:00
FeRD (Frank Dana)
e3b6478a0b FFmpegReader: Fix hardware device message
- Don't precede with two blank lines
- "Decodiing" was misspelled
- Less cryptic text
2019-09-13 07:43:46 -04:00
FeRD (Frank Dana)
756e3a4abe Example.py: Remove useless import sys
Codacy pointed out that there's absolutely no reason to be
importing the sys module in this code.
2019-09-12 00:13:53 -04:00
FeRD (Frank Dana)
b8bb1a88f8 A more Pythonic openshot.Fraction
Extend openshot::Fraction in the Python wrapper, to permit:
```py
f = openshot.Fraction(16, 9)
float(f) # returns 1.777777777
int(f) # returns 2
print(f) # outputs "16:9"
dict(f.GetMap()) # in Python dict form
2019-09-07 17:06:04 -04:00
FeRD (Frank Dana)
8cb87c062f Add src/examples/Example.py 2019-09-04 21:44:06 +02:00
SuslikV
5621712388 Fix return type mismatch 2019-09-04 21:44:06 +02:00
Mario Hros
f981e38664 support for HEVC HW VAAPI encoding 2019-09-04 21:40:56 +02:00
FeRD (Frank Dana)
6ba4066cd7 Add src/examples/Example.py 2019-08-27 22:10:54 -04:00
FeRD (Frank Dana)
291719ff05 Effects: No "" file_path args to exceptions 2019-08-27 15:48:46 -04:00
FeRD (Frank Dana)
366ff2c5e6 src: Don't pass "" file_path args to exceptions 2019-08-27 15:47:39 -04:00
FeRD (Frank Dana)
7c48bec484 HTML examples: Code updates
- Use same `html_code` and `css_code`
- Sync up offsets and gravity (BOTTOM_RIGHT)
- Create 1280x720 frames
- Generate 100 frames of output video
2019-08-25 23:54:28 -04:00
Frank Dana
67934675eb Merge branch 'develop' into std-prefixes 2019-08-25 04:05:58 -04:00
SuslikV
16ca3aef32 Fix return type mismatch 2019-08-24 11:36:21 +02:00
FeRD (Frank Dana)
c4a6ead569 FFmpegReader: Detect interlaced video
Move interlace detection to UpdateVideoInfo() so it'll be done
before we read any frames, and use the field_order member of the
codec attributes (an AVFieldOrder enum) as the data source.
2019-08-20 04:32:47 -04:00
FeRD (Frank Dana)
05a53784cb Merge branch 'develop' into std-prefixes 2019-08-17 16:07:24 -04:00
Frank Dana
857297abdf Merge pull request #288 from SuslikV/patch-5
Fix crash during seeking at the start of the file
2019-08-17 14:13:45 -04:00
FeRD (Frank Dana)
0048294528 ExampleHtml.py cleanup
* Remove semicolons from cut-and-paste C++ code
* Write output file to current directory
* More readable formatting
2019-08-14 12:19:54 -04:00
FeRD (Frank Dana)
74869ffa70 ExampleHtml.cpp cleanup
* Change writer var from 'w9' to 'w'
* More descriptive output filename
* Write output file to current directory
* More readable formatting
2019-08-14 12:19:04 -04:00
FeRD (Frank Dana)
bcaa9ace98 QtText/QtHtmlReader: Don't leak memory in SetJson 2019-08-14 11:40:29 -04:00
FeRD (Frank Dana)
0d067b33a3 new ExampleHtml.py and updated ExampleHtml.cpp 2019-08-14 10:22:29 -04:00
FeRD (Frank Dana)
74c9869c96 Python & Ruby bindings for new Readers 2019-08-14 10:21:57 -04:00
Jeff Shillitto
0ee9ed8e3a Delete image on close 2019-08-14 22:38:41 +10:00