this post was submitted on 02 Jan 2024
87 points (93.1% liked)

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

54577 readers
265 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

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 1 year ago
MODERATORS
 

Title...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 7 points 10 months ago (1 children)

I always wondered about this. I have the same TV series as local MP4 files: one with English audio, and another with Greek. I thought I could just extract the audio tracks and use them to build an MKV file with multiple audio, but it always ended up with an audio sync error. One track would always be in sync at the beginning, but 20min in could be out of sync by as much as 5seconds.

How do people build multi-audio files if the audio tracks aren't part of the original source?

[–] [email protected] 12 points 10 months ago (1 children)

The desync issue is probably caused by different frame rates. For example, an American movie is 60 FPS, while a Greek one is 50 FPS. That leads to a slow desyncining of the audio throughout the video.

If you know about this problem, then I think it's quite easy to fix while merging the two files.

[–] [email protected] 2 points 10 months ago (1 children)

Yeah that's what I figured, but I have no idea how to adjust the frame rate when extracting the audio stream :-(

[–] [email protected] 4 points 10 months ago (1 children)

I think you need to manually adjust the length of the audio stream after you extracted it, they are usually of the common fixed sample rates (like 44.1kHz or 48kHz) and are not tied to the frame rate of the video stream (other than being the same length in time).

For such a small percentage change (a few seconds over something like an hour long) "Change Speed" in an audio editor should be good enough, the shift in pitch should not be noticeable.

https://www.youtube.com/watch?v=pkPF8uN0bE8

[–] [email protected] 1 points 10 months ago

I'll give that a try, thanks!