VideoHelp Forum
+ Reply to Thread
Results 1 to 7 of 7
Thread
  1. Hello,
    I have video and audio files of a movie.
    the audio file is 10 seconds longer than the video file. When I merge files with "megui muxer", synchronization does not hold. I think I have to cut 10 seconds from the end of the audio file. How do i do that?
    Audio: AAC
    Video: AVC
    Quote Quote  
  2. Well, if you just cut 10 seconds at the end, it will surely not solve the synchronization issue...
    Quote Quote  
  3. Originally Posted by abolibibelot View Post
    Well, if you just cut 10 seconds at the end, it will surely not solve the synchronization issue...

    That was the first solution that came to mind. So how should I apply a method.
    in fact I have acquired these separately files from an online stream website. this website plays two source files in the same synchronization. I'm trying to make it into one file.
    Quote Quote  
  4. You put the audio and video into your NLE. Decouple the audio so it can be moved along the timeline independently from the video. At the beginning of the video find a place where you can see the audio/video sync (a person talking; a scene change; a loud noise, etc.). Sync that point. Go to a spot near the end of the video and do the same thing. The amount that you have to move the second point shows how slow or fast the audio is compared to the video (if the problem is caused by having one of them run at a different speed. Stretch or compress the audio by that time, using a tool that does not alter the pitch. However, if you suspect the problem was caused by a speed change that didn't change the pitch, such as 24-->25 fps speed up for showing film on PAL video, then don't do any pitch correction.
    Quote Quote  
  5. Originally Posted by johnmeyer View Post
    You put the audio and video into your NLE. Decouple the audio so it can be moved along the timeline independently from the video. At the beginning of the video find a place where you can see the audio/video sync (a person talking; a scene change; a loud noise, etc.). Sync that point. Go to a spot near the end of the video and do the same thing. The amount that you have to move the second point shows how slow or fast the audio is compared to the video (if the problem is caused by having one of them run at a different speed. Stretch or compress the audio by that time, using a tool that does not alter the pitch. However, if you suspect the problem was caused by a speed change that didn't change the pitch, such as 24-->25 fps speed up for showing film on PAL video, then don't do any pitch correction.
    The audio and video file is already separate. My goal is to merge them.I think what you use with megui. If there is any other software you can recommend, I can try it.. Think of it this way. The website takes two separate sources to stream this video. So a separate video file and a separate audio file. I don't think there will be differences in FPS settings.

    Last edited by Anotia; 12th Aug 2019 at 15:10.
    Quote Quote  
  6. There is indeed a small duration discrepancy, but the reports above seem to have been made from already remuxed or recompressed files (it's unlikely that a video stream available for download would be muxed with mkvmerge, or an audio stream encoded with Nero AAC, those files were most likely made using MeGUI which includes both), which makes it difficult to diagnose. What does MediaInfo say about the streams as they were downloaded ? And what did you use to download them ?
    Perhaps a link to the web page where those streams can be found would be more helpful. Perhaps a simple ffmpeg or youtube-dl command would do the trick.

    I'm not sure what “FPS” means for an audio stream.

    EDIT : MeGUI is just a convenient all-in-one GUI (graphic user interface) for a bunch of individual tools, which can be used independently. For instance, it includes mkvmerge, which can mux video/audio streams into a Matroska / MKV container ; mkvmerge is also included with MKVToolNix, which offers more control over the process, and it can be used as a command line tool as well (commonly referred to as “CLI” = command line interface). MeGUI also includes mp4box, which can mux video/audio streams into a MP4 container (more restricted than MKV with regards to the format and number of streams, but should work fine with 1 H.264 video stream + 1 AAC audio stream), and can also be used as a command line tool, or with a dedicated GUI like YAMB (but those generally offer less control than the command line interface).
    Another command line tool, ffmpeg (also included in MeGUI and in many conversion softwares – including some commercial ones, despite being an open-source project), is (much) more versatile and can directly mux and/or transcode video and audio into pretty much any existing format and container, with a gazillion of switches and options to accomodate any possible requirement.
    Last edited by abolibibelot; 13th Aug 2019 at 12:48.
    Quote Quote  
  7. I've solved the problem. I actually created the problem myself. I could not merge source files with megui. The extensions of the files were .ts. so I couldn't catch the sync because I changed the container with mkvtoolnix. Audio and video file directly with the mkvtoolnix combined on the audio and video sat on.

    source file information
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!