Commit Graph

85 Commits

Author SHA1 Message Date
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
Theelgirl 048cf66e99 Speedup by 40-45% 2020-10-17 15:33:12 +00:00
Theelgirl db8e45547c Remove unneeded imports 2020-10-17 14:51:52 +00:00
Theelgirl b8aab510bd Add pycryptodome 2020-10-16 18:17:49 +00:00
Theelgirl 4b8b10d217 distro is no longer needed 2020-10-16 17:47:15 +00:00
Theelgirl ae7935dec0 New method for importing main
Leaving the old method in there in case this doesn't work
2020-10-16 17:46:07 +00:00
Theelgirl 1105a8485f Update setup.py 2020-10-16 14:39:46 +00:00
Theelgirl 5abc34015f Remove numpy from imports 2020-10-16 14:38:40 +00:00
Theelgirl 1c04aea5a0 Add comments and fix Artix Linux 2020-10-15 20:07:09 +00:00
Theelgirl fadffdf182 Add distro module to dependencies 2020-10-15 20:00:24 +00:00
Theelgirl 0a4996b184 Rename fvid_python.py to fvid.py 2020-10-13 14:33:48 +00:00
Theelgirl 36e939c451 Update __main__.py 2020-10-13 14:33:33 +00:00
Theelgirl 9a42cb9dbf Update setup.py 2020-10-13 14:26:32 +00:00
Theelgirl e9f8ae1da3 Update __main__.py 2020-10-13 14:17:36 +00:00
Theelgirl 98da71d85b Rename fvid.py to fvid_python.py 2020-10-13 14:17:04 +00:00
Theelgirl 9e50624d13 Create fvid_cython.cpp 2020-10-13 13:40:09 +00:00
Theelgirl 701b61bed1 Update setup.py 2020-10-13 13:39:47 +00:00
Theelgirl e2ba62e976 Create cythonizer.py 2020-10-13 12:20:00 +00:00
Theelgirl f3ee6b0355 Update setup.py 2020-10-13 12:18:23 +00:00
Theelgirl 676ae0cc7e Create fvid_cython.pyx 2020-10-13 12:15:56 +00:00
Theelgirl a51da7dd51 Add Cython and Password Support
This combines the password and Cython PRs into one.
2020-10-13 12:14:39 +00:00
AlfredoSequeida 0e1eac766b Merge pull request #14 from Theelgirl/patch-1
Make pixel_bin_rep a string with literals
Speed optimizations
2020-10-09 13:53:38 -07:00
Theelgirl 2f99fe3a2f Forgot import 2020-10-09 18:13:06 +00:00
Theelgirl b0201a8342 Forgot a function 2020-10-09 17:22:40 +00:00
Theelgirl 018c86711f 4x speed of 2 bottleneck lines by removing numpy
Also double the speed of one more bottleneck line by removing numpy. tuple(map()) is amazing!
2020-10-09 16:45:14 +00:00
Theelgirl b9eee98a25 Major optimization by removing calls to tuple()
This brought the time taken by get_bits_from_image from 6.35 seconds to 4.9 seconds on my processor!
2020-10-08 14:45:08 +00:00