0.5.1 • Published 2 months ago

mediaplay-encode v0.5.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 months ago

mediaplay-encode

A command line utility to encode video files into an html5 video and SmartTV/DLNA friendly format.

Under the hood, it wraps ffmpeg to encode almost any input video format into an opinionated, pre-defined output format that should work on most browsers and SmartTVs

Installation

npm i -g mediaplay-encode

Usage

Usage: mediaplay-encode [options] [paths...]

Options:
  -V, --version                           output the version number
  -i, --high-quality                      Sacrifice cpu and/or disk space to get better quality
                                          (default: false)
  --debug                                 Enable debug output
  --delete-source                         Permanently removes source file after encoding (default:
                                          false)
  -p, --preview                           Encode only 10s, for previewing the result (default:
                                          false)
  -r, --reverse-order                     Prioritize encoding newer (by creation time) files
                                          (default: false)
  -e, --extensions [extension...]         Comma separated list of extensions to encode from
                                          (default:
                                          "f4v,mov,flv,rm,avi,mkv,mp4,m4v,wmv,mpeg,asf,divx,mpg")
  -x, --exclude-pattern <excludePattern>  Exclude files matching this regular expression (default:
                                          "\\.enc")
  -s, --encoded-suffix <suffix>           Add this suffix to the target file name (default: ".enc")
  -l, --loop-interval <seconds>           When no files are found loop every <seconds> instead of
                                          terminating (default: 0)
  -h, --help                              display help for command
0.5.1

2 months ago

0.5.0

4 months ago

0.4.4

5 months ago

0.4.3

1 year ago

0.4.2

1 year ago

0.4.1

3 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago