Playing .avi files: sound is always +150ms out of sync.

macOS specific usage questions
meemorize
New Cone
New Cone
Posts: 5
Joined: 07 May 2009 10:44

Playing .avi files: sound is always +150ms out of sync.

Postby meemorize » 07 May 2009 10:49

I recently upgraded to the latest version of the VLC player and have noticed that every .avi (xvid encoded) file I play is consistently +150ms out of sync. I then downgraded back for 0.7.x and the problem went away, now I have upgraded back to the latest and the problem is there again, so I am guessing it is either a configuration issue or something inside the VLC Player. (I always deleted the preference files created by the previous installation of VLC)

If anyone has experienced something similar and has a fix or workaround that does not include pushing 'g' 3 times every time i play a video I would be delighted to hear about it.

Thanks for reading.
M.

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: Playing .avi files: sound is always +150ms out of sync.

Postby ajmas » 07 May 2009 13:12

If anyone has experienced something similar and has a fix or workaround that does not include pushing 'g' 3 times every time i play a video I would be delighted to hear about it.
Please let us know your configuration (Mac model + OS version) and what you see in the VLC messages window.
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.

meemorize
New Cone
New Cone
Posts: 5
Joined: 07 May 2009 10:44

Re: Playing .avi files: sound is always +150ms out of sync.

Postby meemorize » 07 May 2009 13:42

I am running Mac OS X (10.5.6) on a
Mac Pro (2008)
nVidia 8800GT 512MB
16GB DDR2-800 RAM
4TB Hard drives

The following is from the Messages log:

Code: Select all

