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

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

70051 readers
465 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.

top 20 comments
sorted by: hot top controversial new old
[–] MiRRoRMaN@ani.social 2 points 3 days ago (1 children)

always a pickle to do, because it tends to always go out of sync. you'd have to find a way to get the timing right over the entire movie.

[–] LodeMike@lemmy.today 2 points 3 days ago (1 children)

The easiest way to do this is to use a consumer end video editor to align the audio, then export the audio only, then do the mux operation.

[–] MiRRoRMaN@ani.social 1 points 3 days ago (1 children)

My problems with that usually go beyond that, its weird the few times in my life I tried i had the audio matching up in the beginning where I set it right, and then eventually going way out of sync. Which is weird because you'd think well its the same movie, the timing would be the same as an audio file from a different version of it, but no such luck :(

[–] LodeMike@lemmy.today 2 points 2 days ago (1 children)

Different versions of movies exist. They're typically cut differently in slight ways throughout. How out of sync?

[–] MiRRoRMaN@ani.social 0 points 2 days ago (1 children)

Major major out of sync. You can reproduce it I suppose the way I would attempt it, and maybe you know what I do wrong in such a case:

What I would do (to attempt doing it) is take two different versions of the movie, maybe one has good video quality but is in russian, and the other has a good english audio track with it right. And so I wanna take the audio track of the good one and lay it under the good footage in powerdirector. i'd try and find the right lineup for the audio to sync it with the video, but then eventually if you go further down the line in powerdirector (or even produce it and forward the movie like to halfway trough) the audio will be way out of sync. I think it may have to do with bitrates and stuff but I have no idea why. and heck I used to even work in the industry back in the early 90s for TV this should be a breeze for me. but this oldtimer is stupid, I think. there has to be a way to solve this, and if anyone has any suggestions you're more than welcome to tell me because i'd love to know.

[–] LodeMike@lemmy.today 0 points 2 days ago (1 children)

Does bro want to watch The Odyssey?

[–] MiRRoRMaN@ani.social 2 points 2 days ago

the old 1997 miniseries for sure, the modern one: naw, i'm good. :)

[–] LastYearsIrritant@sopuli.xyz 8 points 4 days ago

MakeMKV lets you mix and match files into a video container, so you can put a different audio track or sub track into the video.

You might have trouble with the sync if things don't start at exactly the same time, but I think there are offset settings in there somewhere.

[–] tvbusy@lemmy.dbzer0.com 2 points 4 days ago (1 children)

Yes, absolutely, but not in an automated way. Remuxers do this sometimes. They compare video, audio and subtitles from multiple releases and select the best one and frame sync them. However, the sync process is very manual and there are cases when different releases have different cuts, leading audio is in sync at the beginning but went out of sync later on, ruining the whole experience.

[–] cockmushroom@reddthat.com 1 points 3 days ago (1 children)

False. You can easily automate this with ffmpeg. It'll just suck unless you know the cue points :p

[–] cockmushroom@reddthat.com 1 points 3 days ago* (last edited 3 days ago)

That said, you could probably cook something up using OpenAI's whisper (or something more recent; i'm not terribly familiar with transcription; or local models in general tbh) which you can run locally to get time stamps and then cut up and match starting points. Could be a fun project.

[–] Kumikommunism@hexbear.net 4 points 5 days ago* (last edited 5 days ago)

LosslessCut will do this very easily.

Also, MKVToolnix will do this, but you will end up with MKV files (which are great anyways, but can't be read by a few programs, but all good ones will be able to).

[–] 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.

[–] mbirth@lemmy.ml 4 points 5 days ago* (last edited 5 days ago) (1 children)

You might want to look into Tdarr. Configure it once and let your old computer transcode away automatically.

For audio stream replacement - if you get the exact same video (same intro length, same scene lengths, same total length, etc.), you can easily replace the audio streams and it should work out. ffmpeg is your friend to do it lossless.

[–] ragebutt@lemmy.dbzer0.com 2 points 5 days ago (1 children)

Second tdarr for doing this to a large library but if it’s just a file or three mkvtoolnix and mkvextract is easier, tdarr can be kind of a nightmare to configure and documentation isn’t amazing

[–] laserjet@lemmy.dbzer0.com 1 points 4 days ago (1 children)

lol you weren't kidding.. the docs about how to set it up as a service in linux is a 30+ comment issue spanning 5 years.

[–] ragebutt@lemmy.dbzer0.com 1 points 4 days ago

Honestly that’s not even the worst bit. Like docker images exist that can get it running in no time. But then if you just want to say, scan your library and remove all languages for subtitles and audio that aren’t your native language? It’s definitely doable but a pain to setup. Even more so if you speak a second language or are like an anime person that hates dubs

[–] Azzu@leminal.space 1 points 4 days ago

The other answers have already been helpful, so I wanted to ask, why do you have/want a video collection? Can't you just delete it and download it again once you want to watch it again?