Security News
38% of CISOs Fear They’re Not Moving Fast Enough on AI
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Enhance your video with color filters. This Python project helps you to apply a color filter to your Instagram reel or any other social platforms like TikTok, YouTube, Facebook, etc. All formats are supported (reels, shorts, 4k, etc.). The output video is in mp4 format.
original | grayscale | warm |
---|---|---|
cool | red_only | invert_red_green |
---|---|---|
Run the following command in the terminal to install the package:
pip install video-filter
Brightness and saturation are both set to 0.0 by default, meaning the video will be unchanged.
x | Brightness -1.0 | Brightness 0.0 | Brightness +1.0 |
---|---|---|---|
Saturation -1.0 | |||
Saturation 0.0 | |||
Saturation +1.0 |
from video_filter import VideoFilter
vf = VideoFilter(brightness=1.0, saturation=0.0)
vf.process_video("examples/video_1.mp4", "output.mp4")
Original | Sepia filter at 50% strength | Sepia filter at 100% strength |
---|---|---|
from video_filter import VideoFilter
vf = VideoFilter(filter_name="sepia", filter_strength=0.5)
vf.process_video("examples/video_2.mp4", "output.mp4")
Original | Custom filter |
---|---|
from video_filter import VideoFilter
import numpy as np
# Matrix (3x3) vector (3x1) [b, g, r]) multiplication
filter_matrix = np.array([
[0.7, 0.0, 0.1], # Blue
[0.2, 1.0, 0.3], # Green
[0.4, 0.2, 1.2] # Red
])
vf = VideoFilter(
custom_matrix=filter_matrix,
filter_strength=0.6,
brightness=0.8
)
vf.process_video("examples/video_1.mp4", "output.mp4")
FAQs
Enhance your video with filters.
We found that video-filter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.
Security News
Company News
Socket is joining TC54 to help develop standards for software supply chain security, contributing to the evolution of SBOMs, CycloneDX, and Package URL specifications.