http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/dialogs http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/browse (url=/dialogs/browse) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/footer (url=/dialogs/footer) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/input (url=/dialogs/input) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/main (url=/dialogs/main) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/mosaic (url=/dialogs/mosaic) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/playlist (url=/dialogs/playlist) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/sout (url=/dialogs/sout) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/dialogs/vlm (url=/dialogs/vlm) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/favicon.ico (url=/favicon.ico) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/flash.html (url=/flash.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/iehacks.css (url=/iehacks.css) http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/images http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/delete.png (url=/images/delete.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/delete_small.png (url=/images/delete_small.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/eject.png (url=/images/eject.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/empty.png (url=/images/empty.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/fullscreen.png (url=/images/fullscreen.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/help.png (url=/images/help.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/info.png (url=/images/info.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/loop.png (url=/images/loop.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/minus.png (url=/images/minus.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/next.png (url=/images/next.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/pause.png (url=/images/pause.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/play.png (url=/images/play.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/playlist.png (url=/images/playlist.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/playlist_small.png (url=/images/playlist_small.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/plus.png (url=/images/plus.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/prev.png (url=/images/prev.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/refresh.png (url=/images/refresh.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/repeat.png (url=/images/repeat.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/sd.png (url=/images/sd.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/shuffle.png (url=/images/shuffle.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/slider_bar.png (url=/images/slider_bar.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/slider_left.png (url=/images/slider_left.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/slider_point.png (url=/images/slider_point.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/slider_right.png (url=/images/slider_right.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/slow.png (url=/images/slow.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/snapshot.png (url=/images/snapshot.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/sort.png (url=/images/sort.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/sout.png (url=/images/sout.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/speaker.png (url=/images/speaker.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/speaker_mute.png (url=/images/speaker_mute.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/stop.png (url=/images/stop.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/vlc16x16.png (url=/images/vlc16x16.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/volume_down.png (url=/images/volume_down.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/volume_up.png (url=/images/volume_up.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/white.png (url=/images/white.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/images/white_cross_small.png (url=/images/white_cross_small.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/index.html (url=/) http debug: redir= -> / http debug: redir=/index.html -> / http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/js http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/js/functions.js (url=/js/functions.js) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/js/mosaic.js (url=/js/mosaic.js) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/js/vlm.js (url=/js/vlm.js) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/mosaic.html (url=/mosaic.html) http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/old main debug: find .hosts in dir=/Applications/VLC.app/Contents/MacOS/share/http/old/.hosts main debug: restricted to ::1 main debug: restricted to 127.0.0.1 main debug: restricted to ::/0 main debug: restricted to 0.0.0.0/0 http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/old/admin http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/admin/browse.html (url=/old/admin/browse.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/admin/dboxfiles.html (url=/old/admin/dboxfiles.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/admin/index.html (url=/old/admin/) http debug: redir=/old/admin -> /old/admin/ http debug: redir=/old/admin/index.html -> /old/admin/ http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/cone_minus.png (url=/old/cone_minus.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/cone_plus.png (url=/old/cone_plus.png) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/index.html (url=/old/) http debug: redir=/old -> /old/ http debug: redir=/old/index.html -> /old/ http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/info.html (url=/old/info.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/style.css (url=/old/style.css) http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/old/vlm http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/vlm/edit.html (url=/old/vlm/edit.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/vlm/index.html (url=/old/vlm/) http debug: redir=/old/vlm -> /old/vlm/ http debug: redir=/old/vlm/index.html -> /old/vlm/ http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/vlm/new.html (url=/old/vlm/new.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/vlm/show.html (url=/old/vlm/show.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/old/webcam.html (url=/old/webcam.html) http debug: dir=/Applications/VLC.app/Contents/MacOS/share/http/requests http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/requests/browse.xml (url=/requests/browse.xml) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/requests/playlist.xml (url=/requests/playlist.xml) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/requests/readme.txt (url=/requests/readme.txt) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/requests/status.xml (url=/requests/status.xml) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/requests/vlm.xml (url=/requests/vlm.xml) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/requests/vlm_cmd.xml (url=/requests/vlm_cmd.xml) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/style.css (url=/style.css) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/vlm.html (url=/vlm.html) http debug: file=/Applications/VLC.app/Contents/MacOS/share/http/vlm_export.html (url=/vlm_export.html) main debug: using interface module "http" main debug: TIMER module_Need() : 3.667 ms - Total 3.667 ms / 1 intvls (Avg 3.667 ms) main debug: thread 2955980800 (interface) created at priority 0 (interface/interface.c:168) main debug: thread started main debug: looking for interface module: 1 candidate main debug: using interface module "hotkeys" main debug: TIMER module_Need() : 0.374 ms - Total 0.374 ms / 1 intvls (Avg 0.374 ms) main debug: thread 2956513280 (interface) created at priority 0 (interface/interface.c:168) main debug: thread started main debug: looking for interface module: 17 candidates main debug: using interface module "signals" main debug: TIMER module_Need() : 0.701 ms - Total 0.701 ms / 1 intvls (Avg 0.701 ms) main debug: thread 2957578240 (interface) created at priority 0 (interface/interface.c:168) main debug: thread started main: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. main debug: looking for interface module: 4 candidates main debug: using interface module "macosx" main debug: TIMER module_Need() : 21.325 ms - Total 21.325 ms / 1 intvls (Avg 21.325 ms) main debug: thread 2958110720 (interface) created at priority 0 (interface/interface.c:148) main debug: thread started main debug: no fetch required for Playlist (art currently (null)) main debug: adding item `Csi- Ny - S05E23 - Greater Good.avi' ( /Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi ) main debug: rebuilding array of current - root Playlist main debug: rebuild done - 1 items, index -1 main debug: starting new item main debug: processing request item Csi- Ny - S05E23 - Greater Good.avi node Playlist skip 0 main debug: resyncing on Csi- Ny - S05E23 - Greater Good.avi main debug: Csi- Ny - S05E23 - Greater Good.avi is at 0 main debug: creating new input thread main debug: Creating an input for 'Csi- Ny - S05E23 - Greater Good.avi' main debug: waiting for thread initialization main debug: thread started main debug: thread 2964037632 (input) created at priority 22 (input/input.c:370) main debug: `/Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi' gives access `' demux `' path `/Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi' main debug: creating demux: access='' demux='' path='/Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi' main debug: looking for access_demux module: 2 candidates main debug: no fetch required for Playlist (art currently (null)) main debug: TIMER module_Need() : 2.318 ms - Total 2.318 ms / 1 intvls (Avg 2.318 ms) main debug: creating access '' path='/Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi' main debug: looking for access module: 8 candidates vcd debug: trying .cue file: /Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.cue vcd debug: could not find .cue file access_file debug: opening file `/Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi' main debug: using access module "access_file" main debug: TIMER module_Need() : 2.665 ms - Total 2.665 ms / 1 intvls (Avg 2.665 ms) main debug: Using AStream*Stream main debug: pre-buffering... main debug: received first data for our buffer main debug: pre-buffering done 1408981 bytes in 0s - 504568 kbytes/s main debug: creating demux: access='' demux='' path='/Volumes/Storage/Usenet/TV/Csi- Ny/Season 5/Csi- Ny - S05E23 - Greater Good.avi' main debug: looking for demux module: 59 candidates avi debug: found Chunk fourcc:46464952 (RIFF) size:366861096 pos:0 avi debug: found LIST chunk: 'AVI ' avi debug: <list 'AVI '> avi debug: found Chunk fourcc:5453494c (LIST) size:306 pos:12 avi debug: found LIST chunk: 'hdrl' avi debug: <list 'hdrl'> avi debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 624x352 avi debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 avi debug: strh: type:vids handler:0x44495658 samplesize:0 23.98fps avi debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 avi debug: strf: video:XVID 624x352 planes:1 24bpp avi debug: </list 'strl'> avi debug: found Chunk fourcc:5453494c (LIST) size:106 pos:212 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 avi debug: strh: type:auds handler:0x00000000 samplesize:0 41.67fps avi debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 avi debug: strf: audio:0x0055 channels:2 48000Hz 16bits/sample 125kb/s avi debug: </list 'strl'> avi debug: </list 'hdrl'> avi debug: found Chunk fourcc:5453494c (LIST) size:28 pos:326 avi debug: found LIST chunk: 'INFO' avi debug: <list 'INFO'> avi debug: found Chunk fourcc:54465349 (ISFT) size:16 pos:338 avi debug: ISFT: software : transcode-1.0.4 avi debug: </list 'INFO'> avi debug: found Chunk fourcc:4b4e554a (JUNK) size:1666 pos:362 avi debug: found Chunk fourcc:5453494c (LIST) size:364136044 pos:2036 avi debug: skipping movi chunk avi debug: found Chunk fourcc:31786469 (idx1) size:2723008 pos:364138088 macosx debug: notification received in VLC with name VLCOSXGUIInit and object VLCEyeTVSupport avi debug: idx1: index entry:170188 avi debug: </list 'AVI '> avi debug: * LIST-root size:366861104 pos:0 avi debug: + RIFF-AVI size:366861096 pos:0 avi debug: | + LIST-hdrl size:306 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:116 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:40 pos:164 avi debug: | | + LIST-strl size:106 pos:212 avi debug: | | | + strh size:56 pos:224 avi debug: | | | + strf size:30 pos:288 avi debug: | + LIST-INFO size:28 pos:326 avi debug: | | + ISFT size:16 pos:338 avi debug: | + JUNK size:1666 pos:362 avi debug: | + LIST-movi size:364136044 pos:2036 avi debug: | + idx1 size:2723008 pos:364138088 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED message warning: message queue overflowed
Thanks for looking into this.
M.

meemorize
New Cone
New Cone
Posts: 5
Joined: 07 May 2009 10:44

Re: Playing .avi files: sound is always +150ms out of sync.

Postby meemorize » 18 May 2009 13:31

nothing at all?

i have reverted back to v0.8.6i which does not have this issue but i was hoping that this would not be the 'solution' for this.

M.

ajmas
Big Cone-huna
Big Cone-huna
Posts: 935
Joined: 04 Feb 2006 07:33
VLC version: 3.0.x
Operating System: MacOS X
Location: Montreal, Canada

Re: Playing .avi files: sound is always +150ms out of sync.

Postby ajmas » 18 May 2009 15:49

Have you tried a nightly to see if it resolves the issue. I believe the latest 'nightly' is actually a release candidate:

http://nightlies.videolan.org/

Get the file labelled 'latest' in in the section for your OS and add the .zip extension.
Providing logs, messages, configuration info (VLC, OS, Hardware) and a clear explanation of the issue always helps the problem solvers help you, even if they don't end up solving the issue. Just think what you would need if you were solving someone else's problem. Additional: Always looking for eager and capable MacOS X developers to join the VLC team - for more information see here.


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 17 guests