--rebuild Do not flag commercials, just rebuild the seektable.
Advanced Options:
--force Force operation, even if program appears to be in
use.
--outputfile File to write commercial flagging output [debug].
Input Options:
-f OR --file Specify file to operate on.
--video Rebuild the seek table for a video (non-recording)
file.
Logging Options:
--loglevel Set the logging level. All log messages at lower
levels will be discarded.
In descending order: emerg, alert, crit, err,
warning, notice, info, debug
defaults to info
--logpath Writes logging messages to a file in the directory
logpath with filenames in the format:
applicationName.date.pid.log.
This is typically used in combination with --daemon,
and if used in combination with --pidfile, this can
be used with log rotators, using the HUP call to
inform MythTV to reload the file
--nodblog Disable database logging.
--noprogress Don't print progress on stdout.
-q OR --quiet Don't log to the console (-q). Don't log anywhere
(-q -q)
--syslog Set the syslog logging facility.
Set to "none" to disable, defaults to none.
-v OR --verbose Specify log filtering. Use '-v help' for level info.

Choosing a Recording

Two methods are available to choose which recording to work on. The first is to specify the channelid and start time,

--chanid 1067 --starttime 20060424183000

Note the start time format is in YYYYMMDDHHMMSS.

The other method is to specify the file,

-f /MythTV/tv/1856_20060425200000.mpg

Rebuild Seektable

Many times the seektable may be bad, or you may do some editing of a recording outside of Myth. In order for Myth to properly FF, RW and seek it needs to have an up to date seektable. If this issue occurrs, you can use mythcommflag as one of the possible tools to repair the seektable.

Note: After rebuilding the seektable, any cutlist you have will no longer be properly synced and should be recreated.

Non Flagging Operations

The following options are mutually exclusive with commercial flagging, and if specified they will cause mythcommflag to perform an action other than commercial flagging.

--video filename Rebuild the seektable for a video (non-recording) file
--rebuild Do not flag commercials, just rebuild seektable