This repository provides a fast and efficient solution for replacing the default Sora watermark with your own social media watermark. The best part? No neural networks or AI required - just simple, effective processing.
The script automatically detects the standard Sora watermark position and replaces it with your custom social media handle/watermark using traditional computer vision techniques.
-
Place your video file named
input.mp4in the project root directory -
Run the watermark replacement script:
python hide_watermark.py
-
Your processed video will be saved as
output.mp4in the project folder -
You can also use command-line arguments:
-ior--input— path to input video-oor--output— path to output video-for--force_type— force specific watermark type (0 = auto-detect)
Example:
python hide_watermark.py -i input.mp4 -o result.mp4 -f 2
Check out these demonstration files included in the repository:
input.mp4
output.mp4
- Lightning-fast processing (no heavy AI models)
- Simple one-command operation
- Preserves original video quality
- Easy customization of watermark text/position
- No external dependencies or API keys required
Edit the hide_watermark.py file to customize:
- Your social media handle/text
- Watermark position, size, and style
- Font properties and opacity