MythCCExtractor

From MythTV Official Wiki
(Redirected from Mythccextractor)
Jump to: navigation, search

Mythccextractor is a helper application provided by Digital Nirvana and available with MythTV 0.25 and later. This application is similar to ccextractor, except it uses MythTV's own decoding libraries to extract ATSC and DVB subtitles.

Options

Misc. Options:
-i OR --infile                  input file
-O OR --override-setting        Override a single setting defined by a key=value pair.
--override-settings-file        Define a file of key=value pairs to be loaded for setting overrides.
-h OR --help OR --usage         Display this help printout.
--version                       Display version information.

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 err
-l OR --logfile OR --logpath    Writes logging messages to a file at logpath.
                                If a directory is given, a logfile will be created in that directory with a filename of applicationName.date.pid.log.
                                If a full filename is given, that file will be used.
                                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 (currently disabled).
--nodblog                       Disable database logging.
-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.

Usage

> mythccextractor --infile 4481_20120118210000.mpg
> ls 4481_20120118210000.*
4481_20120118210000.608-cc1.und.srt
4481_20120118210000.708-service-01.und.srt
4481_20120118210000.mpg
4481_20120118210000.mpg.-1.100x56.png
4481_20120118210000.mpg.png