# Audio out of sync

**URL:** https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938
**Category:** General Support / Questions
**Created:** [July 8, 2019, 12:26pm UTC](https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938 "2019-07-08T12:26:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Yonahinthewhale](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/y/48db29/32.png) [@Yonahinthewhale](https://discussion.mcebuddy2x.com/u/Yonahinthewhale)
#### Post date: [July 8, 2019, 12:26pm UTC](https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938/1 "2019-07-08T12:26:11Z")

</div>

**Request Type:**  
BUG / NEW FEATURE  
Audio Out of sync

**MCEBuddy Version and Type (32bit or 64bit):**  
64 bit

**Operating System and Type (32bit or 64bit):**  
Windows 7 64

**Summary of the problem or suggestion:**  
I am converting video recorded using PlayOn. Original file is fine. Comskip with markers, select best sound track unchecked, Cut 3 seconds off beginning cut 8 seconds off end, MP4 Fast (audio ever so slightly off), MP4 Normal (bad), Ucompressed (worst). I’m using a windows 7 PC my work was getting rid of to use as a plex server and video recorder. Everything works great but the one thing I thought would work best was MCEBuddy and this is the thing that isn’t working properly. I’m not a coder. Can someone help? I’ve tried reinstalling but no luck. Found other forum post about this topic but no help.

**Steps to replicate the bug:**

**Screenshots:**

* * *

[Better Call Saul - s01e02 Mijo.mp4-Convert to MP4-2019-07-08T07-11-29.7098650-05-00.log (513.1 KB)](https://discussion.mcebuddy2x.com/uploads/short-url/85B30rszbhaaj8bXqHJO4sUOStR.log)

---

<div class="post-metadata">

### Author: ![RBoy](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/r/2bfe46/32.png) [@RBoy](https://discussion.mcebuddy2x.com/u/RBoy)
#### Post date: [July 8, 2019, 1:53pm UTC](https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938/2 "2019-07-08T13:53:40Z")

</div>

I dont’ see any obvious errors in your video recording but do I see that there’s an sync delay between your video and audio streams defined in the container:

> 2019-07-08T07:13:39 MCEBuddy.VideoProperties.VideoInfo → Audio Delay : -1.008

Since your profile has disabled delay correction, MCEBuddy doesn’t do anything:

> → ffmpeg-audiodelay=skip

> 2019-07-08T07:13:48 MCEBuddy.Transcode.ConvertWithFfmpeg → Skip Audio Delay : skip

You can try to set the `ffmpeg-audiodelay` parameter to `auto` in your profile (see the [advanced commands](https://discussion.mcebuddy2x.com/t/mcebuddy-advanced-settings-commands-and-tweaking/30)) OR you can correct the sync yourself but setting the audio correction offset in the _Conversion Task → Expert Settings_ page

![image](https://discussion.mcebuddy2x.com/images/transparent.png)

> **\<encoder\>-AudioDelay=xxx/auto/skip** (v2.1.2-2.2.18, 2.2.19+)
> 
> > This parameter is set for each encoder type, e.g. `ffmpeg, mencoder or handbrake`
> 
> > When `xxx` is set to _skip_ then it tells MCEBuddy to skip auto correction of audio delay (sync). This is useful for some file formats such as AVI where audio gets skewed on auto correction.
> 
> > If this parameter is set to a numerical value, then this parameter is used to manually specify the audio delay correction to correct audio sync, `xxx` is a +ve or a -ve number in seconds.  
> > A value of 0 means that MCEBuddy will skip any delay correction.
> 
> > If the value is equal to _auto_ , it adds or subtracts the delay specified to the auto calculated audio delay for the video.
> 
> > By default this this parameter is set to _skip_ .
> > 
> > E.g. `mencoder-AudioDelay=0.85`

---

<div class="post-metadata">

### Author: ![Yonahinthewhale](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/y/48db29/32.png) [@Yonahinthewhale](https://discussion.mcebuddy2x.com/u/Yonahinthewhale)
#### Post date: [July 10, 2019, 11:22am UTC](https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938/3 "2019-07-10T11:22:08Z")

</div>

Thank you for the response. I didn’t notice the audio delay option. However I would like to know how to do the auto delay correction but again I’m not a programmer and I wouldn’t even know how to get to the code line in order the change it. would you be able to give me a quick walkthrough on how to do it? I mostly want this in case I want to change settings without having to figure out exactly how much delay there is every time. Thank you again so much

---

<div class="post-metadata">

### Author: ![Goose](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/g/5f9b8f/32.png) [@Goose](https://discussion.mcebuddy2x.com/u/Goose)
#### Post date: [July 10, 2019, 1:44pm UTC](https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938/4 "2019-07-10T13:44:52Z")

</div>

It’s quite straightforward. Open the MCEBuddy installation directory, in there open the _config_ folder and then open the file `profiles.conf`

Find the section for the profile you’re using (e.g. _MP4 Unprocessed_) and change  
`ffmpeg-audiodelay=skip`  
to  
`ffmpeg-audiodelay=auto`

If that line doesn’t exist, then add it.

---

<div class="post-metadata">

### Author: ![Yonahinthewhale](https://discussion.mcebuddy2x.com/letter_avatar_proxy/v4/letter/y/48db29/32.png) [@Yonahinthewhale](https://discussion.mcebuddy2x.com/u/Yonahinthewhale)
#### Post date: [July 12, 2019, 2:02am UTC](https://discussion.mcebuddy2x.com/t/audio-out-of-sync/2938/5 "2019-07-12T02:02:35Z")

</div>

I was able to find and change but it didn’t work. Thanks you ever so much for your help and I will just change it manually.
