Commit Graph

21 Commits

Author SHA1 Message Date
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 5abc34015f Remove numpy from imports 2020-10-16 14:38:40 +00:00
Theelgirl 0a4996b184 Rename fvid_python.py to fvid.py 2020-10-13 14:33:48 +00:00
Theelgirl 98da71d85b Rename fvid.py to fvid_python.py 2020-10-13 14:17:04 +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
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
Theelgirl 83084dc456 Make pixel_bin_rep a string with literals
That way we don't have to call str() on pixel_bin_rep when adding bits, as literal constructions are faster than function calls iirc.
2020-10-08 13:59:24 +00:00
Theelgirl 1b76e8115b Fix type error 2020-10-08 13:38:31 +00:00
Theelgirl d656ae8ac1 Merge branch 'master' into patch-2 2020-10-08 13:26:17 +00:00
AlfredoSequeida ae1e53a899 Merge pull request #10 from dtaivpp/master
fixed output file naming issue
2020-10-08 05:33:01 -07:00
David Tippett b8c751186a Updated function definition for save bits to file 2020-10-07 19:47:50 -04:00
Theelgirl e3a17d5263 Prevent negative fractions also 2020-10-07 18:19:58 +00:00
Theelgirl 306436886b Prevent negative and decimal framerates 2020-10-07 18:13:52 +00:00
Theelgirl d56f957ce7 Allow a user to set framerate for encoding with -f
You might want to format line 203 over two lines. Also I made make_video's new framerate argument default to 1/5 in case it's ever called by a function besides main.
2020-10-07 16:05:21 +00:00
Theelgirl da69b90dc8 Define white and black outside the loops 2020-10-07 14:56:09 +00:00
David Tippett 69f634fa6a Merge remote-tracking branch 'upstream/master' 2020-10-07 10:24:31 -04:00
AlfredoSequeida e4478d4c11 structured setup.py 2020-10-07 07:14:32 -07:00