Hello! I have a/v sync problems. More specific at the EoF. System-info: System: SuSE 7.2 Kernel: 2.4.17 libc: libc.so.6 X-Free86: 4.1.0 gcc: 2.95.3 ld: 2.10.91 as: 2.10.91 Hardware: /proc/cpuinfo: processor : 0 vendor_id : AuthenticAMD cpu family : 6 model : 4 model name : AMD Athlon(tm) Processor stepping : 4 cpu MHz : 1442.180 cache size : 256 KB fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 1 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow bogomips : 2877.03 Videocard: Gainward GF2 Pro/450 64 mb ddr Nvidia cs driver, 1.0-2314 kernel, 1.0-2313 GLX Sound: SB pci 128 with kernel OSS driver MPlayer -v output: MPlayer 0.60-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS!) CPU vendor name: AuthenticAMD max cpuid level: 1 CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 4) extended cpuid-level: 6 CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0 Compiled for x86 CPU with features: MMX MMX2 3DNow 3DNowEx Reading /home/chris/.mplayer/codecs.conf: can't open '/home/chris/.mplayer/codecs.conf': No such file or directory Reading /usr/local/share/mplayer/codecs.conf: 26 audio & 70 video codecs CommandLine: '-v' '-pp' '4' '-fs' '-ni' 'myfile.avi' num_filenames: 1 get_path('font/font.desc') -> '/home/chris/.mplayer/font/font.desc' font: can't open file: /home/chris/.mplayer/font/font.desc Linux RTC init: open: Permission denied Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars) Using usleep() timing Playing myfile.avi get_path('sub/') -> '/home/chris/.mplayer/sub/' Not an URL! File size is 31839528 bytes Detected AVI file format! ======= AVI Header ======= us/frame: 33367 (fps=29.970) max bytes/sec: 0 padding: 0 MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED frames total: 9314 initial: 0 streams: 0 Suggested BufferSize: 2 Size: 36637 x 336 ==> Found video stream: 0 ======= STREAM Header ======= Type: vids FCC: DIV3 (33564944) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 2997/100 = 29.970 Start: 0 Len: 9314 Suggested BufferSize: 0 Quality 36637 Sample size: -1 found 'bih', 40 bytes of 40 ======= VIDEO Format ====== biSize 40 biWidth 336 biHeight 224 biPlanes 1 biBitCount 24 biCompression 861292868='DIV3' biSizeImage 225792 =========================== Regenerating keyframe table for DIVX 3 video ==> Found audio stream: 1 ======= STREAM Header ======= Type: auds FCC: (0) Flags: 0 Priority: 0 Language: 0 InitialFrames: 0 Rate: 15963/1 = 15963.000 Start: 0 Len: 4957674 Suggested BufferSize: 0 Quality 3689 Sample size: 10000 found 'wf', 50 bytes of 20 ======= WAVE Format ======= Format Tag: 85 (0x55) Channels: 2 Samplerate: 44100 avg byte/sec: 15963 Block align: 1 bits/sample: 0 cbSize: 12 Found movie at 0x280C - 0x1E32E00 Reading INDEX block, 10866 chunks for 9314 frames AVI index offset: 10248 Auto-selected AVI video ID = 0 Auto-selected AVI audio ID = 1 Forced NON-INTERLEAVED AVI file-format! AVI: Searching for audio stream (id:1) XXX initial v_pts=0.000 a_pos=0 (0.000) AVI video length=26610810 VIDEO: [DIV3] 336x224 24bpp 29.97 fps 685.0 kbps (83.6 kbyte/s) [V] filefmt:3 fourcc:0x33564944 size:336x224 fps:29.97 ftime:=0.0334 Detected audio codec: [mp3] drv:1 (MPEG layer-2, layer-3) Initializing audio codec... dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer mp3lib: Processor ID: 644 mp3lib: Using AMD 3dnow-dsp(k7)! optimized decore. AUDIO: srate=44100 chans=2 bps=2 sfmt=0x10 ratio: 16000->176400 Detected video codec: [divxds] drv:4 prio:0 (DivX ;-) (MS MPEG-4 v3)) fs seg 0x40018000 Loading DLL: 'divx_c32.ax' get_path('registry') -> '/home/chris/.mplayer/registry' Using DirectShow codec: divx_c32.ax Decoder is capable of YUV output ( flags 0x9) INFO: Win32/DShow video codec init OK! Movie-Aspect is undefined - no prescaling applied. VO: [xv] 336x224 => 336x224 Packed YUY2 fs VO: Description: X11/Xv VO: Author: Gerd Knorr video_out->init(336x224->336x224,flags=1,'MPlayer',0x32595559) vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF) vo: X11 running at 1024x768 with depth 24 and 32 bits/pixel (":0.0" => local display) Xvideo image format: 0x32595559 (YUY2) packed Xvideo image format: 0x32315659 (YV12) planar Xvideo image format: 0x59565955 (UYVY) packed Xvideo image format: 0x30323449 (I420) planar using Xvideo port 52 for hw scaling [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 [xv-fs] dcx: 0 dcy: 43 dx: 0 dy: 43 dw: 1024 dh: 682 Disabling DPMS stat: 1 INFO: Video OUT driver init OK! AO: [oss] 44100Hz Stereo Signed 16-bit (Little-Endian) AO: Description: OSS/ioctl audio output AO: Author: A'rpi ao2: 44100 Hz 2 chans Signed 16-bit (Little-Endian) audio_setup: using '/dev/dsp' dsp device audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian)) audio_setup: using 2 channels (requested: 2) audio_setup: using 44100 Hz samplerate (requested: 44100) audio_setup: frags: 128/128 (1024 bytes/frag) free: 131072 Start playing... Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay [xv] dcx: 0 dcy: 0 dx: 0 dy: 0 dw: 1024 dh: 768 [xv-fs] dcx: 0 dcy: 43 dx: 0 dy: 43 dw: 1024 dh: 682 A: -0.4 V: 0.0 A-V: -0.358 ct: 0.000 1/ 1 0% 0% 0.0% 0 0 0% A: -0.7 V: 0.0 A-V: -0.728 ct: -0.003 2/ 2 0% 0% 0.0% 0 0 0% A: -0.7 V: 0.1 A-V: -0.773 ct: -0.007 3/ 3 0% 0% 0.0% 0 0 0% A: A-V:-36.507 ct: -3.580 1074/1074 12% 2% 2.0% 0 0 0% A: -0.7 V: 35.8 A-V:-36.553 ct: -3.584 1075/1075 12% 2% 2.0% 0 0 0% A: -0.7 V: 35.9 A-V:-36.582 ct: -3.587 1076/1076 12% 2% 2.0% 0 0 0% A: -0.7 V: 35.9 A-V:-36.602 ct: -3.590 1077/1077 12% 2% 2.0% 0 0 0% A: -0.7 V: 35.9 A-V:-36.647 ct: -3.594 1078/1078 12% 2% 2.0% 0 0 0% A: -0.7 V: 36.0 A-V:-36.677 ct: -3.597 1079/1079 12% 2% 2.0% 0 0 0% A: -0.7 V: 36.0 ----------- CUT ----------------------------- A-V:-43.489 ct: -4.278 1283/1283 12% 2% 2.3% 0 0 0% A: -0.7 V: 42.8 A-V:-43.509 ct: -4.281 1284/1284 12% 2% 2.3% 0 0 0% A: -0.7 V: 42.8 A-V:-43.565 ct: -4.284 1285/1285 12% 2% 2.3% 0 0 0% A: -0.7 V: 42.9 A-V:-43.584 ct: -4.288 1286/1286 12% 2% 2.3% 0 0 0% A: -0.7 V: 42.9 A-V:-43.630 ct: -4.291 1287/1287 12% 2% 2.3% 0 0 0% Successfully enabled DPMS *** free_stream() called *** Exiting... (Quit) max framesize was 14486 bytes The problem is, that a/v-sync is not correct. I encoded this and a few other files with flskMPEG 0.6. Only these files are broken. Others work fine. Using previous versions of MPlayer (0.17, 0.18, 0.50) these files play correctly. I played with -bps -ni -ao -ac -aid -abs -softsleep -mc -nobps options, but nothing helped. CVS (20020107)did not work, too. Other .avi work fine.