For all people interested, I made:
Bulk Video Converter
A flexible and featured Bash shellscript that recursively scans a folder for files to convert/re-encode to different codec/encoder using ffmpeg.
Tested on Ubuntu 20.04.2 LTS
Context
I am using this script inside a Ubuntu docker container running on my Synology DS720+ NAS (Intel Celeron J4125 4-core CPU + 6GB). It daily converts all the MPEG2 recordings made by NextPVR with my HDHomeRun tuner.
I am converting them to libx264 which is generally about ~7x times smaller and converts at a 2.4x speed.
Using libx265 it's about ~12x times smaller and converts at a 0.7x speed.
For more info, documentation of all settings and examples see
https://github.com/JanOonk/bulkvideoconverter
Bulk Video Converter
A flexible and featured Bash shellscript that recursively scans a folder for files to convert/re-encode to different codec/encoder using ffmpeg.
Tested on Ubuntu 20.04.2 LTS
Context
I am using this script inside a Ubuntu docker container running on my Synology DS720+ NAS (Intel Celeron J4125 4-core CPU + 6GB). It daily converts all the MPEG2 recordings made by NextPVR with my HDHomeRun tuner.
I am converting them to libx264 which is generally about ~7x times smaller and converts at a 2.4x speed.
Using libx265 it's about ~12x times smaller and converts at a 0.7x speed.
For more info, documentation of all settings and examples see
https://github.com/JanOonk/bulkvideoconverter