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
+ Reply to Thread
Results 1 to 5 of 5
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 -y -i "file_0.mkv" -i "file_1.mkv" -map 0 -map 1:a -c copy "output.mkv"
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?