Just some stuff about me.
Command line one-liners are great for quick and one off FFMPEG experiences but sooner or later you’re going to want to start building custom applications for efficiency. FFMPEG can be used with almost any programming language with a couple of simple tricks. Some languages might even have libraries of their own to extend FFMPEG natively. Below are a few examples of various languages using FFMPEG:
Using Streamio to natively use FFMPEG in ruby, More information: https://github.com/streamio/streamio-ffmpeg
require 'streamio-ffmpeg'
input = FFMPEG::Movie.new("path/to/input.mov")
output.transcode("movie.mp4") # Output to mp4