42
Batch video conversion from command line
(feddit.it)
1. Posts must be related to the discussion of digital piracy
2. Don't request invites, trade, sell, or self-promote
3. Don't request or link to specific pirated titles, including DMs
4. Don't submit low-quality posts, be entitled, or harass others
📜 c/Piracy Wiki (Community Edition):
💰 Please help cover server costs.
Ko-fi | Liberapay |
For batch converting ISOs to a specific resolution and format while preserving folder hierarchy on Linux, you can indeed use
ffmpeg
with a bash script. However, you might also consider usingHandBrakeCLI
, which is a command-line interface for HandBrake, a popular video transcoder.Here's how you could use
HandBrakeCLI
to achieve your goal:HandBrakeCLI
if you haven't already:Adjust the preset according to your needs. You can check available presets with
HandBrakeCLI --preset-list
.This script will convert all ISO files in the specified input directory to 720p h.265 MP4 files using HandBrakeCLI while preserving the folder hierarchy.