Addition: HandBreakBatch is no longer maintained, but it still works. https://github.com/taglia/handbrakebatch
I use it to convert the videos synced from my phone via Syncthing into smaller file-sized ones before dumping them into a hard drive that is also synced via Syncthing with a Pi running at home.