https://github.com/drorhilman/video_automation1
This Python script allows you to manipulate video frames using OpenCV. It provides various functionalities to adjust video properties like zoom, sharpening, contrast, and more. Additionally, it comes with a Tkinter-based GUI for easier interaction.
- OpenCV (
cv2
) - NumPy (
numpy
) - tqdm (
tqdm
) - Tkinter (
tkinter
)
- Zoom: Adjust the zoom level of the video frames.
- Sharpen: Sharpen the video frames.
- Contrast: Adjust the contrast level.
- Saturation: Modify the saturation level.
- Shadow: Add shadows to the video frames.
- Highlight: Add highlights to the video frames.
- Adjust the speed of the video.
- Resize the frames.
- UI sliders for real-time adjustments.
To use this script, clone the repository and run main()
from the script.
- Clone the repository
- Navigate to the directory where the script is located.
- Run the script:
python script_name.py
- Source Path: Directory containing the video files to be processed.
- Target Path: Directory where the processed video files will be saved.
- Speed, Zoom, Sharpen, Contrast, Saturation, Shadow, Highlight: Adjust these parameters using sliders in the GUI.
- Width and Height: Set the dimensions for the output video frames.
The processed videos will be saved in the directory specified in the "Target Path" field.