I have used FFMPEG and MKVTOOLNIX before but I know how to do the basics, cutting, muxing and extracting specific tracks or subtitles. What I want to do now is a bit different.
I have one MKV file that has a video and audio track at 29.997 fps and I have a second MKV file that has a video and audio track at 23.847 fps. I want to keep the video and audio on the first MKV file with higher fps and mux the audio only from the second MKV file.
But how can I go about doing this? Do I have to increase the fps of the second MKV file first?
Or should I extract the audio and only increase it's fps? Or how?Code:ffmpeg -y -r 23.874 -i seeing_secondMKV.mkv -r 29.997 secondMKVFPS.mkv
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
-
-
Usually there is no speed difference between audio from a 23.976 fps source and audio from 29.97 fps source (conversion between them is done by telecine/inverse telecine). So first I would try to simply mux the 2 together and see if the output is sync. If it isn't try to find out if the sync gets progressively worse throughout the file or if there is a constant delay.
ffmpeg:
Code:ffmpeg -y -i "file_0.mkv" -i "file_1.mkv" -map 0 -map 1:a -c copy "output.mkv"
Code:mkvmerge -o "output.mkv" "file_0.mkv" --no-video "file_1.mkv"
The problem is we can't predict from these fps values how/if we need to convert between them to make them fit. For example the sources might be different cuts (cinema, director's cut, censored) and require more intricate solutions. -
-
I don't care about duration. Is the audio sync with the video according to your eyes and ears?
Similar Threads
-
MKVMERGE Batch Muxing multiple audio and subtitle tracks?
By jahob000 in forum Newbie / General discussionsReplies: 38Last Post: 30th May 2023, 20:13 -
Muxing a video with multiple video tracks/angles
By ZetaStax in forum Video ConversionReplies: 5Last Post: 6th Sep 2019, 19:04 -
Syncing Audio From Different Video Sources With Different FPS
By StaticSense in forum AudioReplies: 18Last Post: 6th Nov 2018, 11:26 -
Tsmuxer: H.264 muxing fps is not set
By Patapin in forum Video ConversionReplies: 4Last Post: 17th Jul 2017, 14:12 -
Muxing of two slightly different video sources
By KennyTNT in forum EditingReplies: 1Last Post: 2nd Feb 2017, 19:59