I'm currently trying to insert the Canadian French audio track from the 3D Blu-Ray version of Coraline onto the MKV i made from my 4K copy because the 4K version has the European French audio track which i dislike.
However my problem now lies in, i put a 1980ms delay on the added audio track which syncs with the movie during the first 30 to 45 minutes of the movie.
Past 45 minutes i found out with VLC that i need to adjust the delay as the movie goes on so that it remains in sync.
What are my choices? Should i rip my 2D Blu-Ray copy of the movie and work with that audio track? I really want to have the 4K version of this movie in my Plex server with the dub that i grew up listening to.
Its definitely making me rage a bit that the delay i add is fine for the beginning of the movie but as it goes on i would have to delay the sound with a negative value as it keeps drifting and drifting out of sync.
I have the feeling this is due to how the 4K rip runs at 24FPS whereas the BD Rip runs at 23.976FPS and makes audio syncing a chore.
+ Reply to Thread
Results 1 to 7 of 7
-
Last edited by emmanu888; 6th Nov 2023 at 19:39.
-
Use clever FFmpeg-GUI.
Load your BD Rip (23.976fps), click main, click encode audiostream, select your audiostream (if there are several), click >>>.
Set the desired audio codec, set the "change length & pitch" settings like in the picture and click encode.
If done, you have your new soundtrack for the 4k movie.
[Attachment 74742 - Click to enlarge] -
I have to thank you so much! Doing that along with finding the proper delay synced up the French Canadian dub of the movie with the 4K version!
That was the missing piece of the puzzle! Modifying the audio track so that it lined up with the 24FPS of the 4K version and adding a delay to sync it! -
As another, opposite approach to your issue, you can instead change the framerate of your 24fps 4K video to run at same speed as the 23.976 audio. This can be done by rewriting timestamps of the videotrack. This handling doesn't take any recoding of audio or video. A proper audiodelay still has to be set though during muxing process.
I always rewrite video timestamps with a ffmpeg.exe commandline; undoubtedly ProWo can tell you whether this can be dictated by the GUI. -
-
Sure, here's two I much use.
For rewriting 24fps timestamps:
Code:ffmpeg -i input.hevc -c copy -bsf:v hevc_metadata=tick_rate=24:num_ticks_poc_diff_one=1 output.hevc
Code:ffmpeg -i input.hevc -c copy -bsf:v hevc_metadata=tick_rate=(24000/1001):num_ticks_poc_diff_one=1 output.hevc
When extracted, RPU data is written for (and can be edited using) framenumbers.Last edited by Ennio; 8th Nov 2023 at 09:51.
Similar Threads
-
Dumb question about audio delays (negative or positive)
By sebastiaaan in forum Newbie / General discussionsReplies: 6Last Post: 17th Apr 2022, 05:46 -
Muxing MKV with different audio tracks
By Chris Newbold in forum Blu-ray RippingReplies: 3Last Post: 28th Aug 2021, 06:21 -
Muxing Audio - DTS/Dolby
By Chiccha in forum AudioReplies: 9Last Post: 17th Jul 2020, 15:50 -
Muxing an audio stream into into a container with different FPS
By [ss]vegeta in forum Newbie / General discussionsReplies: 4Last Post: 25th May 2020, 08:56 -
Is it possible to remove audio files from an mkv without de-/re-muxing?
By pinkfloydfan in forum Newbie / General discussionsReplies: 10Last Post: 18th Nov 2018, 12:29