[MPlayer-users] big A/V syn problems

Lethal Weapon lethalwp at freegates.be
Tue Jul 16 01:47:01 CEST 2002


On Mon, 2002-07-15 at 23:10, Arpi wrote: 
> > ftp://mplayerhq.hu/MPlayer/incoming/!under_checking-2/allymcbealep1vf.avi 
> > && how-highfr.avi
> 
> how-highfr: sync seem sto be ok for me, but it needs -ni to work at all
with or without -ni, it doesn't change thing for me,
tried x11, xv, sdl,   with ffmpeg(cvs), odivx, divx, divxds 
Nothing seems to correct that sync problem (speech is like 5 or 10
seconds too early) 



> allymcbealep1vf.avi: plays ok, but has a constant ~1s a-v desync, but it's
> the problem of the file, both xine and aviplay plays it with same delay
>...
> Don't know why mplayer is playing with slower audio:
> maybe due to 48000Hz requested and only 44100Hz played?
> "
Yes, slower audio is fixed when i resample to 44100 
I also tried with, and without -aop, to see if sync was changed, but no.

If you really think there's no problem with this one, i'll upload you
some other files that are just in the same case



Redhat 7.3 running with a geforce4 ti4200; sb awe64
with an older gcc3 version

Linux little.lethalwp 2.4.18 #4 Tue Apr 9 03:39:46 CEST 2002 i686
unknown

-rwxr-xr-x    1 root     root      1260480 Apr 15 15:44
/lib/libc-2.2.5.so

lrwxrwxrwx    1 root     root           13 May  9 02:49 /lib/libc.so.6
-> libc-2.2.5.so

XFree86 Version 4.2.0 (Red Hat Linux release: 4.2.0-8) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.17-0.13smp i686 [ELF] 
Build Host: daffy.perf.redhat.com
 
