#+TITLE: Utility for tagging movie files
~tagmov~ is a utility program for tagging movie files
with things like progress bar and texts. When given
multiple inputs, combines them (stacks horizontally)
into one video.
* Getting Started
=Common Lisp= implementation (tested with SBCL), =Quicklisp=,
=make= and =ffmpeg= are required. =ffmpeg= must be compiled
with support for drawing text. Also, the default font used
is =IBMPlexMono-Bold.ttf=, so that should be installed, or
another font should be defined using the ~font-file~ option.
Get sources and build by issuing commands:
git clone https://github.com/octaspire/tagmov.git
Please note that these examples require movie files
=video01.mp4= and =video02.mp4= to be present in
the current working directory.
If using a video with different name or different format,
please use the correct name in the following commands.
*** One Input
This adds a red progress bar and three texts to the video:
./tagmov --font-color blue --text '1 3 10 10 Text at (10,100) during 1s-3s' \
--text '2 3 10 60 This text is shown between 2s-3s' \
--font-color red --font-size 40 \
--text '1 3 10 110 This is in red and different size' \
--input video01.mp4 --bar red
*** Two Inputs
This combines the two given videos horizontally and adds two texts
into the result. Note how the ~x~-coordinate of the second text
is calculated using expression ~W-200~; this puts the text to
start 200 pixels from the right side of the video. This way
there is no need to calculate the position by adding the widths
of the different input videos manually. Note also, that there can
be more than two videos.
./tagmov --font-color red -i video01.mp4 -i video02.mp4 \
--text "1 3 100 100 BEFORE" \
--text "1 3 W-200 100 AFTER"
The font and text size can also be changed. So can the
height of the progress bar. Font, size and color settings
are in effect as long as they are not changed.
See all available options with command ~tagmov --help~.
Octaspire tagmov - Utility for tagging video files
Copyright 2020 octaspire.com
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.