Skip to content

peppelinux/video-marker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Video Marker

Video Marker is a python application based on OpenCV that can automate the following tasks:

  • video recording from a webcam or any other OpenVC VideoCapture source
  • prepend a video before your video record starts
  • append a video after your video record ends
  • add a watermark image
  • save to a file

Setup

pip install video-marker

Documentation

video_marker -h

Usage examples

Monitor your webcam, press q key on the keyboard or CTRL+c

video_marker --video-cap 0 --monitor

Add watermark to your webcam

video_marker --watermark-fpath 'assets/logo.png' --monitor

A quite complete example

video_marker --watermark-fpath 'assets/logo.png' --monitor --pre-media assets/intro.mp4  --post-media assets/intro.mp4  --watermark-size 50

You can stop the video recording gracefully, with SIGTERM signal kill -SIGTERM $(ps a | grep video_marker | grep python | awk -F' ' {'print $1'} | xargs kill -SIGTERM).

License

ses LICENSE file.

Author

Giuseppe De Marco

About

Add a Watermark image to your video record, prepend or append an intro/outro movie, in realtime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published