this post was submitted on 01 Aug 2026
23 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

70051 readers
325 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

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



Loot, Pillage, & Plunder

We heartily recommend visiting the free port of freemediaheckyeah (aka FMHY) while you sail the high seas, for all the freshest links the ocean has to offer.

📜 c/Piracy Wiki (Community Edition):

🏴‍☠️ Other communities

FUCK ADOBE!

Torrenting/P2P:

Gaming:


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 3 years ago
MODERATORS
 

I'm trying to reduce the size of my video collection because I'm running out of storage.

My strategy is to look for smaller sized files to replace very large ones. When that fails, I am using handbrake to rencode. Its working, but very slowly due to my ancient computer. Redownloading is the much faster method.

Some titles, which were originally released as non-english, have existing small files, but the English audio is only available less commonly as a huge file.

Is it possible to redownload the non-english video and map the English audio onto it? It might be too much fooling around to get syncing correct.

Extra question, does anybody know how to set up sonarr/radarr to try to reduce filesize automatically? Ive been doing all the downloading by hand.

you are viewing a single comment's thread
view the rest of the comments
[–] innocentzero@kbin.earth 4 points 5 days ago (2 children)

Pretty sure ffmpeg lets you extract audio channels from a video and even add them. You can probably look up the commands online, I don't remember off the top of my head

To show all stream:

ffprobe -i FILE

Select stream number with your audio.

To get stream X into AUDIO:

ffmpeg -i FILE -map X -c copy AUDIO

To put AUDIO onto FILE:

ffmpeg -i FILE -i AUDIO -c copy OUTPUT

If FILE only has 1 video and 1 audio, to replace FILE audio with AUDIO:

ffmpeg -i FILE -i AUDIO -map 0:v -map 1:a -c copy OUTPUT
[–] mbirth@lemmy.ml 1 points 5 days ago

It's a mix of --codec copy to not reencode the streams, --map 0:1 to select the audio stream of the input file and for merging back you need multiple -i input files and then --map 0:0 to map the first input file's video stream and --map 1 to map the second input file (English audio stream). Mappings may vary - use ffprobe to check your files.