can I trim the black margins of several mkv files on debian 12.11 with ffmpeg or mkvtoolnix?
when I say trim I don't mean to time trim a file, like getting rid of the last 2 minutes of the mkv file, but to picture trim every frame of the mkv file to get rid of black margins to both left and right of the actual image.
Files were originally recorded on 4:3 aspect ratio (some are movies from the 1950's) but the encoder somehow created / copied huge black margins to both left and right of the actual image. I want to get rid of these.
Some of my files are 30 minutes long but others 2 hours.
if ffmpeg is the application I need, could anyone knowledgeable enough write the actual command?
atzanteol
in reply to The 8232 Project • • •The 8232 Project
in reply to atzanteol • • •This guide is actually only 3 steps:
1. Install VSCodium
2. Install the Rust SDK
3. Enable permissions
The rest is just extras, like installing
rust-analyzer
, which you would need to do on any distribution. The reason it's so long is because I wanted to make it painstakingly simple for anyone to be able to do it, regardless of using the command-line, user-interface, mouse, or keyboard. Depending on how hardened you've made your secureblue system, you really could just install everything with one command:secureblue isn't designed to be fast, easy, or simple. It's designed to be secure.
Hope this helps!
Lorgres
in reply to The 8232 Project • • •Does secureblue not support containers like silverblue?
On silverblue I can simply run the editor and toolchain in a toolbx container. This avoids having to tinker with the flatpak permissions.
Great writeup either way.
Matt
in reply to The 8232 Project • • •The 8232 Project
in reply to Matt • • •rustup
requires granting VSCodium more invasive permissions to get it to work. Furthermore, installing it would require layering system packages, which should be done sparingly. Using the Rust SDK is the recommended approach by VSCodium while using their Flatpak, and it is actually the simpler option.Matt
in reply to The 8232 Project • • •std::io::pipe()
.