I wrote two small, simple and basic shell scripts for Linux. I did it because I encountered a few video remuxes (from my own Blu-rays) that I couldn't encode with my h264enc script so I turned to ffmpeg which was able to handle them.

ffhevc & ffx264 won't be anything big and professional like h264enc. I intend to keep them both basic and with the options I most often use so stuff like many audio/video filters, different input sources, etc, etc won't be added, unless I really need them on a frequent basis in the future.

However, if you need something and are willing to implement it, I accept patches.

* Added support for copying a single subtitle. Note that this is only supported when output container is set to mkv (default)
* Changed var OUTPUT in the config file to OUTDIR. Also changed internal var OUT to OUTPUT
* Updated the README file

ChangeLog for ffx264 1.5

Quote:

* Added support for copying a single subtitle. Note that this is only supported when output container is set to mkv (default)
* Changed var OUTPUT in the config file to OUTDIR. Also changed internal var OUT to OUTPUT
* Updated the README file

* Bugfix: dB was missing after the value of the audio volume filter
* Be a bit more consistent with the audio variables
* Added support for encoding to AAC audio
* Use eval instead of seq for the for audio loops as seq is Linux-specific
* Added an ASCII art banner
* Export encoding params to a shell script and source it for encoding
* Place the libx265 params in the config file for easy modifications
* Made auto-cropping optional. It can be disabled in the config file
* Made the SUBS var in the config file consistent with the ones that accept "y" or "n" as value
* Added support for specifying the audio language metadata
* Automatically add the title of the content based on provided output name
* Automatically add the audio codec name metadata
* Updated the README file

ChangeLog for ffx264 1.7

Quote:

* Bugfix: dB was missing after the value of the audio volume filter
* Be a bit more consistent with the audio variables
* Added support for encoding to AAC audio
* Use eval instead of seq for the for audio loops as seq is Linux-specific
* Added an ASCII art banner
* Export encoding params to a shell script and source it for encoding
* Place the libx264 params in the config file for easy modifications
* Made auto-cropping optional. It can be disabled in the config file
* Made the SUBS var in the config file consistent with the ones that accept "y" or "n" as value
* Added support for specifying the audio language metadata
* Automatically add the title of the content based on provided output name
* Automatically add the audio codec name metadata
* Updated the README file

* Bugfix: the specified channels to decode wasn't honored due to missing 'a' in the -ac option
* Added support for encoding to DTS audio
* Reduced some duplication in the audio code
* More cosmetics
* Updated the README file

* Removed the $ in the index of array variables
* Use an if conditional instead of case to check for DTS audio and to check which audio codec has been selected
* Support setting the paths to mplayer/ffmpeg/ffprobe in the config file
* Support setting the language metadata for subs copy
* Fixed a small issue in the subtitles code

* Removed the workaround for DTS audio since we always use "5.1(side)" for 6 channels output
* Support setting the MAX_AUD_TRKS and MAX_SUBS variables in the config file to "auto". When set to "auto", it will ask for as many as detected audio tracks/subtitles