Hi, I have two videos with different fps as in screenshot.
Could you explain me what is spf and why fps of audio file 2 are so much?
How can I mux audio of file 2 into file 1 synchronizing the speech?
I'm on linux so I'd prefer to use linux tools, like ffmpeg.
[Attachment 52753 - Click to enlarge]
+ Reply to Thread
Results 1 to 13 of 13
-
-
Assuming that both videos are (should be) the same, I think that the left video & audio (1) is the original, the right (2) has been converted (23,970 fps to 25 fps) and this audio has been incorrectly converted.
For a correct conversion of both the video and audio tracks use my clever FFmpeg GUI.
https://www.videohelp.com/software/clever-FFmpeg-GUI -
The audio has nothing to do with fps,it's the length that's important,if both tracks are the same running time then both audios will match.
I think,therefore i am a hamster. -
...and they do not match.
There's almost a minute difference between those 2 clips. no amount of "merging" or "muxing" is going to fix that. you need to edit one, the other, or both, in a normal NLE, to even get to the point where they'll sync.
Scott -
I would try playing the audio with the video to see if it does go out of sync,if it does it might be very easy or very tough to fix since it could be adjusted by stretching the duration or shrinking it to match and if that doesnt work then there might be a spot where the scene isn't exactly the same and the audio has to be adjusted for that scene and other scenes if needed.
I think,therefore i am a hamster. -
I summarize what I would like to do because I changed a bit the topic: I'm working with a foreign video (file1) with a better quality (a rare BD remaster) and a video ripped from a DVD of my country (file2) with a lower quality, so I decided that I want to preserve audio2 quality and adequate video1 fps in order to be the same of video2 and then I'll cut audio2 if it's needed.
What is the best way to adapt file1 fps with ffmpeg preserving as much as possible video quality?
thanks for your patience. -
If you have a movie 1 (video720p & audio-eng) with 23.976fps and the same movie 2 (video480p & audio-ita) with 29.97fps and you want to use the audio2 with video1 the you have to convert the audio2 to match the lenght of video1, g.e. 29.97fps to 23.976fps. This can be done with my clever FFmpeg-GUI.
-
yes, but I'd lose audio quality, I prefer speeding up/down the video or anyway "modify" the foreign video to fit the audio track and not the opposite.
-
-
I disagree.
1. Drag&drop both files into MKVToolNix GUI.
2. Deactivate audio track of file 1 (23.976 fps file)
3. Set video track fps to 25
4. Mux
Done. (Unless there's some constant delay remaining or the movies are different cuts to begin with.) -
I see. So the audio and video weren't actually different lengths, just different calculations based on assumed frame rates. Neither the audio or video had to be changed.
Similar Threads
-
Ultimate Guide for Interlaced (29,97 fps) to Progressive (23,976/59,94 fps)
By kalemvar1 in forum Video ConversionReplies: 9Last Post: 22nd Dec 2018, 06:49 -
How to make 1080i 59.940 FPS video to 29.970 FPS
By Joycon in forum Newbie / General discussionsReplies: 2Last Post: 10th Dec 2018, 13:47 -
Mkvmerge - FPS setting - can it change variable fps to constant?
By TheLastOfThem in forum Video ConversionReplies: 8Last Post: 10th Jul 2016, 01:26 -
Convert 51.43 fps video in 59.94 fps container to straight 50 fps video
By mr_lou in forum Video ConversionReplies: 5Last Post: 8th May 2016, 11:47 -
convert 30 fps time lapse video to 60 fps to speed up and keep all frames
By acem77 in forum Video ConversionReplies: 12Last Post: 19th Jan 2016, 20:01