Commit Graph

110 Commits

Author SHA1 Message Date
Theelgirl 69b64cca77 Vastly speed up cython; misc other changes 2021-03-09 08:19:25 -08:00
Theelgirl 456e0fd78e Update docs 2021-03-02 10:50:03 -08:00
Theelgirl f234de67d9 Add -y option; Update tests 2021-03-02 10:48:33 -08:00
Theelgirl 5ddfe39728 Add Cython C++ 2021-03-02 10:09:38 -08:00
Theelgirl 03946ac188 Update docs; Add WIP testing; Speed up Cython 2021-03-02 10:09:07 -08:00
Theelgirl 6a80201c18 Speed up h265 binary decoding by ~5% 2021-02-26 10:49:04 -08:00
Theelgirl 4affd7bf51 Speed up ffmpeg part of H.265 encoding/decoding
At the expense of a bit of video size (~5% bigger files). This will cause files previously encoded with the H.265 codec to be incompatible. Since H.265 is still an experimental feature though and hasn't been released to PyPi, this will not be a major version bump.
2021-02-26 10:55:59 -05:00
Theelgirl c6263c55b4 Accidentally put comma in wrong spot 2021-02-26 07:52:46 -08:00
Theelgirl a38fa04396 Fix #38 - No such file or directory: _temp.mp4 2021-02-26 07:51:25 -08:00
Theelgirl 3dd98bcbae Update changelog 2021-02-25 10:59:48 -08:00
Theelgirl 4531155131 Update pyx 2021-02-25 10:57:46 -08:00
Theelgirl b1f7758e1e Update requirements.txt 2021-02-25 10:53:41 -08:00
Theelgirl c99c8858ee Add H265 and Zfec 2021-02-25 10:52:28 -08:00
Theelgirl 2726bf9489 Update Docs 2021-02-25 10:50:49 -08:00
Theelgirl 72b7c24ee1 Create requirements.txt 2021-02-22 14:34:27 -05:00
Theelgirl b4e1c9ec84 docs 2021-02-21 11:24:44 -08:00
Theelgirl 13d166b9ce docs 2021-02-21 11:24:12 -08:00
Theelgirl c8be962f88 Update CHANGELOG.md 2021-02-21 13:19:41 -05:00
AlfredoSequeida 5602f1b598 replaced pickle logic with json to avoid possible vulnerability 2021-02-20 11:52:12 -08:00
AlfredoSequeida 9d5680e360 documented code, formatted using PEP 8 style guide, and made use of type hinting 2021-02-19 17:07:36 -08:00
AlfredoSequeida 7ebe8f23db changed version to reflect with the changelog 2021-01-17 00:13:16 -08:00
Theelgirl 3f61c92c7b Formatting 2021-01-16 21:54:42 -05:00
Theelgirl 8de3749889 Remove 1.0.1 as 1.0.0 was never published 2021-01-16 21:54:24 -05:00
Theelgirl 0ebec491b5 Attempt syntax error fix 2021-01-15 21:28:20 -05:00
Theelgirl 4a7744c463 Merge pull request #29 from dobrosketchkun/patch-1
minor update README
2020-10-29 12:57:01 +00:00
Wisketchy Dobrov 56dd72eb42 update README
We shouldn't use framerate values in the readme, which doesn't work.
2020-10-29 13:45:19 +03:00
Theelgirl 078c8739a4 Bring up-to-date with the .pyx 2020-10-29 01:02:02 +00:00
Wisketchy Dobrov 1a9f48e8c5 minor patch, _temp.mp4 video quality (#28) 2020-10-29 01:00:57 +00:00
Theelgirl 6eeff2c8a3 Remove unneeded lines 2020-10-28 17:10:54 +00:00
Theelgirl 0c4f5602e3 Last try to not require C++ Build Tools
Blanket exceptions are horrible, but this is more of a monkey patch than a permanent fix.
2020-10-28 17:07:15 +00:00
Theelgirl 0bf43086c8 Typo 2020-10-28 16:52:04 +00:00
Theelgirl 94c0b47366 Update setup.py 2020-10-28 16:50:01 +00:00
Theelgirl af49aa187b Don't require Cython for setup, as that should be optional 2020-10-28 16:44:35 +00:00
Theelgirl cce378423f Put brackets on wrong line 2020-10-28 16:42:55 +00:00
Theelgirl 3ed5d5f3b3 Fix "Extension not iterable" error 2020-10-28 16:34:46 +00:00
Theelgirl e8362ec7e6 Remove unnecesary logic
This results in a nearly 20% speedup for the get_bits_from_image function. Cython is now only 40% faster than Python, and FFmpeg is now the major bottleneck in code. I have reason to believe this function is close to maximal optimization, unless it is rewritten to scan multiple pixels at a time (which might not work because bits need to be in sequential order) or use a different method to load pixels.
2020-10-28 14:56:17 +00:00
Theelgirl 351d5eb0dd Remove unnecessary logic
Tiny speedup for Cython, but it'll be a huge speed for the Python version.
2020-10-28 14:49:09 +00:00
Theelgirl b884d3c067 Create CHANGELOG.md 2020-10-28 14:47:25 +00:00
Theelgirl 18838f1ddd Bump version to 1.0.1 2020-10-28 14:00:12 +00:00
Theelgirl 0c37efef6c Works on 3.9
Also made sure users have recent(ish) package versions
2020-10-28 13:59:44 +00:00
Wisketchy Dobrov ab7b9d4b33 Youtube videos framerate fix (#26) 2020-10-28 13:51:33 +00:00
Theelgirl 696588f7f0 Add framerate and password examples 2020-10-25 23:03:48 +00:00
Theelgirl 94868e48dd Merge pull request #21 from Theelgirl/patch-1
Add Cython and Password Support
2020-10-25 18:55:32 -04:00
Theelgirl f5b5c035ae Update version to 1.0.0
Password commits make it incompatible with 0.0.2 and 0.0.1.
2020-10-25 22:54:54 +00:00
Theelgirl b54141ed56 Revert broken tuning for ffmpeg 2020-10-25 22:53:18 +00:00
Theelgirl 8cc2946191 Massive Python and ffmpeg speedups
More than doubled the python decoding speed for get_bits_from_image, and sped up ffmpeg about 33-50% by tuning for zerolatency.
2020-10-25 19:09:50 +00:00
Theelgirl d16632ed03 Update fvid_cython.c 2020-10-25 18:04:31 +00:00
Theelgirl 90340c5c8a Type more stuff for a 2% speedup 2020-10-25 18:04:04 +00:00
Theelgirl 87ccfb535f Speedup 35-40% over the previous speedup
Removing a python call to all(), which forced conversion of a ctuple to a python tuple, and removing white_diff and black_diff ctuple creation because I can fit all of their use cases into a single if statement.
2020-10-25 02:00:36 +00:00
Theelgirl 59ccb531e5 Update and rename fvid_cython.cpp to fvid_cython.c 2020-10-17 15:34:01 +00:00