Skip to main content

OpenCV based video Marker utility

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

video_marker-0.6.0.tar.gz (16.2 kB view details)

Uploaded Source

File details

Details for the file video_marker-0.6.0.tar.gz.

File metadata

  • Download URL: video_marker-0.6.0.tar.gz
  • Upload date:
  • Size: 16.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.8.10

File hashes

Hashes for video_marker-0.6.0.tar.gz
Algorithm Hash digest
SHA256 4cae6cd2c25d7801c5dcd775078eaefc233653d17b8c7b191aec7f2420ba7328
MD5 6c26becd4d67d9b2b4bd8d7909f67cb7
BLAKE2b-256 94beb3cebfa3b8c22e6e471d3c93ebdacce221f533c1bdbc0f0361b7bf5cabd7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page