Packaging for PyPi#9
Conversation
|
Added in the CLI options, so it can now be run as |
|
Of note, I made the |
|
I really like the whole "motion-turned-colour" idea, so I also broke that into a standalone CLI tool, so now you can run: behaveai motion path/to/my-video.mp4
Output: path/to/my-video_motion.mp4
my-video.mp4
resolution: 1920x1080
frames: 13560
fps: 59.94
strategy: exponential
codec: mp4v
output: path/to/my-video_motion.mp4
[#############################-] 13531/13560 99.8%
written: 13558 frames in 217.4s (62 fps)
size: 981.9 MBIt also works by taking a folder as input, and then it returns a sister-folder - so if you give it You can also specify all the settings that that the function takes in. I've also added in some compression, so you can do: behaveai motion path/to/my-video.mp4 --compress
Output: path/to/my-video_motion.mp4
my-video.mp4
resolution: 1920x1080
frames: 13560
fps: 59.94
strategy: exponential
codec: mp4v
output: path/to/my-video_motion.mp4
[#############################-] 13531/13560 99.8%
written: 13558 frames in 217.4s (62 fps)
size: 981.9 MB
compressing: FFmpeg H.264 (crf=23)...
compressed: 104.8 MB (11% of original) |
yolo26 support plus delete function
c64b27c to
48a6aa9
Compare
I'm packaging up BehaveAI for PyPi. Here's a short summary of the changes:
behaveai/pyproject.tomlspecifies the build instructions, dependencies, etc..gitignorefileMight still need a few changes. Need to check that the current installation scripts still work, or adapt accordingly so that method doesn't break.