Sound out of sync after merging multiple mp4 files with Avidemux












0














I am trying to join (merge) two or more .mp4 files together, without re-encoding.



Here is what I did:




  1. Started Avidemux 2.5.5.

  2. With File->Open, selected Input1.mp4.

  3. I received this message - "H.264 detected. If the file is using B-frames as reference it can lead to a crash or stuttering. Avidemux can use another mode which is safe but YOU WILL LOOSE SOME FRAME ACCURACY. Do you want to use that mode?". I chose "No".

  4. With File->Append, selected Input2.mp4.

  5. I received the same "H.264 detected" message again and chose "No".

  6. Selected the Format to MP4 (from AVI).

  7. Saved the output file (called Output.mp4) with File->Save->Save Video.


Unfortunately, when I play the Output.mp4 video in VLC, the sound is out of sync with the second video. How can I correct this?










share|improve this question
























  • I've tried the new version - 2.5.6, but still have the same sound sync problem.
    – Goto10
    Jan 1 '12 at 21:51










  • Would Free AVI/MPEG/WMV/MP4/FLV Video Joiner be a good alternative to use?
    – Goto10
    Jan 1 '12 at 21:54












  • How is it out of sync, sound first or video first?
    – jiggunjer
    Nov 5 '15 at 8:27
















0














I am trying to join (merge) two or more .mp4 files together, without re-encoding.



Here is what I did:




  1. Started Avidemux 2.5.5.

  2. With File->Open, selected Input1.mp4.

  3. I received this message - "H.264 detected. If the file is using B-frames as reference it can lead to a crash or stuttering. Avidemux can use another mode which is safe but YOU WILL LOOSE SOME FRAME ACCURACY. Do you want to use that mode?". I chose "No".

  4. With File->Append, selected Input2.mp4.

  5. I received the same "H.264 detected" message again and chose "No".

  6. Selected the Format to MP4 (from AVI).

  7. Saved the output file (called Output.mp4) with File->Save->Save Video.


Unfortunately, when I play the Output.mp4 video in VLC, the sound is out of sync with the second video. How can I correct this?










share|improve this question
























  • I've tried the new version - 2.5.6, but still have the same sound sync problem.
    – Goto10
    Jan 1 '12 at 21:51










  • Would Free AVI/MPEG/WMV/MP4/FLV Video Joiner be a good alternative to use?
    – Goto10
    Jan 1 '12 at 21:54












  • How is it out of sync, sound first or video first?
    – jiggunjer
    Nov 5 '15 at 8:27














0












0








0


1





I am trying to join (merge) two or more .mp4 files together, without re-encoding.



Here is what I did:




  1. Started Avidemux 2.5.5.

  2. With File->Open, selected Input1.mp4.

  3. I received this message - "H.264 detected. If the file is using B-frames as reference it can lead to a crash or stuttering. Avidemux can use another mode which is safe but YOU WILL LOOSE SOME FRAME ACCURACY. Do you want to use that mode?". I chose "No".

  4. With File->Append, selected Input2.mp4.

  5. I received the same "H.264 detected" message again and chose "No".

  6. Selected the Format to MP4 (from AVI).

  7. Saved the output file (called Output.mp4) with File->Save->Save Video.


Unfortunately, when I play the Output.mp4 video in VLC, the sound is out of sync with the second video. How can I correct this?










share|improve this question















I am trying to join (merge) two or more .mp4 files together, without re-encoding.



Here is what I did:




  1. Started Avidemux 2.5.5.

  2. With File->Open, selected Input1.mp4.

  3. I received this message - "H.264 detected. If the file is using B-frames as reference it can lead to a crash or stuttering. Avidemux can use another mode which is safe but YOU WILL LOOSE SOME FRAME ACCURACY. Do you want to use that mode?". I chose "No".

  4. With File->Append, selected Input2.mp4.

  5. I received the same "H.264 detected" message again and chose "No".

  6. Selected the Format to MP4 (from AVI).

  7. Saved the output file (called Output.mp4) with File->Save->Save Video.


Unfortunately, when I play the Output.mp4 video in VLC, the sound is out of sync with the second video. How can I correct this?







video-editing mp4 video-conversion lossless avidemux






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 29 '11 at 17:55









cmorse

8002728




8002728










asked Dec 29 '11 at 11:47









Goto10

3782822




3782822












  • I've tried the new version - 2.5.6, but still have the same sound sync problem.
    – Goto10
    Jan 1 '12 at 21:51










  • Would Free AVI/MPEG/WMV/MP4/FLV Video Joiner be a good alternative to use?
    – Goto10
    Jan 1 '12 at 21:54












  • How is it out of sync, sound first or video first?
    – jiggunjer
    Nov 5 '15 at 8:27


















  • I've tried the new version - 2.5.6, but still have the same sound sync problem.
    – Goto10
    Jan 1 '12 at 21:51










  • Would Free AVI/MPEG/WMV/MP4/FLV Video Joiner be a good alternative to use?
    – Goto10
    Jan 1 '12 at 21:54












  • How is it out of sync, sound first or video first?
    – jiggunjer
    Nov 5 '15 at 8:27
















I've tried the new version - 2.5.6, but still have the same sound sync problem.
– Goto10
Jan 1 '12 at 21:51




I've tried the new version - 2.5.6, but still have the same sound sync problem.
– Goto10
Jan 1 '12 at 21:51












