Advanced Search
Welcome to Omgili,
Omgili (Oh My God I Love It ;) is a search engine for discussions. With Omgili you can find answers and solutions, debates, discussions, personal experiences, opinions and more... To learn more about Omgili click here.

This is a complete preview of the discussion as it was indexed by Omgili crawlers. Use this preview if the original discussion is unavailable.
Click here to view the original discussion.

The VideoLAN Forums • View topic - Sound delay when playing some AVIs

I have searched the list. I play Recorded TV AVIs the suffer about 1-2 seconds of delay of sound to video.

Just enough to be very anoying.

I most often use VLC (0.7.0) on my G4-400 Mac runing 10.3.1 I tested that the files run fine under Windows Media Player, yet suffer about 1 sec delay in sound for VLC under Windows as well. Follows the debug info from my Mac: dvdread warning: dvdread module discarded (not a valid source) dvd warning: dvd module discarded (not a valid block device) vcd debug: trying .cue file: /Users/petergun/Desktop/angel.511.hdtv-lol.[BT].cue vcd warning: could not open /Users/petergun/Desktop/angel.511.hdtv-lol.[BT].avi cdda debug: trying .cue file: /Users/petergun/Desktop/angel.511.hdtv-lol.[BT].cue cdda warning: could not open /Users/petergun/Desktop/angel.511.hdtv-lol.[BT].avi access_file debug: opening file `/Users/petergun/Desktop/angel.511.hdtv-lol.[BT].avi' main debug: using access module "access_file" main debug: looking for demux module main debug: probing 19 candidates mp4 warning: MP4 plugin discarded (not a valid file) avi debug: Found Chunk fourcc:52494646 (RIFF) size:329864406 pos:0 avi debug: found LIST chunk: 'AVI ' avi debug: <list 'AVI '> avi debug: Found Chunk fourcc:4c495354 (LIST) size:8838 pos:12 avi debug: found LIST chunk: 'hdrl' avi debug: <list 'hdrl'> avi debug: Found Chunk fourcc:61766968 (avih) size:56 pos:24 avi debug: avih: streams:2 flags: HAS_INDEX IS_INTERLEAVED 640x352 avi debug: Found Chunk fourcc:4c495354 (LIST) size:4248 pos:88 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: Found Chunk fourcc:73747268 (strh) size:56 pos:100 avi debug: strh: type:vids handler:0x78766964 samplesize:0 23.98fps avi debug: Found Chunk fourcc:73747266 (strf) size:40 pos:164 avi debug: strf: video:XVID 640x352 planes:1 12bpp avi debug: Found Chunk fourcc:4a554e4b (JUNK) size:4124 pos:212 avi debug: </list 'strl'> avi debug: Found Chunk fourcc:4c495354 (LIST) size:4238 pos:4344 avi debug: found LIST chunk: 'strl' avi debug: <list 'strl'> avi debug: Found Chunk fourcc:73747268 (strh) size:56 pos:4356 avi debug: strh: type:auds handler:0x samplesize:0 41.67fps avi debug: Found Chunk fourcc:73747266 (strf) size:30 pos:4420 avi debug: strf: audio:0x0055 channels:2 48000Hz 0bits/sample 173kb/s avi debug: Found Chunk fourcc:4a554e4b (JUNK) size:4124 pos:4458 avi debug: </list 'strl'> avi debug: Found Chunk fourcc:4c495354 (LIST) size:260 pos:8590 avi debug: found LIST chunk: 'odml' avi debug: <list 'odml'> avi debug: Found Chunk fourcc:646d6c68 (dmlh) size:248 pos:8602 avi warning: unknown chunk (not loaded) avi debug: </list 'odml'> avi debug: </list 'hdrl'> avi debug: Found Chunk fourcc:4c495354 (LIST) size:68 pos:8858 avi debug: found LIST chunk: 'INFO' avi debug: <list 'INFO'> avi debug: Found Chunk fourcc:49534654 (ISFT) size:5 pos:8870 avi debug: ISFT: software : HUH? avi debug: Found Chunk fourcc:494e414d (INAM) size:1 pos:8884 avi debug: INAM: name : avi debug: Found Chunk fourcc:4953424a (ISBJ) size:1 pos:8894 avi debug: ISBJ: subject : avi debug: Found Chunk fourcc:49415254 (IART) size:1 pos:8904 avi debug: IART: artist : avi debug: Found Chunk fourcc:49434f50 (ICOP) size:1 pos:8914 avi debug: ICOP: copyright : avi debug: Found Chunk fourcc:49434d54 (ICMT) size:1 pos:8924 avi debug: ICMT: comments : avi debug: </list 'INFO'> avi debug: Found Chunk fourcc:4a554e4b (JUNK) size:1298 pos:8934 avi debug: Found Chunk fourcc:4c495354 (LIST) size:327175646 pos:10240 avi debug: Skipping movi chunk avi debug: Found Chunk fourcc:69647831 (idx1) size:2678512 pos:327185894 avi debug: idx1: index entry:167407 avi debug: </list 'AVI '> avi debug: Found Chunk fourcc:4a554e4b (JUNK) size:794 pos:329864414 avi debug: * LIST-root size:329865216 pos:0 avi debug: + RIFF-AVI size:329864406 pos:0 avi debug: | + LIST-hdrl size:8838 pos:12 avi debug: | | + avih size:56 pos:24 avi debug: | | + LIST-strl size:4248 pos:88 avi debug: | | | + strh size:56 pos:100 avi debug: | | | + strf size:40 pos:164 avi debug: | | | + JUNK size:4124 pos:212 avi debug: | | + LIST-strl size:4238 pos:4344 avi debug: | | | + strh size:56 pos:4356 avi debug: | | | + strf size:30 pos:4420 avi debug: | | | + JUNK size:4124 pos:4458 avi debug: | | + LIST-odml size:260 pos:8590 avi debug: | | | + dmlh size:248 pos:8602 avi debug: | + LIST-INFO size:68 pos:8858 avi debug: | | + ISFT size:5 pos:8870 avi debug: | | + INAM size:1 pos:8884 avi debug: | | + ISBJ size:1 pos:8894 avi debug: | | + IART size:1 pos:8904 avi debug: | | + ICOP size:1 pos:8914 avi debug: | | + ICMT size:1 pos:8924 avi debug: | + JUNK size:1298 pos:8934 avi debug: | + LIST-movi size:327175646 pos:10240 avi debug: | + idx1 size:2678512 pos:327185894 avi debug: + JUNK size:794 pos:329864414 avi debug: AVIH: 2 stream, flags HAS_INDEX IS_INTERLEAVED avi debug: stream[0] rate:24000 scale:1001 samplesize:0 avi debug: stream[0] video(XVID) 640x352 12bpp 23.976025fps avi debug: stream[1] rate:48000 scale:1152 samplesize:0 avi debug: stream[1] audio(0x55) 2 channels 48000Hz 0bits avi debug: stream[0] created 61152 index entries avi debug: stream[1] created 106255 index entries avi debug: stream[0] length:2550 (based on index) avi debug: stream[1] length:2550 (based on index) main debug: using demux module "avi" main debug: found a possible subtitle: makeOBSD34.txt main debug: found a possible subtitle: OBSD3.4 port info.txt main debug: selecting ES 0x1 main debug: looking for decoder module main debug: probing 19 candidates ffmpeg debug: libavcodec initialized (interface 4680 ) ffmpeg debug: postprocessing disabled ffmpeg debug: using direct rendering ffmpeg debug: ffmpeg codec (MPEG-4) started main debug: using decoder module "ffmpeg" main debug: thread 35301888 (decoder) created at priority -47 (src/input/input_dec.c:166) main debug: selecting ES 0x2 main debug: looking for decoder module main debug: probing 19 candidates main debug: using decoder module "mpeg_audio" main debug: thread 35311616 (decoder) created at priority 37 (src/input/input_dec.c:166) avi debug: old:0 <

New 0 avi debug: old:0 <

New 0 main debug: no usable vout present, spawning one main debug: looking for video output module main debug: probing 5 candidates mpeg_audio: MPGA channels:2 samplerate:48000 bitrate:128 main debug: no aout present, spawning one main debug: looking for audio output module main debug: probing 3 candidates macosx debug: stream has changed, refreshing interface main debug: using video output module "macosx" main debug: looking for text renderer module main debug: probing 3 candidates freetype debug: Using fontsize: 22 main debug: using text renderer module "freetype" main debug: waiting for thread completion main debug: got 8 direct buffer(s) main debug: picture in 640x352, chroma 0x49343230 (I420), aspect ratio 130909:72000 main debug: picture out 640x352, chroma 0x49343230 (I420), aspect ratio 130909:72000 main debug: direct render, mapping render pictures 0-6 to system pictures 1-7 main debug: thread 35381760 (video output) created at priority 37 (src/video_output/video_output.c:471) main warning: late picture skipped (84744) main warning: late picture skipped (53541) main warning: late picture skipped (11871) coreaudio debug: system has [1] device(s) coreaudio debug: device [0] has name [Built-in Audio] coreaudio debug: device [0] has [1] streams coreaudio debug: supported format: [44100][lpcm][30][4][1][4][2][16] coreaudio debug: getting device [0] coreaudio debug: stream format: [44100][lpcm][30][4][1][4][2][16] coreaudio debug: setting format: [44100][lpcm][30][4][1][4][2][16] coreaudio debug: using format: [44100][lpcm][11][8][1][8][2][32] coreaudio debug: device buffer size: [4096] main debug: using audio output module "coreaudio" main debug: output 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes main debug: no need for any filter main debug: looking for audio mixer module main debug: probing 3 candidates main debug: using audio mixer module "trivial_mixer" main debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/969 bytes main debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module main debug: probing 22 candidates main debug: using audio filter module "mpgatofixed32" main debug: found a filter for the whole conversion main debug: filter(s) 'fl32'->'fl32' 52800 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module main debug: probing 22 candidates main debug: looking for audio filter module main debug: probing 22 candidates main debug: using audio filter module "ugly_resampler" main debug: using audio filter module "coreaudio_resampler" main debug: found a filter for the whole conversion main warning: PTS is out of range (352438), dropping buffer main warning: PTS is out of range (328498), dropping buffer main warning: PTS is out of range (304522), dropping buffer main warning: PTS is out of range (280545), dropping buffer main warning: PTS is out of range (256567), dropping buffer main warning: PTS is out of range (232591), dropping buffer main warning: PTS is out of range (208613), dropping buffer main warning: PTS is out of range (184635), dropping buffer main warning: PTS is out of range (160710), dropping buffer main warning: PTS is out of range (136736), dropping buffer main warning: PTS is out of range (112760), dropping buffer main warning: PTS is out of range (88783), dropping buffer main warning: PTS is out of range (64843), dropping buffer main warning: PTS is out of range (40867), dropping buffer main warning: PTS is out of range (16890), dropping buffer main warning: PTS is out of range (-7088), dropping buffer main warning: PTS is out of range (-31031), dropping buffer mpgatofixed32 warning: libmad error: bad main_data_begin pointer coreaudio_resampler warning: AudioConverterConvertBuffer failed: [sz\¿] (8472:0) main warning: late picture skipped (238877) main warning: late picture skipped (197211) main warning: late picture skipped (155507) main warning: late picture skipped (113802) main warning: late picture skipped (72108) main warning: late picture skipped (30402) main warning: late picture skipped (8842) main debug: cmd=state old=1 new=2 main debug: toggling pause

This problem is probably fixed in the development version.. it sounds awful familiar to the problems with the pdtv hdtv rips.

Don't use PMs for support questions.

The Quote: : This problem is probably fixed in the development version.. it sounds awful familiar to the problems with the pdtv hdtv rips. I guess I'll have to compile it all then, unless a 0.7.1 is around the corner ?

Should be out in a few weeks.

Don't use PMs for support questions.

Discussion Title: Sound delay when playing some AVIs
Title Keywords: VideoLAN  Forums  View  topic  Sound  delay  when  playing  some  AVIs