Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/msurdi/mediaplay-encode
Encode videos in an html5 video compatible format
https://github.com/msurdi/mediaplay-encode
Last synced: about 1 month ago
JSON representation
Encode videos in an html5 video compatible format
- Host: GitHub
- URL: https://github.com/msurdi/mediaplay-encode
- Owner: msurdi
- License: mit
- Created: 2020-04-08T08:53:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-06-16T12:24:04.000Z (5 months ago)
- Last Synced: 2024-09-13T10:33:19.233Z (2 months ago)
- Language: JavaScript
- Size: 1.49 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
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 SmartTVsInstallation
------------```bash
npm i -g mediaplay-encode
```Usage
-----```bash
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 Exclude files matching this regular expression (default:
"\\.enc")
-s, --encoded-suffix Add this suffix to the target file name (default: ".enc")
-l, --loop-interval When no files are found loop every instead of
terminating (default: 0)
-h, --help display help for command
```