Would Free AVI/MPEG/WMV/MP4/FLV Video Joiner be a good alternative to use?
– Goto10
Jan 1 '12 at 21:54






Would Free AVI/MPEG/WMV/MP4/FLV Video Joiner be a good alternative to use?
– Goto10
Jan 1 '12 at 21:54














How is it out of sync, sound first or video first?
– jiggunjer
Nov 5 '15 at 8:27




How is it out of sync, sound first or video first?
– jiggunjer
Nov 5 '15 at 8:27










1 Answer
1






active

oldest

votes


















0














I have had much better results joining multiple video files using mkvmerge from the MKVToolNix tools.



Just download and install the windows installer from here. Then run the mkvmerge GUI, add the first file, and then use the append button to add the additional files. This does give you an mkv file instead of an mp4 file, but VLC should be able to play that without any trouble. Also, there is no re-encoding going on, only re-muxing.






share|improve this answer





















  • Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
    – Goto10
    Dec 30 '11 at 12:01










  • You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
    – cmorse
    Dec 30 '11 at 23:42










  • Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
    – Goto10
    Jan 1 '12 at 21:49










  • I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
    – cmorse
    Jan 2 '12 at 2:37











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "3"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f372628%2fsound-out-of-sync-after-merging-multiple-mp4-files-with-avidemux%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














I have had much better results joining multiple video files using mkvmerge from the MKVToolNix tools.



Just download and install the windows installer from here. Then run the mkvmerge GUI, add the first file, and then use the append button to add the additional files. This does give you an mkv file instead of an mp4 file, but VLC should be able to play that without any trouble. Also, there is no re-encoding going on, only re-muxing.






share|improve this answer





















  • Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
    – Goto10
    Dec 30 '11 at 12:01










  • You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
    – cmorse
    Dec 30 '11 at 23:42










  • Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
    – Goto10
    Jan 1 '12 at 21:49










  • I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
    – cmorse
    Jan 2 '12 at 2:37
















0














I have had much better results joining multiple video files using mkvmerge from the MKVToolNix tools.



Just download and install the windows installer from here. Then run the mkvmerge GUI, add the first file, and then use the append button to add the additional files. This does give you an mkv file instead of an mp4 file, but VLC should be able to play that without any trouble. Also, there is no re-encoding going on, only re-muxing.






share|improve this answer





















  • Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
    – Goto10
    Dec 30 '11 at 12:01










  • You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
    – cmorse
    Dec 30 '11 at 23:42










  • Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
    – Goto10
    Jan 1 '12 at 21:49










  • I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
    – cmorse
    Jan 2 '12 at 2:37














0












0








0






I have had much better results joining multiple video files using mkvmerge from the MKVToolNix tools.



Just download and install the windows installer from here. Then run the mkvmerge GUI, add the first file, and then use the append button to add the additional files. This does give you an mkv file instead of an mp4 file, but VLC should be able to play that without any trouble. Also, there is no re-encoding going on, only re-muxing.






share|improve this answer












I have had much better results joining multiple video files using mkvmerge from the MKVToolNix tools.



Just download and install the windows installer from here. Then run the mkvmerge GUI, add the first file, and then use the append button to add the additional files. This does give you an mkv file instead of an mp4 file, but VLC should be able to play that without any trouble. Also, there is no re-encoding going on, only re-muxing.







share|improve this answer












share|improve this answer



share|improve this answer










answered Dec 29 '11 at 18:00









cmorse

8002728




8002728












  • Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
    – Goto10
    Dec 30 '11 at 12:01










  • You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
    – cmorse
    Dec 30 '11 at 23:42










  • Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
    – Goto10
    Jan 1 '12 at 21:49










  • I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
    – cmorse
    Jan 2 '12 at 2:37


















  • Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
    – Goto10
    Dec 30 '11 at 12:01










  • You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
    – cmorse
    Dec 30 '11 at 23:42










  • Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
    – Goto10
    Jan 1 '12 at 21:49










  • I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
    – cmorse
    Jan 2 '12 at 2:37
















Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
– Goto10
Dec 30 '11 at 12:01




Is there any similar free software that works with MP4 files? Although VLC does a great job at playing lots of different formats, I'd prefer to stick with MP4 for consistency.
– Goto10
Dec 30 '11 at 12:01












You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
– cmorse
Dec 30 '11 at 23:42




You're in luck, it looks like mp4box supports concatenating mp4 files. I have not really used mp4box, so I can't say how well it work. Let me know if it works for you.
– cmorse
Dec 30 '11 at 23:42












Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
– Goto10
Jan 1 '12 at 21:49




Although I haven't tried mp4box myself, some comments on the GUI did mention sound sync issues.
– Goto10
Jan 1 '12 at 21:49












I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
– cmorse
Jan 2 '12 at 2:37




I saw that too. But, there are a large number of variables when it comes to concatenating media files together (codec used for the audio/video, multiple tracks, subtitles, etc.). The comment I saw that mentions sync issues was using the trimming feature, not concatenation. The only way to be sure is to try it for yourself.
– cmorse
Jan 2 '12 at 2:37


















draft saved

draft discarded




















































Thanks for contributing an answer to Super User!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f372628%2fsound-out-of-sync-after-merging-multiple-mp4-files-with-avidemux%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Plaza Victoria

In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...