cast-me
is a CLI app designed to automate the transcoding of video files (presumably screencasts). I originally created it due reduce the enormous file size of my quicktime screencasts.
Feature set it pretty thin at the moment. It does what I need it to do (for now). See RoadMap for ambitions - when time / motivation permits.
I've dialled in a single preset for coding screencasts. FPS at 8 with no loss in the number of pixels. On longer .mov
files, it's usual to see ~5% of the original file size.
- Remove dependency on CLI
prompt
libraries- Re-implement using
Ink
react-renderer.
- Re-implement using
- Use Redux-Toolkit and MemoryRouter to manage state of application.
- Flesh out configuration options
- FPS
- Bitrate
- Concatenate (with timecode meta output)
- Transition
- Overlay
- ...
- Presets
- Local configuration files
- Web interface
- Youtube Upload
- Versioning / NPM publishing
- commander for CLI flag UI design.
- Use Typescript
- In hindsight, I much - much prefer developing with Typescript.
These links formed some of my initial education into ffmpeg
. cast-me
now delegates to fluent-ffmpeg
- a very convenient wrapper for node.
- amerge
- pan
- overlay
- unsharp
- merge two clips
- merge two audio
- video in video
- add watermark
- downscale with sharpness
- scale filter
- convert media formats
- transitions
- fleunt-ffmpeg
- oclif
Links kept here for my benefit. Please ignore!
- YArgs
- Yargs TS
- Parsing CMD Line Args
- Chokidar
- File Watcher (works fine with polling)
- Inquirer
- Prompt Library (remove)
- Command Line Colors
- Not necessary with Ink
- Get File Extension (node)
- Shebangs
- My first introduction. Use language interpreters (node) without actually calling them.
- Video Containers
- Pretty-Print JSON
- The more you know.
- Glob
- File name pattern matching. Used extensively.
- 7 Tools for CLI
- Publishing to NPM
- On the road map.
- CLI Highlight
- In conjunction with pretty print.
- Enquirer
- Alternative to
inquirer
. Again,ink
is better solution.
- Alternative to
- How to Build a Node CLI
chmod +x filename.run
makesfilename.run
executable.- Use in tandem with Shebangs to run like a compiled binary.
- As well as npm global install
- LiceCap Create GIFS nice n easy!
- How to Build a CLI
Thanks for your interest! Please see my GitHub or Linkedin to stay updated.
Copyright (c) 2024 Ian Haggerty
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.