[Mplayer-users] Fast-forward causing A/V de-sync

Richard Mosquera rmosquera at btinternet.com
Fri Aug 31 12:55:05 CEST 2001


have you tried -bps ?

----- Original Message ----- 
From: "Niklas Karlsson" <anksil at telia.com>
To: <mplayer-users at lists.sourceforge.net>
Sent: Thursday, August 30, 2001 7:12 PM
Subject: [Mplayer-users] Fast-forward causing A/V de-sync


> Hello,
> 
> I'm using MPlayer CVS-010827-16:28, and I seem to consistently have the
> problem that audio and video get de-synced if I use the fast-forward or
> rewind functions. This occurs in all DivX files I've been able to get my
> hands on, both broken and un-broken ones (e.g. both with and without
> using the -idx option). The audio track seems to get fast-forwarded
> slower than the video, e.g. actors' mouths move first, then the speech
> comes several seconds later.
> 
> I'm using a Debian 2.2 system, with some changes, as noted below.
> 
> Kernel version: Linux nestor 2.4.3 #13 SMP Wed May 9 13:08:20 CEST 2001
> i686 unknown
> 
> libc version:
> -rwxr-xr-x    1 root     root       887712 Sep  1  2000
> /lib/libc-2.1.3.so
> lrwxrwxrwx    1 root     root           14 Nov 23  2000 /lib/libc.so.5
> -> libc.so.5.4.46
> -rw-r--r--    1 root     root       586720 Feb  9  1999
> /lib/libc.so.5.4.46
> lrwxrwxrwx    1 root     root           13 Nov 22  2000 /lib/libc.so.6
> -> libc-2.1.3.so
> 
> 
> X version:
> XFree86 Version 4.0.99.2 / X Window System
> (protocol Version 11, revision 0, vendor release 6510)
> Release Date: 6 April 2001
> 
> (I installed this pre-release version of X in order to get DRI working
> with my ATI Rage 128 Pro graphics card.)
> 
> GCC and ld versions:
> gcc version 2.95.2 20000220 (Debian GNU/Linux)
> GNU ld version 2.10.1 (with BFD 2.10.1)
> 
> Binutils version:
> GNU assembler 2.10.1
> 
> CPU info:
> processor : 0
> vendor_id : GenuineIntel
> cpu family : 6
> model : 8
> model name : Pentium III (Coppermine)
> stepping : 3
> cpu MHz : 731.498
> cache size : 256 KB
> fdiv_bug : no
> hlt_bug : no
> f00f_bug : no
> coma_bug : no
> fpu : yes
> fpu_exception : yes
> cpuid level : 2
> wp : yes
> flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat
> pse36 mmx fxsr sse
> bogomips : 1458.17
> 
> Video card:
> ATI Rage 128 Pro PF (AGP)
> 
> Video driver:
> ATI: ATI driver (version 6.3.1) for chipsets: ati, ativga
> DRI from X 4.0.99.2
> 
> Sound card:
> Sound Blaster 16 PCI
> Creative Ensoniq AudioPCI 97 driver
> 
> lspci output on sound card:
> 00:0a.0 Multimedia audio controller: Ensoniq: Unknown device 5880 (rev
> 02)
> Subsystem: Ensoniq: Unknown device 2000
> Flags: bus master, slow devsel, latency 32, IRQ 3
> I/O ports at c000 [size=64]
> Capabilities: [dc] Power Management version 1
> 
> Verbose mplayer output:
> 
> MPlayer CVS-010827-16:28(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)
> 
> CommandLine: '-v' '-vo' 'xv' '-idx' 'Dune.avi'
> num_filenames: 1
> Reading /home/niklas/.mplayer/codecs.conf: 16 audio & 36 video codecs
> font: can't open file: /home/niklas/.mplayer/font/font.desc
> font: can't open file: /usr/share/mplayer/font/font.desc
> Playing Dune.avi
> File size is 724407732 bytes
> Detected AVI file format!
> ======= AVI Header =======
> us/frame: 41667  (fps=24.000)
> max bytes/sec: 211986
> padding: 0
> MainAVIHeader.dwFlags: (2064) HAS_INDEX TRUST_CKTYPE
> frames  total: 589243   initial: 0
> streams: 2
> Suggested BufferSize: 58428
> Size:  720 x 272
> ==> Found video stream: 0
> ======= STREAM Header =======
> Type: vids   FCC: DIV4 (34564944)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 24/1 = 24.000
> Start: 0   Len: 196427
> Suggested BufferSize: 58428
> Quality 5000
> Sample size: 0
> found 'bih', 40 bytes of 40
> ======= VIDEO Format ======
>   biSize 40
>   biWidth 720
>   biHeight 272
>   biPlanes 1
>   biBitCount 24
>   biCompression 861292868='DIV3'
>   biSizeImage 587520
> ===========================
> ==> Found audio stream: 1
> ======= STREAM Header =======
> Type: auds   FCC:  (0)
> Flags: 0
> Priority: 0   Language: 0
> InitialFrames: 0
> Rate: 16000/1 = 16000.000
> Start: 0   Len: 392832000
> Suggested BufferSize: 16388
> Quality -1
> Sample size: 1
> found 'wf', 30 bytes of 20
> ======= WAVE Format =======
> Format Tag: 85 (0x55)
> Channels: 2
> Samplerate: 48000
> avg byte/sec: 16000
> Block align: 1
> bits/sample: 0
> cbSize: 12
> Found movie at 0x800 - 0x2B55AA78
> stream_seek: WARNING! Can't seek to 0x2B55AA78 !
> stream_seek: WARNING! Can't seek to 0x2B2DA000 !
> AVI: Generated index table for 203873 chunks!
> AVI index offset: 0
> Auto-selected AVI video ID = 0
> Auto-selected AVI audio ID = 1
> AVI: Searching for audio stream (id:1)
> XXX initial  v_pts=0.958  a_pos=0 (0.000) 
> AVI video length=332569456
> VIDEO:  [DIV3]  720x272  24bpp  24.00 fps  325.1 kbps (39.7 kbyte/s)
> [V] filefmt:3  fourcc:0x33564944  size:720x272  fps:24.00  ftime:=0.0417
> 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: 683
> mp3lib: Using SSE! optimized decore.
> AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 16000->192000
> Detected video codec: [divxds] drv:4 (DivX ;-) (MS MPEG-4 v3))
> Loading DLL: /usr/lib/win32/divx_c32.ax  OK
> Using DirectShow codec: divx_c32.ax
> Decoder is capable of YUV output ( flags 0x1 )
> m_bIsDivX=1
> INFO: Win32/DShow video codec init OK!
> VO: [xv] 720x272 => 720x272 Packed YUY2 
> VO: Description: X11/Xv
> VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
> video_out->init(720x272->720x272,flags=0,'MPlayer',0x32595559)
> vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
> vo: X11 running at 1024x768 depth: 16 (":0" => local display)
> Xvideo image format: 0x32595559 (YUY2) packed
> Xvideo image format: 0x59565955 (UYVY) packed
> Xvideo image format: 0x32315659 (YV12) planar
> Xvideo image format: 0x30323449 (I420) planar
> using Xvideo port 50 for hw scaling
> [xv] dcx: 159 dcy: 247 dx: 0 dy: 0 dw: 720 dh: 272
> INFO: Video OUT driver init OK!
> AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
> AO: Description: OSS/ioctl audio output
> AO: Author: A'rpi
> 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 48000 Hz samplerate (requested: 48000)
> audio_setup: frags: 128/128  (1024 bytes/frag)  free: 131072
> Start playing...
> 
> 
> 
> 
> (The seek errors are due to this run being made on a broken AVI.
> However, as I said, the problem also occurs with all non-broken AVIs
> I've tried it on.)
> 
> Regards,
> Niklas
> 
> -- 
>  Spammers. Can't live with them, can't flay them
> and throw them into a bath of coarse sea salt.
> 
> _______________________________________________
> Mplayer-users mailing list
> Mplayer-users at lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/mplayer-users


_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list