Module Loader present
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.0.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --host=i386-redhat-linux
Thread model: posix
gcc version 3.0.2 20010905 (Red Hat Linux 7.1 3.0.1-3)
GNU ld version 2.11.93.0.2 20020207
GNU assembler 2.11.93.0.2 20020207
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms
of
the GNU General Public License.  This program has absolutely no
warranty.
This assembler was configured for a target of `i386-redhat-linux'.


Output of mplayer when running on how-high-fr:

MPlayer CVS-020715-20:18-3.0.2 (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

/home/lethalwp/.mplayer/config(3): option: vo
/home/lethalwp/.mplayer/config(3): parameter: xv
/home/lethalwp/.mplayer/config(6): option: osdlevel
/home/lethalwp/.mplayer/config(6): parameter: 0
/home/lethalwp/.mplayer/config(9): option: aop
/home/lethalwp/.mplayer/config(9): parameter: list=resample:fout=44100
Reading /home/lethalwp/.mplayer/codecs.conf: 36 audio & 103 video codecs
CommandLine: 'how.high-fr.avi' '-ni' '-v'
get_path('font/font.desc') -> '/home/lethalwp/.mplayer/font/font.desc'
Font /home/lethalwp/.mplayer/font/font.desc loaded successfully! (206
chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux's hardware RTC timing (1024Hz)
get_path('input.conf') -> '/home/lethalwp/.mplayer/input.conf'
Parsing input config file /home/lethalwp/.mplayer/input.conf
Input config file /home/lethalwp/.mplayer/input.conf parsed : 52 binds

Playing how.high-fr.avi
Not an URL!
File size is 729556992 bytes
Detected AVI file format!
list_end=0x2292
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (16) HAS_INDEX
frames  total: 133447   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  576 x 304
list_end=0x10F4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC: div3 (33766964)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 23976/1000 = 23.976
Start: 0   Len: 133447
Suggested BufferSize: 50309
Quality 10000
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 576
  biHeight 304
  biPlanes 1
  biBitCount 24
  biCompression 861292868='DIV3'
  biSizeImage 525312
===========================
Regenerating keyframe table for DIVX 3 video
list_end=0x2186
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 44100/1152 = 38.281
Start: 0   Len: 213066
Suggested BufferSize: 102945
Quality -1
Sample size: 0
found 'wf', 30 bytes of 20
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 44100
avg byte/sec: 15999
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=417
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
list_end=0x2292
list_end=0x22B6
hdr=Software  size=15
Software  : Nandub v1.0rc2
Broken chunk?  chunksize=1346  (id=JUNK)
list_end=0x2B279206
Found movie at 0x280C - 0x2B279206
Reading INDEX block, 346406 chunks for 133447 frames
Broken chunk?  chunksize=0  (id=idx1)
Reading INDEX block, 346406 chunks for 133447 frames
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x558C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
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=721019016
VIDEO:  [DIV3]  576x304  24bpp  23.98 fps  1036.3 kbps (126.5 kbyte/s)
[V] filefmt:3  fourcc:0x33564944  size:576x304  fps:23.98  ftime:=0.0417
Clip info: 
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/lethalwp/.mplayer/sub/'
Detected audio codec: [mp3] afm:1 (mp3lib MPEG layer-2, layer-3)
Initializing audio codec...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer
mp3lib: made decode tables with MMX optimization
init layer2&3 finished, tables done
mp3lib: using MMX optimized decore!
MPEG 1.0, Layer III, 44100 Hz 128 kbit Stereo, BPF: 418
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, sfmt: 0x10 (2 bps), ratio: 16000->176400 (128.0
kbit)
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Create window for WM detect ...
[x11] Detected wm is IceWM.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec: CPU flags: mmx mmxext sse
INFO: libavcodec init OK!
Detected video codec: [ffdivx] vfm:5 (FFmpeg DivX ;-) (MS MPEG-4 v3))
==========================================================================
vo_xv: get: XV_DOUBLE_BUFFER = 1
vo_xv: assume: XV_DOUBLE_BUFFER = 2000
vo_xv: get: XV_COLORKEY = 66046
vo_xv: assume: XV_COLORKEY = 31
vo_xv: get: XV_AUTOPAINT_COLORKEY = 1
vo_xv: assume: XV_AUTOPAINT_COLORKEY = 2000
vo_xv: get: XV_BRIGHTNESS = 0
vo_xv: assume: XV_BRIGHTNESS = 0
vo_xv: get: XV_CONTRAST = 4096
vo_xv: assume: XV_CONTRAST = 0
vo_xv: get: XV_SATURATION = 4096
vo_xv: assume: XV_SATURATION = 0
vo_xv: get: XV_HUE = 0
vo_xv: assume: XV_HUE = -1000
AO: [plugin] 44100Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: Plugin audio output
AO: Author: Anders
[pl_resample] Up=128, Down=128, True fout=44100.000000
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:  16/16  (4096 bytes/frag)  free:  65536
Start playing...
VDec: vo config request - 576 x 304 (preferred csp: Planar YV12)  
vo_debug: query(Planar YV12) returned 0x437 (i=0) 
Movie-Aspect is undefined - no prescaling applied.
video_out->init(576x304->576x304,flags=0,'MPlayer',0x32315659)
VO: [xv] 576x304 => 576x304 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
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 119 for hw scaling
vo_xv: reset gamma correction
[xv] dx: 0 dy: 0 dw: 576 dh: 304
Disabling DPMS
DPMSDisable stat: 1
*** [vo] Allocating mp_image_t, 576x304x12bpp YUV planar, 262656 bytes
[x11] Detected wm is IceWM.
[x11] Detected wm is IceWM.
[xv] dx: 0 dy: 0 dw: 576 dh: 304
SEEK: idx=698  (a:698 v:213397)  v.skip=0  a.skip=0/0.000   1.8% 0 0 0%
*** [vo] Allocating mp_image_t, 576x304x12bpp YUV planar, 262656 bytes
SEEK: idx=1397  (a:1397 v:213835)  v.skip=0  a.skip=0/0.000  .0% 0 0 0%
SEEK: idx=2096  (a:2096 v:214273)  v.skip=0  a.skip=0/0.000  .0% 0 0 0%
SEEK: idx=2807  (a:2807 v:214718)  v.skip=0  a.skip=0/0.000   0.0% 0 0
0%
SEEK: idx=3372  (a:3372 v:215072)  v.skip=0  a.skip=0/0.000   0.0% 0 0
0%
Successfully enabled DPMS.027 ct:  0.081  2132/2132   8% 11%  2.7% 0 0
0%
vo: uninit ...

Exiting... (Quit)






Greetz, 
     LtWp




More information about the MPlayer-users mailing list